You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TestV406MaintenanceCleansHistoricalOrphanObjectPrivileges requires a 1,000-row physical ordered scan to add at most one bounded reader page over the live-row baseline. Its bulk seed uses mo_role_privs CROSS JOIN generate_series(0,10035) but does not constrain the bulk writer layout. Correct Cartesian cardinality can legitimately select parallel INSERT writers, creating overlapping sorted key ranges, each requiring a reader page.
Confirmed in PR #29527 at SHA 59b5b981447ddbdd589050c2181944970998b3e6:
Coverage UT fails line202: scanned7,049 > baseline49+1,000.
Local final planner candidate reproduces line202: scanned10,085 >1,049 on a16-worker host, terminal exit1.
This is a test fixture contract gap exposed by the correct production plan, not evidence of wrong privilege contents.
Expected behavior
Establish the ordered bulk layout explicitly while preserving every existing strict scan row/block and maintenance correctness assertion. Constrain only the existing bulk helper INSERT to session max_dop=1, save the prior value, and restore immediately with failure-path cleanup. This yields ordered non-overlapping objects (8,192 and1,844 rows), rather than asserting there is literally one object. No global setting change, weakened bound, skip, new cluster or planner workaround.
Local verification
The exact failing test now passes (11.455s). Full owning pkg/tests/upgrade package passes with -count=1 -vet=all (47.263s); incremental lint reports zero issues. Focused CI coverage mode also passes (11.578s), using -short -tags matrixone_test -covermode=set and planner/upgrade instrumentation. Full CI rerun is still pending. PR #29527 will carry this fixture repair with the production root-cause fixes.
Activity
Fix Cartesian DML memory planning and transient statistics reuse (#29527