You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, ApplyBuckets work reasons at the BucketLevel instead of at the per-bucket level. Especially after the BucketListDB apply optimization, this means that there's some tricky logic required to keep our current place in the BucketList and make sure our iteration order is correct. We should refactor this to apply per-bucket instead of per-level to simplify the logic.
The text was updated successfully, but these errors were encountered:
# Description
Refactors `ApplyBucketsWork` to apply buckets per-bucket rather than
per-level. Deleted a lot of book keeping code referring to curr/snap
apply ordering.
Issue: stellar#4290
<!---
Describe what this pull request does, which issue it's resolving
(usually applicable for code changes).
--->
# Checklist
- [x] Reviewed the
[contributing](https://github.com/stellar/stellar-core/blob/master/CONTRIBUTING.md#submitting-changes)
document
- [ ] Rebased on top of master (no merge commits)
- [x] Ran `clang-format` v8.0.0 (via `make format` or the Visual Studio
extension)
- [x] Compiles
- [x] Ran all tests
- [ ] If change impacts performance, include supporting evidence per the
[performance
document](https://github.com/stellar/stellar-core/blob/master/performance-eval/performance-eval.md)
Currently,
ApplyBuckets
work reasons at theBucketLevel
instead of at the per-bucket level. Especially after the BucketListDB apply optimization, this means that there's some tricky logic required to keep our current place in the BucketList and make sure our iteration order is correct. We should refactor this to apply per-bucket instead of per-level to simplify the logic.The text was updated successfully, but these errors were encountered: