-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
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
disconnected clients: Feature branch merge #12476
disconnected clients: Feature branch merge #12476
Commits on Apr 5, 2022
-
reconciler: support disconnected clients (#12058)
* Add merge helper for string maps * structs: add statuses, MaxClientDisconnect, and helper funcs * taintedNodes: Include disconnected nodes * upsertAllocsImpl: don't use existing ClientStatus when upserting unknown * allocSet: update filterByTainted and add delayByMaxClientDisconnect * allocReconciler: support disconnecting and reconnecting allocs * GenericScheduler: upsert unknown and queue reconnecting Co-authored-by: Tim Gross <tgross@hashicorp.com>
Configuration menu - View commit details
-
Copy full SHA for 7861806 - Browse repository at this point
Copy the full SHA 7861806View commit details -
client: reconnect unknown allocations and sync state
DerekStrickland committedApr 5, 2022 Configuration menu - View commit details
-
Copy full SHA for 042a07b - Browse repository at this point
Copy the full SHA 042a07bView commit details -
NodeStatusDisconnected: support state transitions for new node status
DerekStrickland committedApr 5, 2022 Configuration menu - View commit details
-
Copy full SHA for d06155e - Browse repository at this point
Copy the full SHA d06155eView commit details -
evaluateNodePlan: validate plans for disconnected nodes
DerekStrickland committedApr 5, 2022 Configuration menu - View commit details
-
Copy full SHA for 2cea992 - Browse repository at this point
Copy the full SHA 2cea992View commit details -
reconciler: fix loop control bug
DerekStrickland committedApr 5, 2022 Configuration menu - View commit details
-
Copy full SHA for 97ce949 - Browse repository at this point
Copy the full SHA 97ce949View commit details -
disconnected clients: Add reconnect task event (#12133)
* Add TaskClientReconnectedEvent constant * Add allocRunner.Reconnect function to manage task state manually * Removes server-side push
Configuration menu - View commit details
-
Copy full SHA for 3575265 - Browse repository at this point
Copy the full SHA 3575265View commit details -
Fix client test reconnect test; Remove guard test (#12173)
* Update reconnect test to new algorithm and interface; remove guard test
Configuration menu - View commit details
-
Copy full SHA for b3fb943 - Browse repository at this point
Copy the full SHA b3fb943View commit details -
disconnected clients: Observability plumbing (#12141)
* Add disconnects/reconnect to log output and emit reschedule metrics * TaskGroupSummary: Add Unknown, update StateStore logic, add to metrics
Configuration menu - View commit details
-
Copy full SHA for 5b5c853 - Browse repository at this point
Copy the full SHA 5b5c853View commit details -
MaxClientDisconnect
Jobspec checklist (#12177)* api: Add struct, conversion function, and tests * TaskGroup: Add field, validation, and tests * diff: Add diff handler and test * docs: Update docs
Configuration menu - View commit details
-
Copy full SHA for 83dd636 - Browse repository at this point
Copy the full SHA 83dd636View commit details -
disconnected clients: ensure servers meet minimum required version (#…
…12202) * planner: expose ServerMeetsMinimumVersion via Planner interface * filterByTainted: add flag indicating disconnect support * allocReconciler: accept and pass disconnect support flag * tests: update dependent tests
Configuration menu - View commit details
-
Copy full SHA for 6329f44 - Browse repository at this point
Copy the full SHA 6329f44View commit details -
Configuration menu - View commit details
-
Copy full SHA for b317aaa - Browse repository at this point
Copy the full SHA b317aaaView commit details -
Configuration menu - View commit details
-
Copy full SHA for bab3173 - Browse repository at this point
Copy the full SHA bab3173View commit details -
comments: update some stale comments referencing deprecated config na…
…me (#12271) * comments: update some stale comments referencing deprecated config name
Configuration menu - View commit details
-
Copy full SHA for 9a82b63 - Browse repository at this point
Copy the full SHA 9a82b63View commit details -
reconciler: 2 phase reconnects and tests (#12333)
* structs: Add alloc.Expired & alloc.Reconnected functions. Add Reconnect eval trigger by. * node_endpoint: Emit new eval for reconnecting unknown allocs. * filterByTainted: handle 2 phase commit filtering rules. * reconciler: Append AllocState on disconnect. Logic updates from testing and 2 phase reconnects. * allocs: Set reconnect timestamp. Destroy if not DesiredStatusRun. Watch for unknown status.
Configuration menu - View commit details
-
Copy full SHA for 8ac3e64 - Browse repository at this point
Copy the full SHA 8ac3e64View commit details -
disconnected clients:
TaskGroup
validation (#12418)* TaskGroup: Validate that max_client_disconnect and stop_after_client_disconnect are mutually exclusive.
Configuration menu - View commit details
-
Copy full SHA for 6791147 - Browse repository at this point
Copy the full SHA 6791147View commit details
Commits on Apr 6, 2022
-
Add max client disconnect docs (#12467)
Co-authored-by: Derek Strickland <1111455+DerekStrickland@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 8493730 - Browse repository at this point
Copy the full SHA 8493730View commit details -
disconnected clients: Support operator manual interventions (#12436)
* allocrunner: Remove Shutdown call in Reconnect * Node.UpdateAlloc: Stop orphaned allocs. * reconciler: Stop failed reconnects. * Apply feedback from code review. Handle rebase conflict. * Apply suggestions from code review Co-authored-by: Tim Gross <tgross@hashicorp.com>
Configuration menu - View commit details
-
Copy full SHA for 8863d1e - Browse repository at this point
Copy the full SHA 8863d1eView commit details