[Bug]: TKE high-concurrency account cleanup repeatedly exhausts 30-minute deadline
I maintainer di solito rispondono entro 1 giorno
@iamlinjunhong ci sta già lavorando.
Dal 26/11/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Summary
TKE main Family's create_drop_account_high workload passes, but its subsequent run-owned account cleanup repeatedly exhausts its 1,800-second client deadline. This has occurred on eight separately observed scheduled runs between 2026-11-17 and 2026-11-26 (China Standard Time, UTC+8). The exact server-side cause is not established: this report tracks the repeatable operational symptom and the need to distinguish product-side DROP ACCOUNT throughput/waits from the cleanup implementation and its budget.
The cleanup receipt explicitly reports remaining_count: null and mysql batch deadline exhausted; server completion unknown. Accounts without a client acknowledgement must not be counted as confirmed remaining accounts or confirmed data leakage.
Environment and latest occurrence
- Workflow:
MO Main Nightly Regression On TKE (main), Familyweekly-shadow-1x2, 1 TP CN + 2 AP CN with shared TN; workload selectorcreate_drop_account_high, followed by run-owned account cleanup. This is the AP full Concurrent job, not MOTR. - Latest observed run: 45641288353 / AP full Concurrent job 139608180266.
- MatrixOne subject:
afe647f60fbf1393a51d94ce84a1abb676aaaf99, from the run's immutable image receipt. Workflow revision:bd0f5e0a694c85acfb060a692598a6ec6ea24d35(not the product commit). - Cleanup configuration: eight workers, 1,800-second overall deadline. Before cleanup, 1,168 run-owned accounts were inventoried; at deadline, 665 account drops had been acknowledged. The selector passed but the cleanup failed, so the Concurrent job failed.
- Latest cleanup deadline was reached at approximately 2026-11-26 10:07 CST (02:07 UTC); the job completed at 10:07:30 CST. The recorded cleanup duration was 1,800.002 seconds. The receipt records
remaining_count=null, 16 unconfirmed batches andmysql batch deadline exhausted; server completion unknown.
Repeated occurrences
Dates and job completion times below are CST (UTC+8). Counts are the final cleanup receipt's acknowledged accounts / inventory before cleanup; they do not establish the number left on the server.
| Date / job completed (CST) | Job | Acknowledged / inventoried | Client deadline |
|---|---|---|---|
| Nov 17 09:28 | 43892664281 / 133704375512 | 1,000 / 1,718 | 1,800 s |
| Nov 18 09:02 | 44110438139 / 134451625434 | 1,030 / 1,379 | 1,800 s |
| Nov 20 08:53 | 44550895129 / 135956346102 | 1,029 / 1,683 | 1,800 s |
| Nov 21 08:51 | 44759794462 / 136630989403 | 1,058 / 1,650 | 1,800 s |
| Nov 22 08:50 | 44916947951 / 137019472577 | 1,049 / 1,668 | 1,800 s |
| Nov 23 09:02 | 45036292992 / 137396462885 | 1,010 / 1,614 | 1,800 s |
| Nov 25 10:50 | 45421481573 / 138904632482 | 728 / 1,177 | 1,800 s |
| Nov 26 10:07 | 45641288353 / 139608180266 | 665 / 1,168 | 1,800 s |
The corresponding full-Concurrent job was skipped in the Nov 19 and Nov 24 local-date scheduled runs checked; this is eight observed failure dates, not proof of ten consecutive daily failures. History before Nov 17 was not investigated, so Nov 17 is not asserted to be the first-ever occurrence. The counts, workload history and product revisions differ between runs; this table establishes recurrence, not a controlled performance regression or a first-bad commit.
Expected behavior
After the high-concurrency account workload finishes, run-owned accounts should be removed with bounded forward progress and a verifiable postcondition. If cleanup cannot finish within the declared budget, expose enough evidence to distinguish server wait/throughput from client cancellation and report which operations have confirmed or unknown completion. Do not treat a larger timeout alone as a root-cause fix.
Reproduction / follow-up investigation
- In an isolated TKE environment with the same topology, run the existing
create_drop_account_highcase and its owner-scoped cleanup with the recorded worker and timeout settings. Capture exact product/tool/workflow revisions and concurrent peers. - Compare the same owned-account population with a controlled quiet cluster and record per-account DROP start, return, latency, throughput, server completion and final catalog postcondition. Avoid touching accounts owned by other workloads.
- Correlate the latest incident's 09:37–10:07 CST window with same-generation CN/TN SQL and transaction logs, lock owners and waits, catalog/commit/WAL activity, resources and workload overlap. Determine whether drops are slow-but-progressing, blocked, aborted, or predominantly limited by cleanup client scheduling.
- Test bounded cancellation and reconciliation: client reaping must not be mistaken for server completion, and retries must be owner-scoped and safe after ambiguous results.
No independent isolated reproduction, lock graph, server-side stack or product-versus-harness root cause is claimed from the nightly receipts alone. The above dates prove repeated deadline exhaustion, not a deadlock or permanent orphaned accounts.
Related issues / duplicate assessment
- #28079 (closed): the same high-concurrency workload previously hit a global View metadata gate during CREATE ACCOUNT; its fix was verified. This incident is the subsequent bulk DROP cleanup and has not been shown to share that lock or mechanism.
- #30879 and #30454 (closed): account cleanup deadlines in UT fixtures, different workload and budget.
- #29275 (open): catalog logtail recovery / transaction-admission pause seen during account churn; no evidence yet connects this occurrence to its specific recovery chain.
- #32120 (open): the same Concurrent job has independently tracked ALTER 20601 errors; its report explicitly treats account cleanup as a separate phenomenon.
- Lingua principale
- Go
- Stelle
- 1.9k
- Fork
- 312
- Merge medio
- 22h 59m
- PR unite (30g)
- 736
Preparare l'ambiente
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di matrixorigin/matrixone
-
kind/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
matrixorigin/matrixone#33363 ·
I maintainer di solito rispondono entro 1 giorno
-
kind/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
matrixorigin/matrixone#33362 ·
I maintainer di solito rispondono entro 1 giorno
-
SLEEP rejects NULL and negative durations that MySQL acceptsForse già presa @XuPeng-SH l’ha presa 7 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
matrixorigin/matrixone#32653 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: TestChangeWatchProxy loses its first tenant connection during PingContext in Ubuntu CIForse già presa @XuPeng-SH l’ha presa oggi. Apertakind/bug needs-triage
matrixorigin/matrixone#33371 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: TestDaemonClaimSQLRoundTrip exhausts its shared deadline during the stale claim update in Ubuntu CIForse già presa @XuPeng-SH l’ha presa oggi. Apertakind/bug needs-triage
matrixorigin/matrixone#33370 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di matrixorigin/matrixone
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
pg-sharding/spqr#3314 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
zalando/postgres-operator#3257 ·
I maintainer di solito rispondono entro 2 giorni
-
[inputs.internal] README lists go_version tag on internal_gather instead of internal_agentForse già presa @cvas22 l’ha presa oggi. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
influxdata/telegraf#20264 ·
I maintainer di solito rispondono entro 1 giorno