Skip to content

Fix testRerouteOccursOnDiskPassingHighWatermark#60869

Merged
DaveCTurner merged 3 commits intoelastic:masterfrom
DaveCTurner:2020-08-10-fix-testRerouteOccursOnDiskPassingHighWatermark
Aug 10, 2020
Merged

Fix testRerouteOccursOnDiskPassingHighWatermark#60869
DaveCTurner merged 3 commits intoelastic:masterfrom
DaveCTurner:2020-08-10-fix-testRerouteOccursOnDiskPassingHighWatermark

Conversation

@DaveCTurner
Copy link
Copy Markdown
Member

Sometimes this test would refresh the disk stats so quickly that it hit
the refresh rate limiter even though it was almost completely disabled.
This commit allows the rate limiter to be completely disabled.

Closes #60587

Sometimes this test would refresh the disk stats so quickly that it hit
the refresh rate limiter even though it was almost completely disabled.
This commit allows the rate limiter to be completely disabled.

Closes elastic#60587
@DaveCTurner DaveCTurner added >test Issues or PRs that are addressing/adding tests :Distributed/Allocation All issues relating to the decision making around placing a shard (both master logic & on the nodes) v8.0.0 v7.10.0 v7.9.1 labels Aug 10, 2020
@DaveCTurner DaveCTurner requested a review from ywelsch August 10, 2020 07:36
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-distributed (:Distributed/Allocation)

@elasticmachine elasticmachine added the Team:Distributed Meta label for distributed team. label Aug 10, 2020
Copy link
Copy Markdown
Contributor

@ywelsch ywelsch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch.

@DaveCTurner DaveCTurner merged commit 3a803c8 into elastic:master Aug 10, 2020
@DaveCTurner DaveCTurner deleted the 2020-08-10-fix-testRerouteOccursOnDiskPassingHighWatermark branch August 10, 2020 08:39
DaveCTurner added a commit that referenced this pull request Aug 10, 2020
Sometimes this test would refresh the disk stats so quickly that it hit
the refresh rate limiter even though it was almost completely disabled.
This commit allows the rate limiter to be completely disabled.

Closes #60587
DaveCTurner added a commit that referenced this pull request Aug 10, 2020
Sometimes this test would refresh the disk stats so quickly that it hit
the refresh rate limiter even though it was almost completely disabled.
This commit allows the rate limiter to be completely disabled.

Closes #60587
DaveCTurner added a commit to DaveCTurner/elasticsearch that referenced this pull request Apr 27, 2021
We reroute when the elapsed time is >= 60000ms, but the test assumes
that no reroute happens exactly at 60000ms. This commit fixes this
off-by-one-ms error.

Relates elastic#60869 which introduced this test issue
Relates elastic#68316 which mostly fixed this test issue except this one spot
Closes elastic#71424
DaveCTurner added a commit that referenced this pull request Apr 27, 2021
We reroute when the elapsed time is >= 60000ms, but the test assumes
that no reroute happens exactly at 60000ms. This commit fixes this
off-by-one-ms error.

Relates #60869 which introduced this test issue
Relates #68316 which mostly fixed this test issue except this one spot
Closes #71424
DaveCTurner added a commit that referenced this pull request Apr 27, 2021
We reroute when the elapsed time is >= 60000ms, but the test assumes
that no reroute happens exactly at 60000ms. This commit fixes this
off-by-one-ms error.

Relates #60869 which introduced this test issue
Relates #68316 which mostly fixed this test issue except this one spot
Closes #71424
DaveCTurner added a commit that referenced this pull request Apr 27, 2021
We reroute when the elapsed time is >= 60000ms, but the test assumes
that no reroute happens exactly at 60000ms. This commit fixes this
off-by-one-ms error.

Relates #60869 which introduced this test issue
Relates #68316 which mostly fixed this test issue except this one spot
Closes #71424
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed/Allocation All issues relating to the decision making around placing a shard (both master logic & on the nodes) Team:Distributed Meta label for distributed team. >test Issues or PRs that are addressing/adding tests v7.9.1 v7.10.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] MockDiskUsagesIT.testRerouteOccursOnDiskPassingHighWatermark failure

4 participants