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

[gh-19729] Fix logic for updating terminal allocs on clients with max client disconnect #20181

Merged
merged 4 commits into from
Mar 26, 2024

Conversation

Juanadelacuesta
Copy link
Member

@Juanadelacuesta Juanadelacuesta commented Mar 21, 2024

Allocations with enabled max_client_disconnect and on terminal states where being ignored and not updated, causing unexpected reconciliations.

scheduler/reconcile_util.go Outdated Show resolved Hide resolved
scheduler/reconcile_util.go Outdated Show resolved Hide resolved
Co-authored-by: Tim Gross <tgross@hashicorp.com>
@Juanadelacuesta Juanadelacuesta added the backport/1.7.x backport to 1.7.x release line label Mar 28, 2024
Juanadelacuesta added a commit that referenced this pull request Mar 28, 2024
… client disconnect (#20181)

Only ignore allocs on terminal states that are updated
---------

Co-authored-by: Tim Gross <tgross@hashicorp.com>
Juanadelacuesta added a commit that referenced this pull request Mar 28, 2024
… client disconnect (#20181)

Only ignore allocs on terminal states that are updated
---------

Co-authored-by: Tim Gross <tgross@hashicorp.com>
Juanadelacuesta added a commit that referenced this pull request Mar 28, 2024
Juanadelacuesta added a commit that referenced this pull request Mar 28, 2024
… client disconnect (#20181)

Only ignore allocs on terminal states that are updated
---------

Co-authored-by: Tim Gross <tgross@hashicorp.com>
Juanadelacuesta added a commit that referenced this pull request Mar 28, 2024
… client disconnect (#20181) (#20253)

Only ignore allocs on terminal states that are updated
---------

Co-authored-by: Tim Gross <tgross@hashicorp.com>
Juanadelacuesta added a commit that referenced this pull request Apr 2, 2024
…nts with max client disconnect into release/1.6.x (#20249)

* [gh-19729] Fix logic for updating terminal allocs on clients with max client disconnect (#20181)

Only ignore allocs on terminal states that are updated
---------

Co-authored-by: Tim Gross <tgross@hashicorp.com>

* fix: update test

---------

Co-authored-by: Juana De La Cuesta <juanita.delacuestamorales@hashicorp.com>
Co-authored-by: Tim Gross <tgross@hashicorp.com>
Co-authored-by: Juanadelacuesta <8647634+Juanadelacuesta@users.noreply.github.com>
Juanadelacuesta added a commit that referenced this pull request Apr 2, 2024
…nts with max client disconnect into release/1.7.x (#20248)

* [gh-19729] Fix logic for updating terminal allocs on clients with max client disconnect (#20181)

Only ignore allocs on terminal states that are updated
---------

Co-authored-by: Tim Gross <tgross@hashicorp.com>

* [gh-19729] Fix logic for updating terminal allocs on clients with max client disconnect (#20181)

* fix: update test

---------

Co-authored-by: Juana De La Cuesta <juanita.delacuestamorales@hashicorp.com>
Co-authored-by: Tim Gross <tgross@hashicorp.com>
Co-authored-by: Juanadelacuesta <8647634+Juanadelacuesta@users.noreply.github.com>
philrenaud pushed a commit that referenced this pull request Apr 18, 2024
… client disconnect (#20181)

Only ignore allocs on terminal states that are updated
---------

Co-authored-by: Tim Gross <tgross@hashicorp.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/1.5.x backport to 1.5.x release line backport/1.6.x backport to 1.6.x release line backport/1.7.x backport to 1.7.x release line type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants