[Bug]: TKE CDC TPCC initial snapshot repeatedly fails to converge within 15 minutes
Los mantenedores suelen responder en 1 día
@jiangxinmeng1 ya está trabajando en esto.
Desde el 26/11/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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.
- Lenguaje dominante
- Go
- Estrellas
- 1.9k
- Forks
- 312
- Merge medio
- 21 h 57 min
- PR fusionados (30 d)
- 730
Preparar el entorno
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de matrixorigin/matrixone
-
kind/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
matrixorigin/matrixone#33363 ·
Los mantenedores suelen responder en 1 día
-
kind/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
matrixorigin/matrixone#33362 ·
Los mantenedores suelen responder en 1 día
-
SLEEP rejects NULL and negative durations that MySQL acceptsPosiblemente ocupada @XuPeng-SH la tomó hace 7 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
matrixorigin/matrixone#32653 ·
Los mantenedores suelen responder en 1 día
-
[Bug]: TestChangeWatchProxy loses its first tenant connection during PingContext in Ubuntu CIPosiblemente ocupada @XuPeng-SH la tomó hoy. Abiertokind/bug needs-triage
matrixorigin/matrixone#33371 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
[Bug]: TestDaemonClaimSQLRoundTrip exhausts its shared deadline during the stale claim update in Ubuntu CIPosiblemente ocupada @XuPeng-SH la tomó hoy. Abiertokind/bug needs-triage
matrixorigin/matrixone#33370 · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de matrixorigin/matrixone
Issues similares
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
area/ui-schema good first issue type/bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
Los mantenedores suelen responder en 4 días
-
A vessel you are not flying should draw dim grey, orbit and arrow (ADR 0041), not in its own colourAbiertoready-for-agent
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
jasonfen/terminal-space-program#1020 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
router-for-me/CLIProxyAPI#8573 ·
Los mantenedores suelen responder en 9 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
sipeed/picoclaw#3477 · 1 comentario ·
Los mantenedores suelen responder en 1 día