-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
schemadb: make iterator lazy #13341
Merged
Merged
schemadb: make iterator lazy #13341
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This stack of pull requests is managed by Graphite. Learn more about stacking. |
msmouse
force-pushed
the
0519-alden-lazy-iter
branch
from
May 20, 2024 03:01
e8cd268
to
336a8a4
Compare
msmouse
added
the
CICD:run-e2e-tests
when this label is present github actions will run all land-blocking e2e tests from the PR
label
May 20, 2024
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
grao1991
approved these changes
May 20, 2024
sherry-x
approved these changes
May 20, 2024
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
msmouse
force-pushed
the
0519-alden-lazy-iter
branch
from
May 20, 2024 16:19
2743f1f
to
e08fd45
Compare
This was referenced May 20, 2024
This comment has been minimized.
This comment has been minimized.
msmouse
force-pushed
the
0519-alden-lazy-iter
branch
from
May 20, 2024 18:18
c2a87eb
to
3bf9e8c
Compare
msmouse
force-pushed
the
0519-alden-lazy-iter
branch
from
May 20, 2024 18:31
3bf9e8c
to
54075c7
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
sherry-x
pushed a commit
that referenced
this pull request
May 20, 2024
* schemadb: make iterator lazy Meaning, do not advance underlying raw iter early Sometimes the second advance on the state value CF is exetremely costly due to deletions by the pruner. * [consensus] add missing check for commit cert
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Meaning, do not advance underlying raw iter early Sometimes the second advance on the state value CF is exetremely costly due to deletions by the pruner.
msmouse
force-pushed
the
0519-alden-lazy-iter
branch
from
May 21, 2024 21:51
54075c7
to
58ed49f
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
msmouse
force-pushed
the
0519-alden-lazy-iter
branch
from
May 21, 2024 23:11
58ed49f
to
a987f67
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
✅ Forge suite
|
✅ Forge suite
|
✅ Forge suite
|
heliuchuan
pushed a commit
that referenced
this pull request
Jun 5, 2024
* schemadb: make iterator lazy Meaning, do not advance underlying raw iter early Sometimes the second advance on the state value CF is exetremely costly due to deletions by the pruner. * [consensus] add missing check for commit cert
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
CICD:run-e2e-tests
when this label is present github actions will run all land-blocking e2e tests from the PR
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Meaning, do not advance underlying raw iter early
Sometimes the second advance on the state value CF is exetremely costly
due to deletions by the pruner.
Fixed issue where point-getting a state value can be extremely slow if the value gets historically updated a lot and stayed untouched within the ledger pruning window.
Type of Change
Which Components or Systems Does This Change Impact?
How Has This Been Tested?
Key Areas to Review
unit tests
Checklist