-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
Run a separate in memory snapshot to reduce number of entries stored in raft memory storage #18825
Conversation
Skipping CI for Draft Pull Request. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files
... and 13 files with indirect coverage changes @@ Coverage Diff @@
## main #18825 +/- ##
==========================================
- Coverage 68.80% 68.73% -0.08%
==========================================
Files 420 420
Lines 35575 35583 +8
==========================================
- Hits 24479 24458 -21
- Misses 9670 9696 +26
- Partials 1426 1429 +3 Continue to review full report in Codecov by Sentry.
|
d0cff01
to
2dd72a2
Compare
2a560ea
to
df6ba3f
Compare
ping @ahrtr |
Overall looks good to me. We don't keep up to 100K (--snapshot-count) + 5K (catch-up-entries) raft log entries any more, instead, we only keep at most 100 (--compact-raft-log-interval-indices) + 5K. |
df6ba3f
to
75def3f
Compare
75def3f
to
3f30099
Compare
3f30099
to
3b59eea
Compare
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
c2f9cb8
to
e4d3691
Compare
/retest |
e4d3691
to
45fc4c3
Compare
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
…CompactRaftLog Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
…in raft memory storage Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
45fc4c3
to
6f10631
Compare
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
6f10631
to
4989834
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ahrtr, serathius The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
Part of #17098
Alternative to #18635
Goal: Reduce number of raft entries stored in memory
Context:
Proposal:
Benchmark results
./bin/tools/benchmark put --total=15000 --val-size=100000