[Bug]: TKE high-concurrency account cleanup repeatedly exhausts 30-minute deadline
Maintainers usually reply within 1 day
@iamlinjunhong is already working on this.
Since Nov 26, 2026.
Assessment
This issue has not been assessed yet.
Description
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.
- Dominant language
- Go
- Stars
- 1.9k
- Forks
- 312
- Avg merge
- 22h 59m
- Merged PRs (30d)
- 736
Getting set up
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from matrixorigin/matrixone
-
kind/bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
matrixorigin/matrixone#33363 ·
Maintainers usually reply within 1 day
-
kind/bug
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
matrixorigin/matrixone#33362 ·
Maintainers usually reply within 1 day
-
SLEEP rejects NULL and negative durations that MySQL acceptsPossibly taken @XuPeng-SH claimed this 7 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
matrixorigin/matrixone#32653 ·
Maintainers usually reply within 1 day
-
[Bug]: TestChangeWatchProxy loses its first tenant connection during PingContext in Ubuntu CIPossibly taken @XuPeng-SH claimed this today. Openkind/bug needs-triage
matrixorigin/matrixone#33371 · 1 assignee ·
Maintainers usually reply within 1 day
-
[Bug]: TestDaemonClaimSQLRoundTrip exhausts its shared deadline during the stale claim update in Ubuntu CIPossibly taken @XuPeng-SH claimed this today. Openkind/bug needs-triage
matrixorigin/matrixone#33370 · 1 assignee ·
Maintainers usually reply within 1 day
All issues in matrixorigin/matrixone
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
zalando/postgres-operator#3257 ·
Maintainers usually reply within 2 days
-
[inputs.internal] README lists go_version tag on internal_gather instead of internal_agentPossibly taken @cvas22 claimed this today. Open
Difficulty 1/5 Under an hour Newbie friendliness 90/100
influxdata/telegraf#20264 ·
Maintainers usually reply within 1 day
-
[Bug] Standalone migration breaks existing Ingress routes using the envoy-http Service port nameOpenaccepted bug wg/enterprise-environment
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
vllm-project/semantic-router#7483 · 1 comment ·
Maintainers usually reply within 1 day
-
needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
stacklok/toolhive-catalog#2076 ·
Maintainers usually reply within 1 day