-
Notifications
You must be signed in to change notification settings - Fork 973
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new catchup mode to use transaction results to skip failed transa…
…ction and signature verification (#4536) # Description Resolves [#X](#2814 (comment)) Adds a new config option, `CATCHUP_SKIP_KNOWN_RESULTS_FOR_TESTING`. When this config option is enabled, transaction results are downloaded from history archives for the catchup range. Failed transactions are not applied, and signatures are not verified. This mode is only available in test builds. The plan is to make this mode configurable when launching supercluster runs from jenkins, with it being enabled by default but disabled specifically for release validation when we want a more comprehensive catchup. I'll raise a separate PR for that. ## Perf testing ### Locally running catchup on 1000 ledgers: ``` user/system/total time seconds *Baseline (no skipping):* 429 / 115 / 138s *Skip Failed:* 373 / 99 / 114s (1.14x / 1.16x / 1.21x speedup over baseline) *Skip Failed + verification:* 334 / 88 / 95s (1.28x / 1.30x / 1.45x speedup over baseline) ``` ### Supercluster PubnetParallelCatchup Completed in 14h 47min (vs ~24 hours with recent releases / master HEAD). https://buildmeister-v3.stellar-ops.com/job/Core/job/stellar-supercluster/1055/ <!--- Describe what this pull request does, which issue it's resolving (usually applicable for code changes). ---> # Checklist - [ ] Reviewed the [contributing](https://github.com/stellar/stellar-core/blob/master/CONTRIBUTING.md#submitting-changes) document - [ ] Rebased on top of master (no merge commits) - [ ] Ran `clang-format` v8.0.0 (via `make format` or the Visual Studio extension) - [ ] Compiles - [ ] 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)
- Loading branch information
Showing
19 changed files
with
476 additions
and
78 deletions.
There are no files selected for viewing
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 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 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 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 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 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
Oops, something went wrong.