Skip to content

Conversation

@JeremyDahlgren
Copy link
Contributor

Fixes the final assertion in
testRestoreSnapshotAllocationDoesNotExceedWatermarkWithMultipleRestores() that wasn't addressed with the fix in PR #127615 for issue #127286.

To reproduce the failure more reliably on my local machine I forced usableSpace = shardSizes.getSmallestShardSize() and indexRandom(true, indexName, 100) to build smaller shards and keep the usable space at the minimum.

Closes #127787

Fixes the final assertion in
testRestoreSnapshotAllocationDoesNotExceedWatermarkWithMultipleRestores()
that wasn't addressed with the fix in PR 127615 for issue 127286.

Closes elastic#127787
@JeremyDahlgren JeremyDahlgren requested a review from nicktindall May 7, 2025 16:10
@JeremyDahlgren JeremyDahlgren 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) auto-backport Automatically create backport pull requests when merged Team:Distributed Coordination (obsolete) Meta label for Distributed Coordination team. Obsolete. Please do not use. v8.19.0 v9.0.1 v9.1.0 v8.18.2 labels May 7, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-distributed-coordination (Team:Distributed Coordination)

Copy link
Contributor

@DaveCTurner DaveCTurner left a comment

Choose a reason for hiding this comment

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

Test was muted - this PR should remove the mute; also I left a comment.

Copy link
Contributor

@DaveCTurner DaveCTurner left a comment

Choose a reason for hiding this comment

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

LGTM (one request for a code comment)

Co-authored-by: David Turner <[email protected]>
@JeremyDahlgren JeremyDahlgren merged commit 98296d7 into elastic:main May 12, 2025
17 checks passed
@elasticsearchmachine
Copy link
Collaborator

💔 Backport failed

Status Branch Result
8.19 Commit could not be cherrypicked due to conflicts
9.0 Commit could not be cherrypicked due to conflicts
8.18 Commit could not be cherrypicked due to conflicts

You can use sqren/backport to manually backport by running backport --upstream elastic/elasticsearch --pr 127846

JeremyDahlgren added a commit to JeremyDahlgren/elasticsearch that referenced this pull request May 12, 2025
Fixes the final assertion in
testRestoreSnapshotAllocationDoesNotExceedWatermarkWithMultipleRestores()
that wasn't addressed with the fix in PR 127615 for issue 127286.

Closes elastic#127787

Co-authored-by: David Turner <[email protected]>
(cherry picked from commit 98296d7)

# Conflicts:
#	muted-tests.yml
@JeremyDahlgren
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
8.18

Questions ?

Please refer to the Backport tool documentation

@JeremyDahlgren
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
8.19

Questions ?

Please refer to the Backport tool documentation

JeremyDahlgren added a commit to JeremyDahlgren/elasticsearch that referenced this pull request May 12, 2025
Fixes the final assertion in
testRestoreSnapshotAllocationDoesNotExceedWatermarkWithMultipleRestores()
that wasn't addressed with the fix in PR 127615 for issue 127286.

Closes elastic#127787

Co-authored-by: David Turner <[email protected]>
(cherry picked from commit 98296d7)

# Conflicts:
#	muted-tests.yml
@JeremyDahlgren
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
9.0

Questions ?

Please refer to the Backport tool documentation

JeremyDahlgren added a commit to JeremyDahlgren/elasticsearch that referenced this pull request May 12, 2025
Fixes the final assertion in
testRestoreSnapshotAllocationDoesNotExceedWatermarkWithMultipleRestores()
that wasn't addressed with the fix in PR 127615 for issue 127286.

Closes elastic#127787

Co-authored-by: David Turner <[email protected]>
(cherry picked from commit 98296d7)

# Conflicts:
#	muted-tests.yml
JeremyDahlgren added a commit that referenced this pull request May 13, 2025
Fixes the final assertion in
testRestoreSnapshotAllocationDoesNotExceedWatermarkWithMultipleRestores()
that wasn't addressed with the fix in PR 127615 for issue 127286.

Closes #127787

Co-authored-by: David Turner <[email protected]>
(cherry picked from commit 98296d7)
JeremyDahlgren added a commit that referenced this pull request May 13, 2025
Fixes the final assertion in
testRestoreSnapshotAllocationDoesNotExceedWatermarkWithMultipleRestores()
that wasn't addressed with the fix in PR 127615 for issue 127286.

Closes #127787

Co-authored-by: David Turner <[email protected]>
(cherry picked from commit 98296d7)
JeremyDahlgren added a commit that referenced this pull request May 13, 2025
Fixes the final assertion in
testRestoreSnapshotAllocationDoesNotExceedWatermarkWithMultipleRestores()
that wasn't addressed with the fix in PR 127615 for issue 127286.

Closes #127787

Co-authored-by: David Turner <[email protected]>
(cherry picked from commit 98296d7)
benchaplin pushed a commit to benchaplin/elasticsearch that referenced this pull request May 20, 2025
Fixes the final assertion in
testRestoreSnapshotAllocationDoesNotExceedWatermarkWithMultipleRestores()
that wasn't addressed with the fix in PR 127615 for issue 127286.

Closes elastic#127787

Co-authored-by: David Turner <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Automatically create backport pull requests when merged backport pending :Distributed/Allocation All issues relating to the decision making around placing a shard (both master logic & on the nodes) Team:Distributed Coordination (obsolete) Meta label for Distributed Coordination team. Obsolete. Please do not use. >test Issues or PRs that are addressing/adding tests v8.18.2 v8.19.0 v9.0.1 v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] DiskThresholdDeciderIT testRestoreSnapshotAllocationDoesNotExceedWatermarkWithMultipleRestores failing

3 participants