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

Reset allowed-no-matching-node-period timeout on new nodes in cluster #14256

Merged
merged 1 commit into from Sep 24, 2022

Conversation

losipiuk
Copy link
Member

@losipiuk losipiuk commented Sep 22, 2022

We allow for situation when there are no nodes in the cluster which match task requirement for timeout governed by
node-scheduler.allowed-no-matching-node-period config variable. Previously if new node appeared in the cluster, but could not be used because it did not have enough free resources at given moment timeout counter was not reset.
This commit changes the behaviour. If new node appears and then disappears again, the no-nodes timeout will be recounted again from zero.

( ) This is not user-visible or docs only and no release notes are required.
(x) Release notes are required, please propose a release note for me.
( ) Release notes are required, with the following suggested text:

# Section
* Improve handling of `node-scheduler.allowed-no-matching-node-period` timeout. ({issue}`14256`)

We allow for situation when there are no nodes in the cluster which
match task requirement for timeout governed by
node-scheduler.allowed-no-matching-node-period config variable.
Previously if new node appeared in the cluster, but could not be used
because it did not have enough free resources at given moment timeout
counter was not reset.
This commit changes the behaviour. If new node appears and then
disappears again, the no-nodes timeout will be recounted again from
zero.
@losipiuk losipiuk merged commit c93134b into trinodb:master Sep 24, 2022
@github-actions github-actions bot added this to the 398 milestone Sep 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

2 participants