Skip to content
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

[WIP] disconnected clients: integration tests #12394

Draft
wants to merge 20 commits into
base: main
Choose a base branch
from

Conversation

DerekStrickland
Copy link
Contributor

Not ready for review

DerekStrickland and others added 20 commits February 16, 2022 13:50
* 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 <[email protected]>
disconnected clients: manage and integrate new node and allocations statuses
* Add TaskClientReconnectedEvent constant
* Add allocRunner.Reconnect function to manage task state manually
* Removes server-side push
* Update reconnect test to new algorithm and interface; remove guard test
* Add disconnects/reconnect to log output and emit reschedule metrics

* TaskGroupSummary: Add Unknown, update StateStore logic, add to metrics
* api: Add struct, conversion function, and tests
* TaskGroup: Add field, validation, and tests
* diff: Add diff handler and test
* docs: Update docs
…12202)

* planner: expose ServerMeetsMinimumVersion via Planner interface
* filterByTainted: add flag indicating disconnect support
* allocReconciler: accept and pass disconnect support flag
* tests: update dependent tests
…me (#12271)

* comments: update some stale comments referencing deprecated config name
@DerekStrickland DerekStrickland added this to the 1.3.0 milestone Mar 28, 2022
@DerekStrickland DerekStrickland self-assigned this Mar 28, 2022
@DerekStrickland DerekStrickland force-pushed the f-disconnected-client-allocation-handling branch from ff9ed55 to 6791147 Compare April 5, 2022 21:29
Base automatically changed from f-disconnected-client-allocation-handling to main April 6, 2022 14:11
@DerekStrickland DerekStrickland removed this from the 1.3.0 milestone Apr 20, 2022
@tgross tgross added the stage/needs-rebase This PR needs to be rebased on main before it can be backported to pick up new BPA workflows label May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stage/needs-rebase This PR needs to be rebased on main before it can be backported to pick up new BPA workflows theme/edge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants