Repository navigation
Description
Scope and inclusion rules
This tracker covers confirmed user-impacting correctness, stability, usability, and performance work for 4.2-dev or the released 4.2 line.
An item is included only when at least one applies:
- the issue explicitly reports 4.2-dev, a 4.2 release, or a production 4.2 deployment;
- the behavior was reproduced in the earlier local v4.2.8-versus-4.2-dev comparison; or
- an open PR explicitly targets 4.2-dev.
A main PR is only a reference implementation for a confirmed 4.2 problem. A main-only bug, a main-only performance regression, or a source-inspection-only similarity is not automatically a required 4.2 task. Open 4.2 issues whose fixes are already merged are listed separately for original-scenario acceptance, not as missing backports.
Review date: 2026-11-18. Earlier black-box evidence compared released v4.2.8 10d204b8763f19b2b37ba2147d1d4c1a7828d6d4 with the then-current 4.2-dev e8fd84b331; it is not evidence about later 4.2-dev commits.
1. Confirmed unresolved 4.2 correctness, stability, and usability work
Indexes, locks, DML, and metadata correctness
- Production secondary-index cardinality inflation causes table-lock escalation. [Bug]: Secondary-index churn inflates UPDATE cardinality and escalates disjoint-key updates to a table lock #32889 is a v4.2.8 production incident: the secondary-index scan estimated 24,576 rows versus 768 actual rows, while the lock operator emitted 256 rows. Updates over disjoint composite-PK groups acquired base-table exclusive locks and two transactions encountered wait cycles/error 20701. No linked PR was found. Fix or safely mitigate the statistics overestimation while preserving intentional table locking for unbounded UPDATE statements.
- Finish COPY ALTER secondary-index correctness on 4.2. The earlier black-box comparison reproduced indexed-read/UPDATE anomalies on both released 4.2.8 and 4.2-dev. Although [Bug]: COPY ALTER of a composite primary-key type leaves stale secondary-index references and misses rows #32056 is closed on main, 4.2 implementation fix: rebuild indexes when COPY ALTER changes primary keys (4.2) #32253 was fully reverted by revert: undo COPY ALTER index rebuild changes on 4.2-dev (#32253) #32483. Current 4.2 PR [4.2-dev] fix: make COPY ALTER index ownership consistent on 4.2 #32497 is the remaining implementation. Do not cherry-pick main fix: rebuild indexes when COPY ALTER changes primary keys #32252 again. Acceptance must compare indexed and table-scan reads and prove indexed UPDATE/DELETE changes the intended rows for ordinary and unique secondary indexes. Coordinate the concurrency/performance aspect with [Bug]: [4.2-dev backport] 回移 ALTER COPY 优化,缩短全局 SNAPSHOT 锁持有时间 #32680 below.
- Preserve ENUM identity and stored ordinals. [4.2] ENUM assignment collapses case-distinct members under binary collation #32814 explicitly targets 4.2; 4.2 PR fix(enum): resolve assignments in the destination domain on 4.2-dev #32824 remains open. Resolve label bytes, ordinals, binary versus case-insensitive collations, INSERT SELECT/DISTINCT/UPDATE assignment, SET behavior, existing catalog data, and v4.2.8 archive compatibility with [Bug]: ENUM/SET must preserve label identity and text-versus-ordinal semantics #30771 and [Refactoring]: Unify ENUM definitions on 4.2-dev and main while preserving v4.2.8 ordinals #32886. Main Fix ENUM identity and physical index serialization #32826 is only a reference implementation.
- Close multi-target UPDATE/UPDATE IGNORE UNIQUE handling on 4.2. Original report [Bug]: Self-join multi-target UPDATE commits duplicate UNIQUE values #31824 is closed on main, while related 4.2 PR [4.2-dev] Fix repeated-target UPDATE and UNIQUE arbitration #32883 remains open. Main fix: enforce unique checks in multi-target UPDATE #32821/fix: preserve accepted UNIQUE keys in multi-target UPDATE IGNORE #32827 are references, not 4.2 completion evidence. Validate repeated writable aliases, repeated physical-row targets, conflicts on different UNIQUE keys, later valid rows under IGNORE, warning ownership, and accepted/reserved-key cleanup.
- Close the 4.2 ODKU correctness family. Open 4.2 PR [4.2-dev] Fix ordered ODKU key ownership and action semantics on 4.2 #31979 covers [Bug]: Stale ON DUPLICATE KEY UPDATE can duplicate secondary-index rows #31955, [Bug]: ODKU on a fake-PK table rejects conflicts on later UNIQUE keys (v4.2.6) #31956, [Bug]: ODKU on ENUM UNIQUE index panics during planning (v4.2.6) #31958, [Bug]: Concurrent ODKU through different UNIQUE keys duplicates a row (v4.2.6) #31959, [Bug]: v4.2.6 multi-row ODKU drops later updates when different UNIQUE keys reach the same row #31961, and [Bug]: v4.2.6 multi-row ODKU rejects conflicts with earlier rows in the same batch #31962, including reports against v4.2.6. Validate resolved-row lock-key deduplication, concurrent conflicts through different UNIQUE keys, fake-PK tables, ENUM UNIQUE indexes, operator Reset/reuse, and action counts.
- Investigate production 4.2 row resurrection and UPDATE amplification independently. [Bug]: Controlled tombstone/data merge interleaving resurrects rows; UPDATE amplifies 256 leases to 2.15M rows #31853 reports controlled tombstone/data merge interleaving on the production 4.2 release line, including row resurrection and amplification from 256 leases to 2.15M rows. No directly linked PR was found. Reproduce and isolate this mechanism; do not close it as a side effect of [Bug]: Secondary-index churn inflates UPDATE cardinality and escalates disjoint-key updates to a table lock #32889.
- Fix high-dimensional IVFFlat approximate-recall correctness on 4.2. [Bug]: IVFFlat approximate recall degrades sharply at higher embedding dimensions (512/768/1536) while mode=force returns 1.00 #30414 reports silent recall degradation on released v4.2.5 at dimensions 512/768/1536 while forced exact search returns 1.00. This returns valid-looking but wrong nearest neighbors. The 4.2 query-level nprobe support in Support query-level IVF nprobe on 4.2 #31754 is not, by itself, evidence that the recall defect is fixed. Reproduce on current 4.2-dev and compare approximate results with exact ground truth across dimensions, nprobe, index rebuild, and restart.
- Fix false missing-parent errors after successful DROP/TRUNCATE on indexed tables. [Bug]: Successful DROP/TRUNCATE of indexed tables emits false missing-parent ERRORs #31307 reproduces the errors on a v4.2.1-based hotfix candidate. No directly linked PR was found. Validate ordinary/unique/fulltext/vector indexes, repeated DROP/TRUNCATE, concurrent index builds, and log classification so successful DDL does not emit misleading corruption errors.
- Stop DATA BRANCH DIFF SQL output from closing the borrowed shared FileService on 4.2. [Bug]: DATA BRANCH DIFF SQL output closes borrowed shared file services during cleanup and release #30755 explicitly reproduces this on 4.2-dev. Merged [4.2-dev] fix: finalize exports safely and clean up S3 uploads #30742 explicitly says [Bug]: DATA BRANCH DIFF SQL output closes borrowed shared file services during cleanup and release #30755 is unchanged, so it must not be listed as a fix. Main fix(frontend): stop DATA BRANCH DIFF SQL output closing the borrowed shared file service #30769 is the reference implementation; no 4.2 equivalent was found. Validate success and preparation/streaming failure cleanup without closing service-owned resources.
Memory, cancellation, recovery, and distributed execution
- Bound transaction-workspace copies under the CN memory budget. [Bug]: Memoria workload repeatedly OOM-kills 16 GiB CNs, including after the last observed Add/Search traffic #32008 reports repeated OOM kills of 16 GiB CNs on the deployed 4.2 hotfix line. Open 4.2 PR [4.2-dev] fix(disttae): account workspace copies against CN memory budget #32536 adapts main fix(disttae): budget transaction workspace batch copies #32458 but does not by itself close [Bug]: Memoria workload repeatedly OOM-kills 16 GiB CNs, including after the last observed Add/Search traffic #32008. Validate cross-statement ownership, failure refunds, persistence/close/GC boundaries, CN admission, and the original Memoria workload.
- Resolve 4.2 sysbench INSERT DUPLICATE memory pressure and cascading connection failures. [Bug] sysbench1000w Insert Duplicate fails: CN memory pressure (40-41 GiB) causes cascading connection failures #26088 explicitly reports 4.2-dev CN memory pressure around 40–41 GiB with high-concurrency INSERT DUPLICATE and subsequent connection failures. No directly linked PR was found. Reproduce with fixed data/concurrency, attribute retained memory, and verify recovery after pressure subsides.
- Handle HashBuild varlen working sets that exceed one 2 GiB MPool allocation. [Bug]: HashBuild repeatedly fails when one varlen build area exceeds the 2 GiB MPool allocation limit #32143 reproduces deterministic failure on 4.2-dev and main. Merged fix(vector): return append rollback failures on 4.2-dev #32186 covers allocation-error cleanup only and explicitly does not provide oversized-allocation support. Implement bounded segmentation/batching or another safe path when the query budget allows the working set; retain an explicit resource error for a genuinely insufficient budget.
- Resolve 4.2 AP CN conntrack crash and obtain field acceptance. [Bug]: 4.2 AP CN crashes with negative WaitGroup counter in the conntrack/socket receive watcher during Family concurrency #31954 reports a negative WaitGroup counter in the conntrack/socket receive watcher on 4.2. Main fix(conntrack): avoid socket watchers for background receives #32845/fix(conntrack): preserve connection lifecycle event order #32854/fix(conntrack): restart ordered monitoring after receive errors #32865 are candidate reference fixes, not evidence that 4.2 is fixed. Validate background receives, lifecycle event order, receive errors, CN restart, and the original 4.2 Family-concurrency scenario.
- Resolve the 4.2 incrservice zero-row allocator FATAL. [Bug]: incrservice: 4.2 AP CN exits on zero-row allocator reads during concurrent primary-key UPDATE #32515 reports an AP CN terminating after four zero-row allocator reads during concurrent primary-key UPDATE and peer failure. Merged [4.2-dev] fix(disttae): preserve exact PK reads across transferred deletes #32692 addresses a different issue, [Bug]: Exact PK iterator misses a live row beyond three candidates (controlled SQL reproduction) #32660, and explicitly makes no allocator/FATAL changes; it is not a fix for [Bug]: incrservice: 4.2 AP CN exits on zero-row allocator reads during concurrent primary-key UPDATE #32515. Preserve allocation uniqueness and transaction semantics while classifying unavailable, stale, or deleted metadata without killing the CN.
- Bound stale/removed-CN pipeline behavior during vertical migration. [Bug]: CN 垂直扩容迁移破坏在途分布式 Pipeline #27776 reports 4.2-dev CNClaim migration/Draining closing remote streams and returning MySQL 2013 for an in-flight distributed AP query. No directly linked PR was found. The later backport mentioned in the issue is not proof of a fix. Test Bound → Draining migration with in-flight remote branches, cancellation, retry, and transaction cleanup.
- Resolve the 4.2 TPCH Q21 cross-CN Pipeline connect timeout. [Bug]: 4.2-dev TPCH Q21 跨 CN Pipeline 建连 5 秒超时返回 20502 #29407 reports error 20502 on 4.2-dev without Chaos or pod restart. Merged [4.2-dev] fix(proxy): clear backend handoff read deadlines #29408 explicitly says [Bug]: 4.2-dev TPCH Q21 跨 CN Pipeline 建连 5 秒超时返回 20502 #29407 is a separate MORPC/Pipeline investigation and is not fixed by that proxy backport. Main fix(cnservice): preserve pipeline connect retry budget #28922 is a candidate from the similar but not proven-identical [Bug]: TPCC 1000W/1000 terminals cross-CN pipeline timeout returns 20502 #28895; reproduce the 4.2 path before adapting it and verify connect-attempt bounds, cancellation, and unrelated queries.
- Restore/clone follow-up TPCC must not lose backend connections in synchronized bursts. [Bug]: Restore and clone follow-up TPCC loses multiple backend connections in synchronized bursts #28080 explicitly reports 4.2-dev. No directly linked PR was found in the issue-number search. Identify the referenced main candidates, reproduce the 4.2 topology, and verify backend handoff, reconnect, and transaction outcomes after restore/clone.
- Prevent slow catalog logtail recovery from pausing CN transactions. [Bug]: catalog logtail recovery abandons slow forced-flush subscriptions, pausing CN transactions for 185s #29275 reports 4.2-dev abandoning forced-flush subscriptions and pausing transactions for about 185 seconds. Main fix: cancel stale logtail subscription pulls on disconnect #29361 is a candidate reference fix; no 4.2 equivalent was found. Validate slow TN flush, subscription retry/disconnect, cancellation, recovery, and unrelated transaction progress.
- Handle production 4.2 DiskCache ENOSPC correctly. [Bug]: DiskCache can exhaust a single ext4 directory's htree capacity (ENOSPC) while isDiskFull() ignores ENOSPC #30167 was observed on main and a production 4.2 release build. Main fix(fileservice): shard disk cache directories and classify ENOSPC correctly #30173 shards cache directories and classifies ENOSPC; no 4.2 equivalent was found. Validate ext4 directory limits, real ENOSPC, disk-full handling, cache recovery, and unrelated I/O errors.
- Prevent non-progressing Tan EOF reads from blocking recovery/shutdown. [Bug]: Tan EOF read makes no index progress, blocking LogService recovery and shutdown #30219 was reproduced with the official v4.2.5 binary as well as main. Main fix(logservice): fail non-progressing Tan EOF reads #30288 is the reference fix; no 4.2 equivalent was found. Validate EOF/no-progress bounds, LogService recovery, cancellation, and shutdown.
- Fix transaction-local CLONE object ownership on 4.2. [Bug]: DELETE on a transaction-local CLONE can delete rows from a different clone #32500 explicitly identifies 4.2-dev as affected. Main fix(disttae): preserve table ownership for clone deletes #32555 is the reference fix. Cover multiple clones in one transaction, writes during materialization, concurrency, and restart.
- Make long DROP DATABASE bounded and preserve session/DDL correctness. [Bug]: DROP DATABASE takes over two hours and loses connection after high-concurrency table churn #27575 reports a 4.2-dev DROP DATABASE exceeding two hours and losing the connection after high-concurrency table churn. Main fix(sql): reuse ordered cleanup for DROP DATABASE #29393 is a candidate reference fix; no 4.2 equivalent was found. Validate actual catalog cleanup, retry/idempotence, cancellation, connection health, and residual objects.
Open 4.2 PRs and released-version compatibility
- Close the open 4.2 correctness PRs against their own issues. [4.2-dev] Fix correlated scalar subquery with LIMIT 0 #32870 covers [Bug]: correlated scalar projection with outer reference fails on LIMIT 0 #32869 (correlated scalar
LIMIT 0); [4.2-dev] Fix SHOW metadata access for table-level grants #32878 covers 4.2 backport issue [Backport]: port table metadata SHOW authorization fix (#30304) to 4.2-dev #32855 and original report [Bug]: table SELECT privilege does not authorize SHOW CREATE TABLE and SHOW COLUMNS #30279 (table-level grants for SHOW metadata); [4.2-dev] fix(frontend): preserve string literals in merged role rules #32891 preserves Unicode, quotes, backslashes, and string lists in merged role rules for matrixorigin/matrixflow#22006. Each requires target-branch red/green evidence and its stated authorization/protocol compatibility checks. - Restore Django/Mezzanine schema introspection on the affected 4.2 line. [Bug]: Mezzanine Django migration fails because information_schema.check_constraints is missing #29101 reports that online v4.2.0 lacks
information_schema.check_constraints, preventing Mezzanine startup. Determine whether this requires a server fix or tenant/system-view upgrade and verify both upgraded existing tenants and fresh deployments; do not assume a main catalog change upgrades released 4.2 tenants automatically. - Preserve 4.2 legacy metadata while enabling SQLAlchemy VIEW reflection. [4.2][Bug]: preserve legacy metadata while supporting SQLAlchemy view reflection #32746 is an explicit 4.2 follow-up: uppercase view type names cause SQLAlchemy
NullTypefailures, while existing DESCRIBE/COLUMN_TYPE text must remain compatible. Do not treat merged [4.2-dev] fix SDK contracts and exact ENUM member replay #32723 as automatic closure of this follow-up or import main metadata text changes that break 4.2 consumers.
2. Confirmed 4.2 performance follow-ups
- Prune serialized secondary-index range bounds on 4.2 (high priority). [4.2-dev][Performance] Serialized secondary-index range bounds do not prune blocks (backport of #32209) #32928 is the 4.2 counterpart of [Performance]: Index range bounds degrade to opaque block filters #32209. The main fix fix(plan): bound serialized regular-index range scans #32503 (
5a5422598a) is not an ancestor of4.2-devand cannot be cherry-picked: 4.2 uses theapplyIndexJoin->replaceNonEqualCondition/replaceRangePairConditionpath, not main'smatchRegularIndexOnlyScanfamily. Keep [Performance]: FORCE INDEX range predicate reads whole index table #32129 (FORCE INDEX first-column range) and [Performance]: composite index second-column range prunes nothing, constant prefix scan #32063 (equality prefix + next-column range) as separate acceptance cases, and require failing-base/passing-fixEXPLAIN ANALYZEinputRows/inputBlocks plus result equality against an unindexed control. Do not close on main evidence.
- FULLTEXT2 steady-query tail latency. [Bug][稳定性]: 4.2-dev NQFT 稳态查询持续 22 秒级 p95 长尾 #28846 reports sustained 22-second-class p95 latency on 4.2-dev. Open 4.2 PR [4.2-dev] [Bug] Avoid fulltext2 posting materialization for live DF #32850 avoids full posting-list materialization for live DF. Validate clean/dirty segments, identical search results, memory allocation, and the original NQFT p95 workload.
- CLONE metadata and checkpoint-replay overhead. [Performance]: CLONE DATABASE is slow with many tables due to serial per-table processing #29383 reports slow many-table CLONE, and main perf: reduce clone metadata work and isolate checkpoint replay #29769 references a deployed v4.2.5 source. Open 4.2 PR [4.2-dev] perf: reduce clone metadata work and isolate checkpoint replay #32894 says no fresh benchmark result exists. Measure many-table CLONE, foreign-key metadata collection, concurrent replay/replacement, and error cleanup on 4.2.
- Wide-row batched UPDATE cost. [Bug]: [v4.2.8][S02] 宽行分批 UPDATE 写入成本高,duration 提前截止漏计自动提交 #32684 explicitly covers production and isolated v4.2.8 experiments and has no directly linked PR. Reproduce on current 4.2-dev, separate write amplification from duration/accounting cutoff, and identify the owning fix before proposing a backport.
- Finish large-TEXT memory-amplification acceptance. [Bug]: Track remaining large-TEXT memory amplification in pipeline reuse and writing #32751 uses a v4.2.8-hotfix runtime baseline. Several 4.2 changes are already merged: fix(pSpool): reuse exact-fit buffers on 4.2-dev #32752, fix(pSpool): reserve cached backing across batch columns on 4.2-dev #32753, fix(pSpool): preserve batch reuse without planning slices on 4.2-dev #32758, perf: reduce CSV field copy amplification on 4.2-dev #32769, fix(objectio): release idle write arenas on 4.2-dev #32773, perf(objectio): compress directly into writer arena on 4.2 #32775, and perf(fileservice): avoid buffering S3 uploads for disk cache on 4.2 #32783. Run the original workload and track only the remaining gap; do not open another generic buffer-reuse backport.
- Investigate the remaining duplicate same-key DiskCache file reads in [Bug]: main and 4.2-dev duplicate same-key DiskCache file reads during cold-to-warm transitions #32491. This issue covers main and 4.2-dev and no directly linked PR was found. Use branch-specific cold/warm I/O counts and preserve different-key, memory-hit, admission-limit, cancellation, and close controls. The separate [Bug]: 4.2-dev duplicates warm DiskCache reads/conversions after concurrent MemCache misses #32223 report is tracked below with its merged 4.2 fix fix(fileservice): coalesce same-key warm disk-cache column fills (#28918) to 4.2-dev #32361; main [Bug]: Main Wiki IVF 10M throughput falls across Nov 4-6; warm DiskCache reads dominate one AP #32317 is not evidence for either item.
- Reduce COPY ALTER global-SNAPSHOT serialization. [Bug]: [4.2-dev backport] 回移 ALTER COPY 优化,缩短全局 SNAPSHOT 锁持有时间 #32680 explicitly requests a 4.2-dev backport and reports the performance problem on 4.2.8. Keep this coordinated with [4.2-dev] fix: make COPY ALTER index ownership consistent on 4.2 #32497 but separate correctness from lock-holding-time acceptance. Main-observed [Bug]: Concurrent COPY ALTER serializes on the global SNAPSHOT gate and times out after lineage protection added in #25882 #28319 is not used as the 4.2 evidence.
- Investigate 4.2 pSpool cached-batch regression. [4.2-dev] pSpool cached batch reuse is 5–7% slower than v4.2.8 in controlled AB/BA benchmark #32761 measures 5–7% slower cached batch reuse than v4.2.8 in controlled AB/BA benchmarks on 4.2-dev. No targeted 4.2 PR was found. Preserve the correctness fixes while identifying and removing the measured regression with the same benchmark and allocation profile.
- Revisit the composite key-set gate after the earlier fix. [Performance]: composite key-set gate still admits a slower 100-point prepared plan on 1,000 rows #32644 explicitly reports that a slower 100-point prepared plan is still admitted on 4.2-dev. Merged fix(plan): use bounded key-set access for composite index IN prefixes (#32410) #32567 must not be treated as closure of this later follow-up. Compare estimated/actual rows, scanned rows, plan shape, and prepared latency against the alternative plan.
- Treat [Bug]: Secondary-index churn inflates UPDATE cardinality and escalates disjoint-key updates to a table lock #32889 as a performance incident as well as a correctness/stability incident. Record estimated versus actual rows, lock granularity, wait-for cycles, and disjoint-key throughput, not merely SQL success.
3. Open 4.2 issues with merged 4.2 PRs: run original acceptance, then close or reopen implementation
These were easy to misclassify as missing backports. A merged PR is not proof that the original production/chaos workload passed, but it does mean the issue must not be listed as “no 4.2 fix.”
- FileService write gaps: [Bug]: file-service write gaps are not reliably zero-filled #32777 → merged 4.2 fix(fileservice): zero-fill gaps in write entries on 4.2 #32779. The issue is not missing a 4.2 implementation: fix(fileservice): zero-fill gaps in write entries on 4.2 #32779 is the separate 4.2 counterpart of main fix(fileservice): zero-fill gaps in write entries #32778 and has target-branch red/green coverage. Run sparse/partial-write, retry, restart-recovery, and disk/object-store read acceptance on the final 4.2 head before closing the original issue.
- Warm DiskCache coordination: [Bug]: 4.2-dev duplicates warm DiskCache reads/conversions after concurrent MemCache misses #32223 → merged 4.2 fix(fileservice): coalesce same-key warm disk-cache column fills (#28918) to 4.2-dev #32361. Repeat concurrent same-key MemCache-miss/warm-DiskCache-fill measurements and the linked Wiki workload, including different-key, cold, admission-limit, cancellation, close, and failure controls. The issue remaining open requires evidence about the original workload, not another duplicate backport.
- TPC-C GC/lock performance: [Bug] TPCC warehouse=1000 Go GC 长暂停(500-900ms)导致 Lock wait timeout(4.2-dev / main 均偶现) #26182 → merged 4.2 perf(disttae): reduce logtail replay allocations (cherry-pick #26234) #26287. Repeat warehouse=1000 with matched data and concurrency, recording GC STW pauses, heap/GOMEMLIMIT, logtail-replay allocations, lock queues, timeout frequency, and transaction latency. Because the original report is intermittent, use repeated matched runs and keep any residual gap open.
- Spill, memory, and vector/index paths: bug: PR #26284 导致 Big Data Test INSERT...SELECT...ORDER BY spill 磁盘满(no space left on device),级联 inner join 返回 count=0 #26352 → merged 4.2 fix: use LOCAL disk for TOP spill on 4.2-dev #32619; [Bug] IVF pre-filter 向量查询 EXPLAIN ANALYZE 导致 CN OOMKilled (10M 向量, 100 并发) #26720 → [4.2] Backport fixes for issues #26720 and #25114 #27313; [Bug]: 4.2-dev IVF SIFT128 normalize L2 建索引间歇性 context canceled(#27261 相关复现) #32389 → fix(compile): backport IVF sampling cancellation fixes to 4.2 #32398. Run the original disk-full/OOM/IVF-cancellation scenarios and check wrong-result as well as resource behavior.
- Distributed pipeline and connection recovery: [Bug]: surviving CN retries killed CN pipeline endpoint for 1000s after replacement is Ready #27523 → [4.2] fix(cnservice): bound stale pipeline backend retries #27555; [Bug]: 10M IVFFlat workload intermittently closes RPC/backend connections #27757 → fix(compile): keep remote receiver stop non-terminal #28128 and [4.2] fix: reuse remote backend after early stop #27785. Repeat the original CN-kill and 10M-IVF scenarios with bounded reconnect and correct transaction outcomes.
- Backup, branch, and cancellation paths: [Bug]: 物理备份恢复后 globalcheckpoint 因 table-ID 历史覆盖不足持续失败(关联 #26546) #30738 → [4.2] fix(backup): preserve table-ID history across physical restore #30744; [Bug]: LoopJoin/LIKE keeps executing after cancellation with long-lived transactions and high CN CPU (4.2.6) #30836 → fix(sql): honor LoopJoin and LIKE cancellation on 4.2 #30863; [Bug]: DATA BRANCH MERGE times out scanning unrelated catalog history after checkpoint recovery #32708 → [4.2-dev] fix(branch): preserve PK pruning in historical catalog reads #32705. Verify physical-restore checkpoints, LoopJoin/LIKE cancellation, and production-scale DATA BRANCH MERGE latency.
- Lock/backend retry bound: [Bug]: CN loss can leave lock retry requests blocked ~150s past a 10s backend budget #32834 → [4.2-dev] fix: bound lock backend retry waits #32843. Repeat controlled two-CN loss and no-fault controls, retaining in-flight stacks and checking that the 10-second budget is enforced and cleanup completes.
- CDC and disconnected-query cancellation: [Bug]: 4.2-dev CDC permanently stops after deadlock during DN chaos #32214 → fix(cdc): replay deadlocked target transactions on 4.2-dev #32232; [Performance]: 4.2.8 delays disconnected-query cancellation by 30–35 seconds #32362 → fix(frontend): cancel requests on terminal TCP errors #32364 and [4.2-dev] fix(frontend): cancel active queries on TCP FIN #32743. Replay the original DN-deadlock chaos and 4.2.8 disconnect workloads rather than relying only on unit tests.
- Merged result-correctness/stability fixes: [Bug]: ORDER BY with a repeated column and LIMIT uses the last sort direction #32396 → fix: preserve repeated Top ordering keys on 4.2 #32402; [Bug]: correlated ORDER BY LIMIT returns NULL for a matching row #32441 → fix(plan): preserve correlated pagination per outer row #32459; [Bug]: self-referencing FK UPDATE returns context canceled instead of constraint error on 4.2-dev #32560 → fix: stabilize JoinMap, Compose, and authorization #32558; [Bug]: 4.2 UPDATE cleanup leaves runtime-filter allocation charge and suspends CN admission during peer unavailability #32568 → fix: reset int hashmap scratch before encoding #32647. Run each original reproduction, including self-referencing FK UPDATE and peer-unavailable UPDATE cleanup, then close with evidence or identify the remaining gap explicitly.
4. Separate assessments, not confirmed 4.2 defects
- Explicitly requested assessment of main fix(lock): preserve bounded ranges for large DML batches #26706. Main fix(lock): preserve bounded ranges for large DML batches #26706 (
35db232dfc3be3264c4dc0d2547a3429624392fb) closed main TPC-C bulk-load issue [Performance] Poor throughput for JDBC / SQLINSERT INTO ... VALUESbulk writes (TPC-C load vs PostgreSQL) #26630. This remains here because it was explicitly requested for backport review, not because [Performance] Poor throughput for JDBC / SQLINSERT INTO ... VALUESbulk writes (TPC-C load vs PostgreSQL) #26630 was demonstrated on 4.2. It is not counted as a confirmed 4.2 bug and is not assumed to fix [Bug]: Secondary-index churn inflates UPDATE cardinality and escalates disjoint-key updates to a table lock #32889. Its physical-owner cumulative budget, lock ownership, deadlock snapshots, proxy handoff, transaction-generation cleanup, and lock protocol v27 require a dedicated design and mixed-version/performance evaluation. - CDC PAUSE semantics need a controlled baseline before a bug claim. An earlier local 4.2-dev run accepted
PAUSE CDC TASK, but later source writes still reached the sink; no comparable 4.2.8 baseline was obtained. Record SHOW CDC state, pause effective point, watermark, and sink rows on both versions through pause → write → resume → catch-up. File a dedicated issue only if replication continues after pause is confirmed effective.
5. Explicitly excluded or deliberately not promoted
- Main-only regressions: [Bug]: Distributed SSB scans regress 8-11x after #32697; subset-column policy lacks remote prefetch #32796 was introduced by main perf(fileservice): keep IVF-Flat entries objects in the index-file cache #32697 and reverted on main by Revert "perf(fileservice): keep IVF-Flat entries objects in the index-file cache (#32697)" #32809; [Bug]: Sysbench 1000W Random Ranges throughput drops ~35% after #32492 #32840/[Bug]: COM_QUERY range-count regresses after #32492, outside prepared-TP mitigation #32857/[Performance]: every statement calls statfs on the spill directory (ensureAllocationAccountLifecycle → refreshAutomaticSpillDiskCap) #32818/perf(exec): reduce accounted work on short index range scans #32895 concern main perf(exec): consume selected scan batches through expressions and operators #32492; [Bug]: TPC-DS 1T Q4 exceeds 1200s with repeated CTE scans in plan #32806 and [Bug]: Main Wiki IVF 10M throughput falls across Nov 4-6; warm DiskCache reads dominate one AP #32317 lack independent 4.2 evidence. They are not 4.2 tasks here.
- Main-only runtime reports: [Bug]: ALTER TABLE ADD COLUMN fails on tables upgraded from v4.2.6 #31654 (failure after upgrading v4.2.6 data to main), [Bug]: backup checkpoint rewrite leaks input-batch memory after successful completion #32084 (4.2 source similarity but main-only runtime reproduction), [Bug]: REVOKE ALL leaves individually-granted privileges alive #32479, [Bug]: Invalid FULLTEXT view aborts unrelated information_schema.COLUMNS queries with error 1191 (regression) #32763, [Bug]: TPCC 1000W/1000T memory pressure rejects 100922 transactions and new-session authentication with cap=0 #29753, [Bug]: Unicode-equivalent parent key updates skip ON UPDATE foreign-key actions #30340, and [Bug]: DATA BRANCH MERGE rejects a rebuilt target after its last branch is reclaimed #30854 are not included as confirmed 4.2 defects.
- Unproven/static-only findings: VectorIndexCache: unbounded retryable-load loop in Search/SearchInto under index rebuild churn; Load panic wedges loading; unbuffered c.done blocks repeat Destroy #32403 is a code-review recipe without dynamic reproduction; [Bug]: mpool profiling retains freed allocation records after profiling is disabled #32334 documents stale diagnostic profiling metadata rather than demonstrated production memory retention. They require evidence before promotion to this required list.
- Feature-only backport: [4.2-dev] Backport #26616 table_changes to 4.2-dev #32849 (
table_changes) is excluded unless the feature is explicitly requested for 4.2.
Re-add an excluded item only with a linked 4.2 runtime reproduction or an explicit 4.2 change proposal that explains applicability and includes necessary regression fixes.
6. Acceptance required before closing any item
- Pin the target 4.2 SHA and provide the original reproducer, failing-base result, and passing-fix result. Main CI is not 4.2 verification.
- Identify the actual 4.2 PR/SHA and record dependencies, compatibility, mixed-version behavior, and rollback requirements.
- Cover applicable cancellation, disconnect, timeout, deadlock, retry, partial failure, close, restart, concurrency, and cleanup paths.
- For performance work, use same-host/resource/data/cache paired measurements and report distributions rather than one run. Preserve correctness and memory-limit checks.
- For index/lock work, record estimated rows, actual rows, lock granularity, wait-for behavior, and disjoint-key throughput.
- For existing data/index/catalog/snapshot/archive changes, validate old-format reads and document upgrade, stop-write, rebuild, or restore requirements.
- Update the original issue and this tracker with actual evidence; a checked box here is not completion.
Activity
[-][Tracking]: 4.2-dev 后续问题闭环与 main 修复回迁清单(2026-11-18)[/-][+][Tracking]: Required 4.2-dev correctness, stability, and performance follow-ups (2026-11-18)[/+]XuPeng-SH commentedon Nov 26, 2026
4.2-dev 重复目标 UPDATE:已合入,待最终版本 QA
#32883 已合入
4.2-dev,mergecaac917f71947d27322f6c3d1df5ae81c25d08ed。只更新本跟踪项的状态:原 #31824 已按 main 证据验收关闭,不重开;本总单不改派或关闭。候选构建验证了单列/复合 UNIQUE、相同行和不同目标仲裁、错误原子性、强制索引读与合法兄弟别名写入,也覆盖被拒绝别名中的 NULL,以及
primary-key-check开关下的主键冲突。update_ignore.test49/49。远端合入前最后更新fdd3757仅同步4.2-dev,未再改重复 UPDATE 实现;本轮未在最终 merge 重跑。建议在最终合入版复验悲观 RC(含快照与跨 CN),有条件补乐观配置的 PK 检查开关,以及合法与拒绝别名的索引回读、warning、S3 写入取消/工作区归属。不要把合入或候选结果当成最终 QA 通过。