-
Notifications
You must be signed in to change notification settings - Fork 171
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
Return virtual index when creating and getting a log entry #725
Conversation
Use the virtual index when signing an entry on creation, and return that to the end user. There shouldn't be any observable difference here at the moment, until we actually shard the log. Signed-off-by: Priya Wadhwa <[email protected]>
ed27e97
to
cae670c
Compare
Codecov Report
@@ Coverage Diff @@
## main #725 +/- ##
==========================================
+ Coverage 47.56% 47.68% +0.11%
==========================================
Files 65 66 +1
Lines 5670 5696 +26
==========================================
+ Hits 2697 2716 +19
- Misses 2683 2691 +8
+ Partials 290 289 -1
Continue to review full report at Codecov.
|
@priyawadhwa can you confirm there's no risk of |
7f87b47
to
98cd99e
Compare
Also make all fields private and only accessible via funcition calls Signed-off-by: Priya Wadhwa <[email protected]>
98cd99e
to
abd00a0
Compare
hey @bobcallaway for sure, made a couple changes:
|
I'm testing this branch on top of #623 and got an index of 0 even though I have a few populated shards already:
I may be doing something wrong, though, my brain is a bit fried. If you don't mind waiting to merge until I can double check on it tomorrow, that would help! |
57340c8
to
288f486
Compare
Signed-off-by: Priya Wadhwa <[email protected]>
288f486
to
eb98b43
Compare
It was user error / usage ambiguity: I was not manually passing in a |
I can rebase #727 on top of this once it's merged. |
@bobcallaway is this good to merge now? |
Use the virtual index when signing an entry on creation, and return that to the end user.
There shouldn't be any observable difference here at the moment, until we actually shard the log.
Summary
Ticket Link
Fixes
Release Note