Skip to content

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

Merged
losipiuk merged 1 commit intotrinodb:masterfrom
losipiuk:lo/wait-on-no-nodes
Sep 24, 2022
Merged

Reset allowed-no-matching-node-period timeout on new nodes in cluster#14256
losipiuk merged 1 commit intotrinodb:masterfrom
losipiuk:lo/wait-on-no-nodes

Conversation

@losipiuk
Copy link
Copy Markdown
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`)

@cla-bot cla-bot bot added the cla-signed label Sep 22, 2022
@losipiuk losipiuk requested a review from arhimondr September 22, 2022 14:50
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.

2 participants