We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I believe that the following draining logic for a worker will work.
UP
SIGINT
DRAINING
DOWN
SYNCING
x
stateDiagram-v2 [*] --> DOWN DOWN --> SYNCING: Start Sync state SYNCING { [*] --> SYNCING_LOAD SYNCING_LOAD --> SYNCING_SUCCESS: Load Success SYNCING_LOAD --> SYNCING_RETRY_LOAD: Load Fail SYNCING_RETRY_LOAD --> SYNCING_LOAD: Retry Load SYNCING_RETRY_LOAD --> SYNCING_FAIL: Retry Limit Exceeded SYNCING_SUCCESS --> [*] } SYNCING --> UP: Sync Complete UP --> DRAINING: Start Draining state DRAINING { [*] --> DRAINING_STORE DRAINING_STORE --> DRAINING_SUCCESS: Store Success DRAINING_STORE --> DRAINING_RETRY_STORE: Store Fail DRAINING_RETRY_STORE --> DRAINING_STORE: Retry Store DRAINING_RETRY_STORE --> DRAINING_FAIL: Retry Limit Exceeded DRAINING_SUCCESS --> [*] } DRAINING --> DOWN: Drain Complete
The text was updated successfully, but these errors were encountered:
maxwnewcomer
Successfully merging a pull request may close this issue.
Draining logic
I believe that the following draining logic for a worker will work.
UP
SIGINT
to Relay nodeDRAINING
status with some TTL for each roomDRAINING
statusDOWN
SYNCING
UP
Notes
x
ms pause in functionality for the sake of consistencyNode State Flow
Changes Needed
UP
,DOWN
,DRAINING
,SYNCING
SIGINT
trigger of drainThe text was updated successfully, but these errors were encountered: