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

fix checkpoint again #342

Merged
merged 2 commits into from
Jul 26, 2023
Merged

fix checkpoint again #342

merged 2 commits into from
Jul 26, 2023

Conversation

tabokie
Copy link
Member

@tabokie tabokie commented Jul 20, 2023

Verified in tikv/tikv#15174.

Signed-off-by: tabokie <xy.tao@outlook.com>
@tabokie
Copy link
Member Author

tabokie commented Jul 21, 2023

/run-test

@@ -36,6 +36,9 @@ Status DBImpl::FlushForGetLiveFiles() {
Status status;
FlushOptions opts;
opts.allow_write_stall = true;
// In TiKV context: If tablet is to be destroyed, its background work will be
// paused. Manual flush can never make progress.
opts.check_if_compaction_disabled = true;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should all caller of FlushMemTable have this option set?
@tabokie

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Signed-off-by: tabokie <xy.tao@outlook.com>
@tabokie tabokie requested a review from tonyxuqqi July 26, 2023 00:58
@tabokie tabokie merged commit 5b9cef9 into tikv:6.29.tikv Jul 26, 2023
2 checks passed
@tabokie tabokie deleted the fix-checkpoint-again branch July 26, 2023 05:31
v01dstar pushed a commit to v01dstar/rocksdb that referenced this pull request Oct 2, 2024
Signed-off-by: Yang Zhang <yang.zhang@pingcap.com>
v01dstar pushed a commit to v01dstar/rocksdb that referenced this pull request Oct 2, 2024
Signed-off-by: Yang Zhang <yang.zhang@pingcap.com>
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.

3 participants