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 storage core when exit #3050

Merged
merged 4 commits into from
Oct 18, 2021
Merged

Fix storage core when exit #3050

merged 4 commits into from
Oct 18, 2021

Conversation

critical27
Copy link
Contributor

@critical27 critical27 commented Oct 13, 2021

I don't check it throughly, wait @liwenhui-soul to figure out.

Close #3049

@critical27 critical27 added ready-for-testing PR: ready for the CI test cherry-pick-v2.6 PR: need cherry-pick to this version type/bug Type: something is unexpected labels Oct 13, 2021
liwenhui-soul
liwenhui-soul previously approved these changes Oct 13, 2021
@critical27
Copy link
Contributor Author

The reason has been updated in #3049

@Sophie-Xie Sophie-Xie added this to the v2.6.0 milestone Oct 14, 2021
@@ -195,6 +195,9 @@ void AdminTaskManager::shutdown() {
if (unreportedAdminThread_ != nullptr) {
unreportedAdminThread_->join();
}
if (env_) {
env_->adminStore_.reset();
Copy link
Contributor

Choose a reason for hiding this comment

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

why don't stop() it before reset()

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is ok, when rocksdb is released, it will call the CancelBackgroundJob in rocksdb as well

Copy link
Contributor

Choose a reason for hiding this comment

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

Good ~

@critical27 critical27 merged commit 952eece into vesoft-inc:master Oct 18, 2021
@critical27 critical27 deleted the crash branch October 18, 2021 04:37
Sophie-Xie pushed a commit that referenced this pull request Oct 18, 2021
* although I don't have time to check why it works, but this do fix the issue

* fix ut
CPWstatic pushed a commit that referenced this pull request Oct 19, 2021
* Pass graph profile param into storage and cleanup graph storage client interfaces (#3026)

* Cleanup graph storage client interfaces

* Fix compile

* Format

* Fix shadow compile error

* Fix storage core when exit (#3050)

* although I don't have time to check why it works, but this do fix the issue

* fix ut

* Accumulate toss bug fix during test. (#3091)

* add some debug info

* accumulate bug fix for TOSS

Co-authored-by: Doodle <13706157+critical27@users.noreply.github.com>

* Support more validation when create space on an empty zone (#3065)

Co-authored-by: Yee <2520865+yixinglu@users.noreply.github.com>
Co-authored-by: Doodle <13706157+critical27@users.noreply.github.com>

* small tck fix (#3087)

Co-authored-by: jie.wang <38901892+jievince@users.noreply.github.com>

* cascading deletion and addition (#3059)

Co-authored-by: Doodle <13706157+critical27@users.noreply.github.com>

* fix toss switch not set properly (#3119)

Co-authored-by: Yee <2520865+yixinglu@users.noreply.github.com>
Co-authored-by: Doodle <13706157+critical27@users.noreply.github.com>

Co-authored-by: Yee <2520865+yixinglu@users.noreply.github.com>
Co-authored-by: Doodle <13706157+critical27@users.noreply.github.com>
Co-authored-by: lionel.liu@vesoft.com <52276794+liuyu85cn@users.noreply.github.com>
Co-authored-by: yaphet <4414314+darionyaphet@users.noreply.github.com>
Co-authored-by: kyle.cao <kyle.cao@vesoft.com>
Co-authored-by: jie.wang <38901892+jievince@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-pick-v2.6 PR: need cherry-pick to this version ready-for-testing PR: ready for the CI test type/bug Type: something is unexpected
Projects
None yet
Development

Successfully merging this pull request may close these issues.

storage core after exit
4 participants