Skip to content

replay error: use ST_TABLE_ID in find ReplayCommittedState::find_st_table#5513

Open
Shubham8287 wants to merge 1 commit into
masterfrom
shub/fix-replay
Open

replay error: use ST_TABLE_ID in find ReplayCommittedState::find_st_table#5513
Shubham8287 wants to merge 1 commit into
masterfrom
shub/fix-replay

Conversation

@Shubham8287

Copy link
Copy Markdown
Contributor

Description of Changes

ReplayCommittedState::find_st_table_row stores row_ptr from st_table in replay_table_updated, but
later dereferenced them against the user table_id.
Use ST_TABLE_ID when resolving those pointers.

Fixes that.

API and ABI breaking changes

NA.

Expected complexity level and risk

1

Testing

  1. Added unit test which exercise: let st_table_row = committed_state.find_st_table_row(table_id)?;.
  2. Being able to replay commitlog of affected database.

@Shubham8287 Shubham8287 requested review from gefjon and jsdt July 10, 2026 02:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant