-
Notifications
You must be signed in to change notification settings - Fork 16
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
Add option to use CATCHUP_SKIP_KNOWN_RESULTS_FOR_TESTING in PubnetParallelCatchupV2 #227
Add option to use CATCHUP_SKIP_KNOWN_RESULTS_FOR_TESTING in PubnetParallelCatchupV2 #227
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This approach is okay for now. But I think after the experimental phase is done we should properly move this option to stellar core command line.
Conditionally appending options to the configmap can get out of hand quickly and be hard to maintain.
Let's not forget to create a followup issue for that.
src/MissionParallelCatchup/parallel_catchup_helm/files/worker.sh
Outdated
Show resolved
Hide resolved
src/MissionParallelCatchup/parallel_catchup_helm/files/worker.sh
Outdated
Show resolved
Hide resolved
e1eebc6
to
2c8c0bc
Compare
I was able to run with this option enabled in the |
Looks good, do you want to switch the default flag to false as @anupsdf suggested, or do that on the Jenkins side? |
2c8c0bc
to
78ac6f5
Compare
Thanks. I just pushed a change to make this default to Do you have permissions to edit the Jenkins schedule to ensure we do a once weekly non-skipping catchup run? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was able to run with this option enabled in the
test-stellar-supercluster
pipeline https://buildmeister-v3.stellar-ops.com/job/Core/job/stellar-supercluster-test/81/Looks good, do you want to switch the default flag to false as @anupsdf suggested, or do that on the Jenkins side?
Thanks. I just pushed a change to make this default to
true
. I also have this PR to updatestellar-supercluster
.Do you have permissions to edit the Jenkins schedule to ensure we do a once weekly non-skipping catchup run?
No you need to set it up. There is also the policy question of when and how we use this mode (which is separate from this PR). I'm not sure if we have a time-based CI job currently.
Just want to double check, are we sure about setting default to true
. Or should we instead have this option be opted-in, i.e. configured from outside. (which is what @MonsieurNicolas has suggested at the beginning). Since that issue is closed I suppose all the work mentioned has been completed and it is okay to turn this on by default?
src/MissionParallelCatchup/parallel_catchup_helm/files/worker.sh
Outdated
Show resolved
Hide resolved
The linked issue is referencing |
…mplating to conditionally include CATCHUP_SKIP_KNOWN_RESULTS_FOR_TESTING in PubnetParallelCatchupV2 workers stellar-core.cfg when this flag is provided.
78ac6f5
to
70e4d6f
Compare
Sounds good, thanks |
Overview
--catchup-use-known-results-for-testing
cli flag to supercluster, which resultsPubnetParallelCatchupV2
running withCATCHUP_SKIP_KNOWN_RESULTS_FOR_TESTING=true
in its configworker.catchup_skip_known_results_for_testing
kube set option, which is set to true if supercluster was run with--catchup-use-known-results-for-testing
config
volume is sourced fromstellar-core-config
configMapworker.use_known_results_config
is true, the data of thestellar-core-config
configMap
includesCATCHUP_SKIP_KNOWN_RESULTS_FOR_TESTING = true
Testing:
--ll=INFO
to allow for log message which validate results are downloaded and used for catchupPubnetParallelCatchupV2
via helm and been able to see the--use_known_results_config
flag resulting in Results being downloaded via logsstellar-supercluster
Future
It would be nice to have a dynamic (or templated) generation of config files for this mission. We use a TOML library in the other missions to generate config files, perhaps we can do something similar for
PubnetParallelCatchupV2
?