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

Revert wait for flush before GC #103

Merged
merged 2 commits into from
Nov 4, 2019
Merged

Conversation

yiwu-arbug
Copy link
Collaborator

Summary:
Revert temp fix introduced in #96 which wait for memtable flush before a GC job, since potentially that can make GC starve if there are ongoing flush. We can revert the fix in favor of the fix from rocksdb upstream: tikv/rocksdb#127

Test Plan:
Make sure TitanDBTest::GCBeforeFlushCommit test still passes.

Signed-off-by: Yi Wu yiwu@pingcap.com

Signed-off-by: Yi Wu <yiwu@pingcap.com>
@yiwu-arbug yiwu-arbug requested a review from Connor1996 November 1, 2019 18:53
@codecov-io
Copy link

codecov-io commented Nov 1, 2019

Codecov Report

Merging #103 into master will increase coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #103      +/-   ##
==========================================
+ Coverage   86.93%   86.98%   +0.04%     
==========================================
  Files          44       44              
  Lines        3254     3250       -4     
==========================================
- Hits         2829     2827       -2     
+ Misses        425      423       -2

Copy link
Member

@Connor1996 Connor1996 left a comment

Choose a reason for hiding this comment

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

LGTM

@Connor1996 Connor1996 added the status/can-merge Status: Can merge to base branch label Nov 4, 2019
@CLAassistant
Copy link

CLAassistant commented Nov 4, 2019

CLA assistant check
All committers have signed the CLA.

@sre-bot
Copy link

sre-bot commented Nov 4, 2019

/run-all-tests

@sre-bot sre-bot merged commit d4cb98c into tikv:master Nov 4, 2019
@yiwu-arbug yiwu-arbug deleted the flush_revert branch November 4, 2019 22:41
@Connor1996 Connor1996 added the needs-cherry-pick-3.x Type: Need cherry pick to tikv-3.x label Nov 21, 2019
@Connor1996
Copy link
Member

/cherry-picker

@Connor1996
Copy link
Member

/cherry-pick

@Connor1996
Copy link
Member

/run-cherry-picker

@sre-bot
Copy link

sre-bot commented Nov 21, 2019

cherry pick to tikv-3.0 in PR #115

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-cherry-pick-3.x Type: Need cherry pick to tikv-3.x status/can-merge Status: Can merge to base branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants