-
Notifications
You must be signed in to change notification settings - Fork 75
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
refactor: refactor propose id into <client_id>#<seq_num>
#466
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #466 +/- ##
=======================================
Coverage 54.13% 54.13%
=======================================
Files 102 102
Lines 17512 17526 +14
Branches 17512 17526 +14
=======================================
+ Hits 9480 9488 +8
- Misses 7465 7472 +7
+ Partials 567 566 -1
☔ 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
Signed-off-by: iGxnon <igxnon@gmail.com>
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
Please briefly answer these questions:
what problem are you trying to solve? (or if there's no problem, what's the motivation for this change?)
This PR refactors ProposeId into
<client_id>#<seq_num>
, The client_id will be generated by the lease manager(not implemented in this PR), and the seq_num will ensure that all IDs are unique and ordered under the same client_id.what changes does this pull request make?
As above
are there any non-obvious implications of these changes? (does it break compatibility with previous versions, etc)
No