You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TN GetByFilter misses replacement append after merge transfer #29284
After inserting one row, updating it, and committing a merge that produces a new data object, TN may select the merge output row first. When the transferred tombstone removes that RowID, the lookup does not fall back to the replacement row in the appendable object.
Observed behavior:
GetByFilter returns not found;
a subsequent insert with the same primary key can pass deduplication.
Reproduction
Regression test: TestGetByFilterAfterMergeKeepsTheNewAppend in pkg/vm/engine/tae/db/test/db_test.go.
The fix keeps appendable and non-appendable RowID candidates separately, applies tombstone filtering to both, and prefers the live appendable replacement row.
Activity
fix(tae): preserve replacement rows across merge tombstones (#29283)