[Bug]: TKE CDC TPCC initial snapshot repeatedly fails to converge within 15 minutes
メンテナーはふだん 1 日以内に返信
@jiangxinmeng1 がすでに取り組んでいます。
2026年11月26日 から。
評価
この issue はまだ評価されていません。
説明
Summary
TKE main Family's MO-to-MO CDC TPCC initial snapshot did not converge within the existing 900-second test deadline on three recent nightly runs. Source and sink row counts were still different at the final poll. Server logs for the latest run show initial copy progressing and repeated slow sink INSERT statements; they do not establish that CDC stopped, lost data, or deadlocked. The reason for the reduced throughput and the product-versus-shared-resource/harness boundary remain under investigation.
Environment / latest occurrence
- Run: 45641288353, MO CDC job 139516059551, attempt 1, TKE main
weekly-shadow-1x2, 1 TP CN + 2 AP CN, shared TN. - Actual MatrixOne image receipt:
afe647f60fbf1393a51d94ce84a1abb676aaaf99, registry digestsha256:3e508ae14f435bcd3938d1956b6c7578bd7702aa67db9ca4b270046b6ae555d8. Workflow revisionbd0f5e0a694c85acfb060a692598a6ec6ea24d35is distinct from the product revision. - Source
tpcc_10, sinktke_family_tpcc_sink, 10 warehouses. The initial convergence oracle polls source/sink counts and aggregates, requiring consecutive matches with a 900-second budget; the later transactional TPCC client phase is not reached on initial convergence failure. - TP pod
nightly-regression-dis-tp-cn-pvsfnin namespacemo-main-family-45641288353-1; TP CN request/limit 14 CPUs, memory limit 55 GiB. CDC task01a21490-e7eb-7d31-8d74-2b2dd1244f4awas classifiedtp-onlyby the run's runner evidence.
Recent repeated failures
Dates are China Standard Time (UTC+8). Values are bmsql_order_line counts in the final convergence poll, not final post-cleanup counts.
| Date | CDC job | Source rows | Sink rows at last poll | Result |
|---|---|---|---|---|
| 2026-11-24 | 45201321401 / 137966547627 | 3,561,247 | 2,448,675 | initial convergence deadline |
| 2026-11-25 | 45421481573 / 138812045791 | 3,733,947 | 3,477,975 | initial convergence deadline |
| 2026-11-26 | 45641288353 / 139516059551 | 3,683,269 | 2,580,289 | initial convergence deadline |
In three preceding checked runs the same initial convergence phase completed: Nov 21, Nov 22, and Nov 23. Their first-to-last convergence polling intervals were approximately 7–10.5 minutes; product revisions, row counts, and concurrency are not fully controlled, so these are historical controls, not a proven first-bad commit or isolated performance comparison.
Latest timeline and service-side evidence
Times below are UTC on 2026-11-25 (add eight hours for CST on Nov 26):
- 21:16:52: first convergence sample, sink initially unavailable; source
bmsql_order_linecount 3,683,269. - 21:27:37: sink count has advanced to 2,194,884.
- 21:31:18: TP CN
cdc.progress_tracker.progressfor this task and table reportsprocessing, 2,584,644 initial-sync rows and 358 batches; the progress tracker is not the same measurement as the SQL sink count.current-watermark=0-0is observed during the unfinished initial snapshot and is not by itself proof of a stall. - 21:31:48: final convergence poll reports sink 2,580,289 versus source 3,683,269,
consecutive=0. Subsequent cleanup removes the task; this run does not show whether the snapshot would have completed with more time. - Same TP CN, Loki window 21:27–21:32 UTC:
cdc.mysql_sinker2.exec_insert_sql_slowrecords repeated targetbmsql_order_lineINSERT durations around 1–1.5 seconds early in the window, followed by multiple approximately 8–11 second statements (e.g. 21:30:36 = 10.945 s; 21:31:44 = 10.819 s). These logs localize the slow observed boundary, not the internal reason for each INSERT's latency. - During this phase, TP Tail IVF SIFT L2 ran 21:25:57–21:33:24 UTC in the same Family environment. Prometheus 1-minute rate samples for the TP CN were ~13.93 CPU cores at 21:30–21:32, close to its 14-core limit. Coexistence and high utilization are plausible resource contention, but do not prove causal attribution to IVF or rule out a CDC/product efficiency issue.
- Bounded TP-CN Loki searches for this incident window returned no matching CDC
process_failed/permanent-error, memory-admission, or deadlock signature. This is limited to the queried pod, filters and five-minute window; it is not proof that no other resource or service error occurred.
Expected behavior and investigation
On the declared nightly workload, initial synchronization should make bounded progress and reach a verified source/sink match, or expose actionable progress/slow-stage diagnostics if the budget is insufficient. Please compare the same MO SHA, dataset, endpoint/routing and resources under (1) CDC without IVF overlap and (2) the declared concurrent topology; collect per-batch sink INSERT latency, CPU throttling, SQL execution/transaction wait, TN/storage pressure, task progress and verified final results. Record actual completion time without assuming a larger timeout fixes the root cause. Check cancellation/owner-scoped cleanup and ensure the task and any server-side work terminate safely.
No isolated reproduction or causal commit bisection has been run. The symptom may represent product throughput, resource interference, or a mismatch between the workload and the 900-second test contract. Do not describe the incomplete initial snapshot at timeout as established permanent data loss.
Related issues
- #27863 (closed) concerned
waiting_for_initial_snapshot_batch_slot; latest evidence here showsprocessingand advancing rows, not that specific wait state. - #31887 (open) concerns first sink memory-admission errors permanently failing CDC. No matching task error was found in the bounded latest-window probe, so a common cause is not established.
- 主要言語
- Go
- スター
- 1.9k
- フォーク
- 312
- 平均マージ
- 21時間 57分
- マージ済み PR(30日)
- 730
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
matrixorigin/matrixone のほかの issue
-
kind/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
matrixorigin/matrixone#33363 ·
メンテナーはふだん 1 日以内に返信
-
kind/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
matrixorigin/matrixone#33362 ·
メンテナーはふだん 1 日以内に返信
-
SLEEP rejects NULL and negative durations that MySQL accepts対応中かも @XuPeng-SH が 7 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
matrixorigin/matrixone#32653 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: TestChangeWatchProxy loses its first tenant connection during PingContext in Ubuntu CI対応中かも @XuPeng-SH が今日担当しました。 オープンkind/bug needs-triage
matrixorigin/matrixone#33371 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: TestDaemonClaimSQLRoundTrip exhausts its shared deadline during the stale claim update in Ubuntu CI対応中かも @XuPeng-SH が今日担当しました。 オープンkind/bug needs-triage
matrixorigin/matrixone#33370 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
matrixorigin/matrixone の issue をすべて見る
似ている issue
-
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
area/ui-schema good first issue type/bug
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 4 日以内に返信
-
A vessel you are not flying should draw dim grey, orbit and arrow (ADR 0041), not in its own colourオープンready-for-agent
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
jasonfen/terminal-space-program#1020 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
router-for-me/CLIProxyAPI#8573 ·
メンテナーはふだん 9 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
sipeed/picoclaw#3477 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信