Skip to content

[Bug] [Flaky UT]: pkg/vm/engine/tae/db/test TestDelete4 panics again in GetValue/tombstone path under race CI — recurrence pattern of #32185 #32953

Closed

Description

@XuPeng-SH

Summary

During the 2026-11-19 survey of 15 failed MatrixOne ALL CI runs, TestDelete4 panicked repeatedly in the TAE GetValue path under the UT race stage, on the unrelated PR branch fix/32900-pubsub-drop-verify (run 44549252451) — i.e. a pre-existing main problem, not a diff regression.

Evidence (ut-diagnostics artifact of run 44549252451)

  • [ants]: worker exits from panic: runtime error: index out of range [4] with length 1 (variants with [1], [2] also observed) — dozens of recovered worker panics inside the same test.
  • Representative stack:
github.com/matrixorigin/matrixone/pkg/container/vector.GetFixedAtNoTypeCheck[...]()       pkg/container/vector/vector.go:3827
github.com/matrixorigin/matrixone/pkg/vm/engine/tae/containers.getNonNullValue()           pkg/vm/engine/tae/containers/utils.go:456
github.com/matrixorigin/matrixone/pkg/vm/engine/tae/containers.(*vectorWrapper).Get()       pkg/vm/engine/tae/containers/vector.go:155
github.com/matrixorigin/matrixone/pkg/vm/engine/tae/tables.(*baseObject).GetValue()         pkg/vm/engine/tae/tables/base.go:712
github.com/matrixorigin/matrixone/pkg/vm/engine/tae/txn/txnimpl.(*txnTable).GetValue()      pkg/vm/engine/tae/txn/txnimpl/table.go:1372
... (txnDB / txnStore / txnRelation GetValue chain)
github.com/matrixorigin/matrixone/pkg/vm/engine/tae/db/test.TestDelete4.func1.1()           pkg/vm/engine/tae/db/test/db_test.go:6026
  • Adjacent TAE logs immediately before the panics: ERROR txnimpl/table.go:1741 Duplicate {"table": "xx", "is tombstone": true, "phase": "Phase_PrePrepare", ...} — the panic window is the tombstone handling of the delete workload, where GetValue resolves a rowid to a column row that no longer exists (len 1, idx 4).

Prior art / context

Same test + same path as closed #32185 ("TestDelete4 intermittently panics in GetValue and tombstone RowidPrefixEq during race CI"). Today's recurrence (one run in the 2026-11-19 10:00–17:20 window) suggests the mode reappeared; please analyze under the #32185 lineage rather than from scratch.

Task

Determine why baseObject.GetValue/getNonNullValue reads an out-of-range column row for a live rowid under the delete/tombstone race window of TestDelete4; fix the rowid→column-row invariant (or the tombstone visibility window feeding it). One occurrence on 2026-11-19; watch for recurrence.

Refs: #32185, #32745

Activity

  1. self-assigned this
    on Nov 19, 2026
  2. added a commit that references this issue on Nov 20, 2026
    17df10b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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