-
Notifications
You must be signed in to change notification settings - Fork 21
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 restartability bug for upper layer #333
Conversation
This suggests we are wrong in https://github.com/eBay/HomeStore/pull/284/files In the #284 we move the initialization of GenericReplService from I think we either |
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.
check back with #284
@xiaoxichen
if we put L198 down below L210, then the handler can not be registered before metaservice#start, which will lead to a missing raft config. well, b is acceptable, will do this! |
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #333 +/- ##
=======================================
Coverage 47.70% 47.70%
=======================================
Files 107 107
Lines 9305 9307 +2
Branches 1209 1209
=======================================
+ Hits 4439 4440 +1
+ Misses 4393 4392 -1
- Partials 473 475 +2 ☔ View full report in Codecov by Sentry. |
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.
lgtm
Though we had seen an initialized uuid default value for m_repl_app->get_my_repl_id()
and do not know the reason, but maybe
RELEASE_ASSERT(!m_my_uuid.value().is_nil(), "Uninitialized RaftReplService UUID");
ok, will add it in the later coming PR |
if it is not first-time-boot, the uuid of HO is saved in metaservice. so we need to get the uuid after metaservice is started, otherwise we will get a new default uuid