Repository navigation
swarm: ignore completed job tasks in constraint enforcer - #52715
lohitkolluri wants to merge 1 commit into
Conversation
thaJeztah
left a comment
There was a problem hiding this comment.
This is modifying files vendored from https://github.com/moby/swarmkit and should be fixed there.
|
Thanks for the review and for catching that. Since this touches vendored Once that is merged, I’ll update Moby through the usual vendor sync workflow and refresh this PR accordingly (or replace it entirely if that’s preferred). |
|
Sync update: the actual fix is now proposed upstream in moby/swarmkit#3237. |
|
@thaJeztah would you mind taking a look at this upstream PR? If it helps coordination, feel free to assign yourself as reviewer. |
|
Hey Quick follow-up: Drew has approved the upstream PR (moby/swarmkit#3237). Should I keep this PR open pending the upstream merge and vendor sync, or would you prefer I close it and submit a new PR once the dependency update is ready? |
Update swarmkit to latest master to include the upstream fix for constraint enforcer counting completed replicated-job tasks against node capacity (moby/swarmkit#3237). Signed-off-by: Lohit Kolluri <[email protected]>
ac1980c to
0fa212d
Compare
Summary
replicated-jobtask history from consuming node capacity and causing false rejections.Test plan
make builddocker run ... /usr/local/go/bin/go test ./vendor/github.com/moby/swarmkit/v2/manager/orchestrator/constraintenforcer -count=1Fixes #52652