validator_operator/validator_major_upgrades #19
Replies: 13 comments 29 replies
This comment has been hidden.
This comment has been hidden.
-
|
What does "fresh participant" means ?
What is the workflow when migration on major upgrade ?:
|
Beta Was this translation helpful? Give feedback.
-
|
Note that if you can't find the Please take a note on the day that the migration_dump was created, in case you have migrated more than once before :) |
Beta Was this translation helpful? Give feedback.
-
Would a validator create a dump before it has caught up? If no then the check for "Ingested transaction" before migrating seems redundant and should probably be removed to reduce complexity of the procedure |
Beta Was this translation helpful? Give feedback.
-
|
If you get an error like "Migration ID was incremented (to 1) but no migration dump for restoring from was specified." you are missing the |
Beta Was this translation helpful? Give feedback.
-
|
If you get an error like this, you likely have not upgraded the participant correctly to 0.5.1. |
Beta Was this translation helpful? Give feedback.
-
|
If you see an error like this you've hit a bug where users with no rights are not correctly restored. You can work around this by manually removing those users from the dump, e.g., download, and then edit with JQ using and then reupload it into the container. |
Beta Was this translation helpful? Give feedback.
-
|
If you're seeing errors related to PSQL exceptions during the upgrade you might have old data from another migration in the participant database. To fix it scale down/stop your participant, drop the participant database for the migration that you're trying to migrate to, scale the participant back up and restart the validator app. |
Beta Was this translation helpful? Give feedback.
-
So if I check my validator logs for "Ingested transactions", I can see that the last message is more than 10 minutes old: But if I search for "Wrote migration dump": It finds no results. I did also try shelling into the running container as @derrix060 The docs above just say it should be automatically created but no steps to debug if it's not created. Anything I can try? |
Beta Was this translation helpful? Give feedback.
-
|
After confirming the migration dump has been created, should I restart the validator with latest version directly, or the same version creates the dump, to consume the dump file and migrate? |
Beta Was this translation helpful? Give feedback.
-
|
Hello, I am reading the migration guide in here
I would also like to migrate our participant to use and external KMS (aws). ==> It seems like the migration would be the perfect moment to migrate our production participant from a non KMS one to a KMS-enabled one. Can someone please let me know if I missed something and this is not the case? |
Beta Was this translation helpful? Give feedback.
-
|
Hi team! I wanted to clarify one step in the backup procedure. We're using a KMS in combination with a wrapper-key. Can you confirm that when exporting the identities via /api/validator/v0/admin/participant/identities it exports the unencrypted key pair? |
Beta Was this translation helpful? Give feedback.
-
|
A few clarifications on "Deploying the Validator App and Participant". This section is about deploying on the new migration ID. Only start with the steps there once you have confirmed that a migration dump has been written. (See Catching Up Before the Migration.) k8s/HelmFollow the steps in https://docs.dev.sync.global/validator_operator/validator_major_upgrades.html#deploying-the-validator-app-and-participant-kubernetes Clarifications:
So:
Notably: No changes to the validator app database are necessary; this one is reused by the validator app across all upgrades, major or minor. For the upcoming MainNet upgrade, all required changes, with the expected correct values (pending final confirmation from the SVs), are:
Docker composeFollow the steps in https://docs.dev.sync.global/validator_operator/validator_major_upgrades.html#deploying-the-validator-app-and-participant-docker-compose
This already takes care of picking a fresh database for the participant, so no further manual config changes are necessary.
There is a typo here; the So for the upcoming MainNet upgrade, the expected correct values (pending final confirmation from the SVs) are:
Don't forget to also set Note on old participant databaseThe old participant database ( |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
validator_operator/validator_major_upgrades
https://docs.dev.sync.global/validator_operator/validator_major_upgrades.html
Beta Was this translation helpful? Give feedback.
All reactions