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) #115

Merged
merged 1 commit into from
Nov 21, 2019

Conversation

sre-bot
Copy link

@sre-bot sre-bot commented Nov 21, 2019

cherry-pick #103 to tikv-3.0


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>
@sre-bot sre-bot added status/can-merge Status: Can merge to base branch type/cherry-pick labels Nov 21, 2019
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

@codecov-io
Copy link

Codecov Report

Merging #115 into tikv-3.0 will decrease coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           tikv-3.0     #115      +/-   ##
============================================
- Coverage     85.92%   85.91%   -0.02%     
============================================
  Files            44       44              
  Lines          3063     3059       -4     
============================================
- Hits           2632     2628       -4     
  Misses          431      431

Copy link
Collaborator

@yiwu-arbug yiwu-arbug left a comment

Choose a reason for hiding this comment

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

LGTM

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

Successfully merging this pull request may close these issues.

4 participants