Repository navigation
Description
Is there an existing issue for the same bug?
- I checked existing issues. The old reports [Bug]: UT TestDelete3 failed #12107, [Bug]: ut TestDelete3 failed. #16640, and [Bug]: ut fails in TestDelete3 #18521 are closed and describe earlier, different
TestDelete3failures (data races/tombstone behavior). I found no report for thisNoExt/ missing-object failure signature.
Branch Name
PR #30548 UT racing run
Commit ID
b1b189aafc598c8b5d77bc1e9a020862600aec48
Other Environment Information
- Hardware parameters: GitHub-hosted runner
- OS type: Ubuntu/x86
- CI job: https://github.com/matrixorigin/matrixone/actions/runs/39193966161/job/117872909332?pr=30548
- PR: fix(iceberg): normalize typed refs before scan planning #30548
Actual Behavior
The UT racing job fails in pkg/vm/engine/tae/db/test at TestDelete3 while scanning the table. The log reports an appendable object with no extent, then attempts to load extent 0_0_0_0 and cannot find the object file:
DATA|OS(2)|Hint(1041)|[OBJ(1000)-(01a15258-a139-746f-a621-3a77d9099420_00000)|NoExt]|[C@1792382902585311697-0,D@0-0]
[LoadObjectMetaByExtent] ... "extent": "0_0_0_0"
file 01a15258-a139-746f-a621-3a77d9099420_00000 is not found
The same test run logs a background flush containing that object, followed by a flush completion that publishes a different output object. The test then fails with TestDelete3 (1.37s). The later context canceled messages occur as the test engine shuts down after the failure.
The immediate failure is that a scan tries to read an object file which is absent. The logs suggest a possible mismatch between the object's in-memory/appendable state and its flush or replacement state, but do not yet prove which transition is incorrect.
Expected Behavior
Repeated scans during TestDelete3's append/delete cycle should continue to return the expected rows while background flush proceeds. A scan should not resolve a NoExt object to extent 0_0_0_0 and fail because its file is missing.
Steps to Reproduce
- Run the Ubuntu/x86 UT racing job for PR fix(iceberg): normalize typed refs before scan planning #30548, or run
TestDelete3ingithub.com/matrixorigin/matrixone/pkg/vm/engine/tae/db/testwith the race configuration used by CI. - The test creates a TAE engine, appends rows, then repeats delete and scan operations while the engine's background flush/checkpoint workers run.
- In the failing run,
TestDelete3reaches a scan of object01a15258-a139-746f-a621-3a77d9099420_00000after the corresponding flush activity and receivesfile ... is not found.
Additional information
The current PR changes Iceberg typed-reference normalization and Iceberg tests. The observed failure is in TAE's TestDelete3; no direct causal link to the PR change is established by this log. The exact failing SHA is the CI run's SHA above. Please reproduce against the base and trace object ownership/publication across appendable-object freeze, flush output publication, scan metadata selection, and cleanup before changing behavior. Keep the older closed TestDelete3 reports in mind, but treat this file-missing signature as a distinct report unless investigation demonstrates a shared root cause.
Activity
fix: preserve empty flush snapshots and synchronize async CI tests (#…