Skip to content
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

[REPLAY-2] Orchestration Service supports option to prefer configured integrity hashes #26

Open
ericpassmore opened this issue Nov 6, 2023 · 0 comments

Comments

@ericpassmore
Copy link
Collaborator

ericpassmore commented Nov 6, 2023

By default, expected integrity hashes are overwritten. Provide --use-configured-hash option when starting orchestration service. When enabled

  • If the configuration has an expected integrity hash this will be used to validate replay
  • The replay script will understand this option, and skip the steps of posting back start block integrity hash
  • The replay script will instead directly load the snapshot and sync until end block
  • If the configuration does not have a value for expected integrity hash the normal process will continues as before
  • The replay script will loading snapshot, terminate nodeos, and starting read only nodes, and posting back start block integrity hash
  • Following that the nodes will continue to sync to end block, and continue normal operations

Another option to --protect-configured-hash is similar. It will make sure the expected hash with a value can not be overwritten with None. It will allow new hashes values to be set over the old value.

@ericpassmore ericpassmore added this to the Leap v6.0.0 milestone Nov 21, 2023
@ericpassmore ericpassmore modified the milestones: Leap v6.0.0, Leap Dec 2024 Dec 5, 2023
@ericpassmore ericpassmore self-assigned this Dec 12, 2023
@ericpassmore ericpassmore modified the milestones: Leap Dec 2024, Leap v5.0.0-stable Dec 12, 2023
@makeplane makeplane bot changed the title Orchestration Service supports option to prefer configured integrity hashes [REPLAY-2] Orchestration Service supports option to prefer configured integrity hashes Dec 13, 2023
@ericpassmore ericpassmore removed their assignment Apr 19, 2024
@ericpassmore ericpassmore removed this from the Single Node Run milestone Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant