-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Conversation
The reason has been updated in #3049 |
@@ -195,6 +195,9 @@ void AdminTaskManager::shutdown() { | |||
if (unreportedAdminThread_ != nullptr) { | |||
unreportedAdminThread_->join(); | |||
} | |||
if (env_) { | |||
env_->adminStore_.reset(); |
There was a problem hiding this comment.
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()
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good ~
* although I don't have time to check why it works, but this do fix the issue * fix ut
* 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>
I don't check it throughly, wait @liwenhui-soul to figure out.
Close #3049