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

Improve chain-reset helm chart #785

Open
Pitasi opened this issue May 13, 2022 · 0 comments
Open

Improve chain-reset helm chart #785

Pitasi opened this issue May 13, 2022 · 0 comments

Comments

@Pitasi
Copy link
Contributor

Pitasi commented May 13, 2022

After we have zero downtime bulk imports we can have huge improvements to the chain reset helm chart, in particular:

  • there's no need to disable the chain and stop all the nodes
  • there's no need to erase all the data for that chain

That said, the bulk import still needs to run with a PVC that is not currently being used by a running node (due to LevelDB limitations).

The new helm chart should do something like this (but this is only one possibility):

  • stop only one of the replicas of the chain, let's say osmosis-3
  • run bulk import against the osmosis-3 PVC
  • recreate/start the osmosis-3 pod

Another possibility to be investigated would be (if state-sync is fast enough):

  • create a temp pvc
  • start a new temp node, let's call it osmosis-temp
  • run state-sync and wait for it to populate the pvc
  • delete the osmosis-temp pod
  • run bulk import against osmosis-temp pvc
  • delete osmosis-temp pvc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant