-
Notifications
You must be signed in to change notification settings - Fork 503
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
exp/lighthorizon: Refactor single-process index builder. #4410
Merged
Shaptic
merged 10 commits into
stellar:lighthorizon
from
Shaptic:lighthorizon_parallel-indices
May 31, 2022
Merged
exp/lighthorizon: Refactor single-process index builder. #4410
Shaptic
merged 10 commits into
stellar:lighthorizon
from
Shaptic:lighthorizon_parallel-indices
May 31, 2022
Commits on May 25, 2022
-
- allow worker count to be a command line parameter - split work by checkpoints rather than ledgers - move actual index insertion work to helpers - move progress bar into helpers - simplify participants code, payments vs. all
Configuration menu - View commit details
-
Copy full SHA for 90d8ffa - Browse repository at this point
Copy the full SHA 90d8ffaView commit details -
Properly work on a checkpoint range at a time:
- previously, it was just arbitrary 64-ledger chunks which is not as helpful
Configuration menu - View commit details
-
Copy full SHA for 183ec35 - Browse repository at this point
Copy the full SHA 183ec35View commit details -
Configuration menu - View commit details
-
Copy full SHA for a6a33e4 - Browse repository at this point
Copy the full SHA a6a33e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for a9731bc - Browse repository at this point
Copy the full SHA a9731bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for c3ea13e - Browse repository at this point
Copy the full SHA c3ea13eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ca8cf1e - Browse repository at this point
Copy the full SHA ca8cf1eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2bc682a - Browse repository at this point
Copy the full SHA 2bc682aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ed91d7a - Browse repository at this point
Copy the full SHA ed91d7aView commit details
Commits on May 31, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 2023843 - Browse repository at this point
Copy the full SHA 2023843View commit details -
Fix off-by-one error in checkpoint index builder:
- Keeping this as-is would mean that the first chunk of ledgers will be "Checkpoint 0" which doesn't make sense in the bitmap - Calling index.setActive(0) is essentially a no-op, because no bit will ever be set. - In the case of an empty index in which the only active account checkpoint is the first one, this is indistinguishable from an index with no activity.
Configuration menu - View commit details
-
Copy full SHA for cde0ba1 - Browse repository at this point
Copy the full SHA cde0ba1View commit details
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.