Repository navigation
Add opt-in same-Pod Python UDF workers - #621
Open
iamlinjunhong wants to merge 31 commits into
Open
iamlinjunhong wants to merge 31 commits into
iamlinjunhong wants to merge 31 commits into
Conversation
iamlinjunhong
force-pushed
the
m-28132-operator
branch
from
September 20, 2026 09:06
3e88dc9 to
6fdf04c
Compare
iamlinjunhong
force-pushed
the
m-28132-operator
branch
from
November 30, 2026 08:19
6fdf04c to
6bfb8f6
Compare
iamlinjunhong
marked this pull request as ready for review
November 30, 2026 08:19
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
Contributor
|
Tick the box to add this pull request to the merge queue (same as
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds opt-in Operator support for the typed Python UDF runtime merged in matrixorigin/matrixone#29152. Fixes #629.
Validation
./pkg/...and API module tests, and ran vet in both modules. Re-generated the CRDs and deepcopy output, verified Helm packaging, and exercised the installed webhooks.matrixorigin/matrixone:nightly-3d3f579eCN image and a worker built from the same MatrixOne commit.CI repair validation (2026-12-01)
42a525135b5116b2deb174c6af82e3be300fc772synchronizes the direct protobuf dependency and keeps TN/LogSet dependencies alive until both test CNSets and their Pods finish teardown. This addresses the tidy-induced dirty-tree failure and the CN teardown timeout with missing LogSet errors, exposed by the corrected CloneSet drain lookup.make verifypassed, including API/root tests, Kubernetes 1.24.1 envtest webhook integration, generation, docs, module tidy, Chart checks and the final clean-tree check. Also passedgo vet ./...in both modules, golangci-lint v2.1.6 (zero issues),make check-license, and E2E compilation via `go test ./test/e2e -run '^This stage supports explicitly trusted workloads. A CN and its worker share a Pod. Production sandboxing, multi-node failure and resource-pressure testing remain separate.
During replacement an immediate BVT observed account DDL sending RPCs to a retired CN. A separate control with Python disabled observed a transient lock-table binding error on account DDL immediately after an ordinary CN scale-in. Account DDL recovered. Python route readiness and MatrixOne SQL membership converge separately. For post-rollout SQL validation we checked backend membership and completed an account create/drop on both CNs before the repeat run. The example enables store draining and requires an accessible worker image digest.
See
docs/python-udf-design.md,docs/python-udf-networking.mdandexamples/mo-cluster-udf.yaml.`.
Rollout notes
This stage supports explicitly trusted workloads. A CN and its worker share a Pod. Production sandboxing, multi-node failure and resource-pressure testing remain separate.
During replacement an immediate BVT observed account DDL sending RPCs to a retired CN. A separate control with Python disabled observed a transient lock-table binding error on account DDL immediately after an ordinary CN scale-in. Account DDL recovered. Python route readiness and MatrixOne SQL membership converge separately. For post-rollout SQL validation we checked backend membership and completed an account create/drop on both CNs before the repeat run. The example enables store draining and requires an accessible worker image digest.
See
docs/python-udf-design.md,docs/python-udf-networking.mdandexamples/mo-cluster-udf.yaml.