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

[release-1.0] cherry pick add manual gc #6326

Merged
merged 4 commits into from
Apr 20, 2018

Conversation

zhangjinpeng87
Copy link
Contributor

@zhangjinpeng87 zhangjinpeng87 commented Apr 20, 2018

cherry pick 9fe407f

Copy link
Contributor

@disksing disksing left a comment

Choose a reason for hiding this comment

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

LGTM.

}

if concurrency <= 0 {
log.Fatalf("[gc worker] gc concurrency should greater than 0, current concurrency: %v", concurrency)
Copy link
Member

@coocood coocood Apr 20, 2018

Choose a reason for hiding this comment

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

We don't need to log Fatal, it exits the process.
We can just return the error.

@coocood
Copy link
Member

coocood commented Apr 20, 2018

LGTM

@coocood
Copy link
Member

coocood commented Apr 20, 2018

/run-all-tests tidb-test=release-1.0 tidb-private-test=release-1.0 tikv=release-1.0

@zhangjinpeng87 zhangjinpeng87 merged commit 4c7ee35 into pingcap:release-1.0 Apr 20, 2018
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