Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable inplace_update_support in crash test with unsynced data loss #12673

Closed
wants to merge 1 commit into from

Conversation

cbi42
Copy link
Member

@cbi42 cbi42 commented May 17, 2024

Summary: With unsynced data loss, we replay traces to recover expected state to DB's latest sequence number. With inplace_update_support, the largest sequence number of memtable may not reflect the latest update. This is because inplace updates in memtable do not update sequence number. So we disable inplace_update_support where traces need to be replayed.

@facebook-github-bot
Copy link
Contributor

@cbi42 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@cbi42 cbi42 requested a review from hx235 May 17, 2024 22:27
@facebook-github-bot
Copy link
Contributor

@cbi42 merged this pull request in c4782bd.

facebook-github-bot pushed a commit that referenced this pull request May 20, 2024
Summary:
the value of `inplace_update_support` option need to be fixed across runs of db_stress on the same DB (#12577). My recent fix (#12673) regressed this behavior. Also fix some existing places where this does not hold.

Pull Request resolved: #12675

Test Plan: monitor crash tests related to `inplace_update_support`.

Reviewed By: hx235

Differential Revision: D57576375

Pulled By: cbi42

fbshipit-source-id: 75b1bd233f03e5657984f5d5234dbbb1ffc35c27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants