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
Regression and extended verification for #28379 (2026-09-14)
Verification Environment
MatrixOne source/runtime: local origin/main at 61efcf43a145c53435933e14d98ff2ba61afabd5 — fix(spatial): support collection property functions (#28201) (#28834); mo-service was rebuilt from this commit and restarted before verification.
Topology: 2 CN / 1 TN / 1 Log service / Proxy.
Endpoints: Proxy 127.0.0.1:6001, CN1 127.0.0.1:16001, and CN2 127.0.0.1:16002; SELECT 1 and the system.statement_info service surface succeeded on all three.
ETL storage: isolated local DISK-ETL file service at mo-data/etl; real local ETLMergeTask cron schedule was enabled with a 5-minute interval.
Client protocol: MySQL CLI over the MySQL protocol for service and scheduler checks; current-main Go test execution for internal ETL file-service and merge behavior.
Related fix: PR #28503, merge commit 2cecab5e1ca9de26d17f7728021526ae5f50951b (fix(export): discard incompatible statement info CSV).
What Was Covered
OK — Original incompatible statement_info record where the expected unsigned account_id position contains admin is identified before opening a database connection.
OK — The merge path classifies that condition as permanent, deletes the incompatible ETL CSV, and returns successfully rather than retrying it.
OK — Real local DISK-ETL and cron validation: injected a 17-column legacy CSV at sys/logs/2026/09/14/statement_info/ with admin at the account_id position; the real ETLMergeTask scheduler deleted it after its next run and advanced its next scheduled time.
OK — Current-schema column-name mapping accepts a valid numeric account_id even when column order is explicit; schema-length mismatch is rejected as incompatible.
OK — The complete pkg/util/export/etl/db and pkg/util/export test suites passed on current main.
OK — Proxy 6001, CN1 16001, and CN2 16002 remained able to query system.statement_info after validation.
Not covered — Production object-store data and production cluster cron jobs; those systems were intentionally not modified. Equivalent legacy-file and scheduler behavior was validated in the isolated local topology.
Findings
The former strconv.ParseUint("admin") transient failure path is no longer used for incompatible legacy statement_info CSV records. Direct merge tests and a real local scheduler run confirm that the incompatible file is discarded, preventing the same permanent input from creating retry and log storms. Temporary connection failures remain on the normal error/retry path.
MOTR / BVT Coverage
No new MOTR SQL or protocol case was added: ETLMerge input discovery, file deletion, and retry classification are internal file-service behavior with no safe public SQL/protocol interface. A MOTR case that only queried system.statement_info would not cover the fix.
MatrixOne product regression coverage from PR #28503 was executed directly: complete ./pkg/util/export/etl/db and ./pkg/util/export test suites passed.
The fix adds coverage for incompatible-record detection, column-name mapping, schema-length mismatch, incompatible-file deletion, and doMergeFiles discard behavior.
Final Conclusion
Fixed. Large-data regression is not required: classification depends on the first CSV record and schema compatibility, not row count, block/batch boundaries, memory/spill, concurrency, data skew, network transfer, or resource scale. The issue remains open for maintainer disposition.
Activity
fix(export): discard incompatible statement info CSV (#28503)
jiangxinmeng1 commentedon Sep 14, 2026
fixed by #28503
slyunnn commentedon Sep 14, 2026
Regression and extended verification for #28379 (2026-09-14)
Verification Environment
origin/mainat61efcf43a145c53435933e14d98ff2ba61afabd5—fix(spatial): support collection property functions (#28201) (#28834);mo-servicewas rebuilt from this commit and restarted before verification.2 CN / 1 TN / 1 Log service / Proxy.127.0.0.1:6001, CN1127.0.0.1:16001, and CN2127.0.0.1:16002;SELECT 1and thesystem.statement_infoservice surface succeeded on all three.DISK-ETLfile service atmo-data/etl; real localETLMergeTaskcron schedule was enabled with a5-minute interval.2cecab5e1ca9de26d17f7728021526ae5f50951b(fix(export): discard incompatible statement info CSV).What Was Covered
statement_inforecord where the expected unsignedaccount_idposition containsadminis identified before opening a database connection.DISK-ETLand cron validation: injected a17-column legacy CSV atsys/logs/2026/09/14/statement_info/withadminat theaccount_idposition; the realETLMergeTaskscheduler deleted it after its next run and advanced its next scheduled time.account_ideven when column order is explicit; schema-length mismatch is rejected as incompatible.pkg/util/export/etl/dbandpkg/util/exporttest suites passed on current main.6001, CN116001, and CN216002remained able to querysystem.statement_infoafter validation.Findings
The former
strconv.ParseUint("admin")transient failure path is no longer used for incompatible legacystatement_infoCSV records. Direct merge tests and a real local scheduler run confirm that the incompatible file is discarded, preventing the same permanent input from creating retry and log storms. Temporary connection failures remain on the normal error/retry path.MOTR / BVT Coverage
system.statement_infowould not cover the fix.#28503was executed directly: complete./pkg/util/export/etl/dband./pkg/util/exporttest suites passed.doMergeFilesdiscard behavior.Final Conclusion
Fixed. Large-data regression is not required: classification depends on the first CSV record and schema compatibility, not row count, block/batch boundaries, memory/spill, concurrency, data skew, network transfer, or resource scale. The issue remains open for maintainer disposition.fix(export): discard incompatible statement info CSV (matrixorigin#28503
fix(export): discard incompatible statement info CSV (matrixorigin#28503
fix(export): discard incompatible statement info CSV (matrixorigin#28503