issues
search
temporalio
/
samples-typescript
Other
325
stars
127
forks
source link
Fix cluster start/stop
#386
Closed
dandavison
closed
1 month ago
dandavison
commented
1 month ago
Use an update for
clusterStop
: fixes bug wherein
stop
sent while cluster is down would hang until it comes up, then take it down
Make
clusterStart
idempotent: fixes bug wherein a
start
sent while the cluster was up would overwrite the nodes data
Do
clusterStart
with lock held (otherwise an assign job could come in while it's initializing
Use an enum for cluster state instead of boolean flags
clusterStop
: fixes bug whereinstop
sent while cluster is down would hang until it comes up, then take it downclusterStart
idempotent: fixes bug wherein astart
sent while the cluster was up would overwrite the nodes dataclusterStart
with lock held (otherwise an assign job could come in while it's initializing