Skip to content

Stock-Level connection failures are mislabeled as TT_NEW_ORDER in the bundled JAR #5

Open

Description

@LeftHandCold

Problem

The source at commit 4d1dcc3f882e02e86a6c4e19aa487ad051358a02 reports Stock-Level connection failures as:

[UNEXPECTED][STOCK_LEVEL][CONNECTION]

However, runBenchmark.sh executes the committed prebuilt JAR, and the bytecode in that JAR still reports the same executeStockLevel failure as:

[UNEXPECTED][TT_NEW_ORDER][CONNECTION]

This was observed in the 1000-terminal Snapshot/PITR runs on 2026-08-08. CN statement logs prove every canceled prepared statement was the Stock-Level low_stock query, while the client report attributed the failures to NewOrder.

Impact

Incident triage follows the wrong TPCC transaction and code path. In the affected runs this initially hid that all 215 server-side cancellations were Stock-Level queries.

Evidence

  • Source: src/main/java/io/mo/jTPCCTData.java:1587 contains STOCK_LEVEL.
  • Bundled JAR bytecode for executeStockLevel still contains TT_NEW_ORDER.
  • The workflow runs the prebuilt JAR and does not compile the current source first.

Expected behavior

The bundled JAR must be rebuilt from the same source commit, or the workflow must build it before execution. Add a test that compares transaction labels emitted by each executor path so source/JAR drift cannot silently recur.

Scope

This is a test-evidence/diagnostic defect. It does not cause the MatrixOne query timeout itself, but it materially misattributes the failing workload.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions