Side effects of resetting the laconicd database #844

Open
opened 2024-06-17 18:06:53 +00:00 by dboreham · 1 comment
Owner
  1. Old accounts (private keys) should remain valid, but need to be re-funded to work.
  2. New deployments for "old" apps and URLs should behave gracefully (new code deployed in place of old).
  3. Removing a deployment via an ApplicationDeploymentRemovalRequest can't be done until a new deployment succeeds.
1. Old accounts (private keys) should remain valid, but need to be re-funded to work. 1. New deployments for "old" apps and URLs should behave gracefully (new code deployed in place of old). 1. Removing a deployment via an ApplicationDeploymentRemovalRequest can't be done until a new deployment succeeds.
telackey was assigned by dboreham 2024-06-17 18:06:54 +00:00
Member

I'm not quite certain of the effect, but existing webapp deployments will also been in an odd state. The code currently decided whether to run up or update based on the presence of an existing deployment record.

If we reset everything, there will be no deployment records, so under the current code, it will always run up rather than update on the first attempt to re-deploy.

That said, we could change the code to decide based on the presence of the existing deployment directory, or even its status instead.

I'm not quite certain of the effect, but existing webapp deployments will also been in an odd state. The code currently decided whether to run `up` or `update` based on the presence of an existing deployment record. If we reset everything, there will be no deployment records, so under the current code, it will always run `up` rather than `update` on the first attempt to re-deploy. That said, we could change the code to decide based on the presence of the existing deployment directory, or even its status instead.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cerc-io/stack-orchestrator#844
No description provided.