Add wait support to more commands #72
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Several more CLI (and API) commands would benefit from a
--waitflag to block them until the task is complete.Off-hand some examples:
pvc vm shutdown/pvc vm restart(wait until out ofshutdownstate)pvc vm migrate/pvc vm move/pvc vm unmigrate(wait until out ofmigratestate)pvc node primary/pvc node secondary(wait until new primary is established; might be tricky as this is not relayed)changed milestone to %1
changed the description
changed milestone to %2
mentioned in commit
78780039dementioned in commit
45040a5635mentioned in commit
07577a52a9mentioned in commit
99f579e41aImplemented the first two options; the third will require more work, investigating.
mentioned in commit
0aefafa7f7mentioned in commit
8678dedfeaOption 3 on the API side turned out to not be possible, since the API terminates during the state transition. It might be possible to implement as a client-only function.
Option 3 might work better if the domain state was set to "transitioning" on the primary node during the cutover; would be a bit more complex but provide better visibility into the state on both sides of the API switchover.
Flow would be something like:
mentioned in commit
d2a5fe59c0closed via commit
39ce704969