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 status overrided by mistake #111

Merged
merged 3 commits into from
Nov 19, 2019
Merged

Conversation

Connor1996
Copy link
Member

When InstallOutputBlobFiles, if there is an error of finishing a blob file, Titan would delete the blob file physically. But now, the non-okay-status is overridden by the okay-result of deleting files. So in the outer place, it would rewrite blob index to LSM as usual while the blob file is actually
deleted.

Signed-off-by: Connor1996 <zbk602423539@gmail.com>
@codecov-io
Copy link

codecov-io commented Nov 18, 2019

Codecov Report

Merging #111 into master will decrease coverage by 0.11%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master    #111      +/-   ##
=========================================
- Coverage   87.01%   86.9%   -0.12%     
=========================================
  Files          44      44              
  Lines        3251    3253       +2     
=========================================
- Hits         2829    2827       -2     
- Misses        422     426       +4

src/blob_gc_job.cc Outdated Show resolved Hide resolved
@Connor1996 Connor1996 added the needs-cherry-pick-3.x Type: Need cherry pick to tikv-3.x label Nov 19, 2019
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

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

sre-bot commented Nov 19, 2019

/run-all-tests

@sre-bot
Copy link

sre-bot commented Nov 19, 2019

@Connor1996 merge failed.

Signed-off-by: Connor1996 <zbk602423539@gmail.com>
Signed-off-by: Connor1996 <zbk602423539@gmail.com>
@Connor1996 Connor1996 merged commit 38e409c into tikv:master Nov 19, 2019
@Connor1996 Connor1996 deleted the fix-status branch November 19, 2019 06:29
@Connor1996 Connor1996 added needs-cherry-pick-3.x Type: Need cherry pick to tikv-3.x and removed needs-cherry-pick-3.x Type: Need cherry pick to tikv-3.x labels Nov 19, 2019
@sre-bot
Copy link

sre-bot commented Nov 19, 2019

cherry pick to tikv-3.0 in PR #113

Connor1996 pushed a commit that referenced this pull request Nov 19, 2019
* fix status override

Signed-off-by: Connor1996 <zbk602423539@gmail.com>
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.

4 participants