[Bug]: JHB 客户稳定性测试疑似提交后读到旧凭据序列

オープン
#33,294 コメント 2 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@Ariznawlll がすでに取り組んでいます。

2026年11月26日 から。

評価

この issue はまだ評価されていません。

説明

kind/bug needs-triage
Is there an existing issue for the same bug?
  • I searched the existing issues for the run ID and the observed sequences.
Branch Name

Unknown. The running MO instance reported git_version() as 10d204b.

Commit ID

10d204b (reported short version; full commit and branch not yet verified).

Other Environment Information
  • CloudSigma JHB stability environment, two CNs, concurrent customer-style mixed workload; data is synthetic and belongs to an isolated test database.
  • Test: customer mixed stability launch 45560080376. The Actions launch succeeded, but the background worker later stopped with InvariantError.
  • Observation: 2026-11-25 15:05:29–15:05:32 UTC. The database, local ledger, first failure and unresolved intent were retained without cleanup or replay.
Actual Behavior

For one writer (tp0), the test's independent durable ledger had acknowledged receipt sequence 9432. A subsequent transaction's receipt lookup returned 9431, and the harness stopped rather than overwriting a previously acknowledged receipt. Its next intent, sequence 9433, remains pending.

The retained trace records the receipt_verified resolution for 9432 at 15:05:29.435 UTC. According to system.statement_info, the later session performed an owner check, committed that setup transaction, then started a new transaction at 15:05:31.437 UTC. Its SELECT of soak_receipts returned successfully with one row at 15:05:32.412 UTC; the client-side first-failure evidence records that row as sequence 9431. Statement ID: 01a2133d-9048-73ea-9382-7b9ebebde9e3.

After the failure, read-only checks through the proxy and each of the two CNs, three fresh connections per route, consistently returned sequence 9432 and the acknowledged receipt. The current remote hot-row version also matches the ledger's old version. These later observations do not establish the outcome of the pending intent or explain the earlier read.

Expected Behavior

After a prior receipt is acknowledged, a newly started transaction should not observe the preceding receipt value for the same worker, subject to the configured transaction and visibility semantics. If this expectation is invalid for the actual routing or transaction configuration, please explain the applicable semantics.

Steps to Reproduce
  1. Run the customer-style mixed stability workload on an isolated JHB database with two CNs, retaining its external durable ledger and per-worker receipts.
  2. Each writer commits a versioned update and its worker receipt in one transaction. The harness verifies the receipt and acknowledges it in the ledger before issuing its next intent for that worker.
  3. In a new connection and transaction, read the prior receipt for that worker and compare the entire receipt to the acknowledged ledger value. Preserve all unresolved intents on any mismatch.
  4. In the reported run, the expected sequence was 9432, but the subsequent lookup observed 9431 and stopped the worker. This was observed under mixed load; a deterministic minimal reproduction has not yet been established.
Additional Information
  • This report is a suspected read-visibility / transaction-ordering issue, not a confirmed MO kernel root cause or proof of physical data corruption. The server-side record confirms the new transaction and successful one-row SELECT, but does not contain the returned value; that value comes from the retained client-side failure evidence.
  • The server-side record for the specific 9432 receipt update and its complete COMMIT chain has not been found. Historical Loki queries around the failure timed out. CN routing and a possible client/proxy or test-observation issue are not fully excluded; timestamps come from different components and have not been independently synchronized for that historical instant.
  • Previous short isolated mixed-load checks did not reproduce this specific failure. Please help correlate the statement/transaction with the acknowledged 9432 transaction and determine whether an older snapshot or unexpected read path can explain the observation.
  • No credentials, connection strings, customer data, or raw SQL values are included here. The retained local evidence can be shared through an appropriate internal channel.
主要言語
Go
スター
1.9k
フォーク
312
平均マージ
22時間 59分
マージ済み PR(30日)
736

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

matrixorigin/matrixone のほかの issue

matrixorigin/matrixone の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。