Skip to content

Conversation

@opensearch-trigger-bot
Copy link
Contributor

Backport e1a4125 from #8863.

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@mch2
Copy link
Member

mch2 commented Jul 26, 2023

Gradle Check (Jenkins) Run Completed with:

#8850

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@Poojita-Raj
Copy link
Contributor

Poojita-Raj commented Jul 26, 2023

There's a failure that was previously closed out - timeout issue: org.opensearch.indices.replication.SegmentReplicationRelocationIT.testNewlyAddedReplicaIsUpdated

#6459

This test is failing in two ways.
First it fails when copying segments from the remote store and there is a cksum mismatch. In this case
it is not guaranteed the directory implementation will replace the existing file when copying from the store.  This change ensures the mismatched file is cleaned up but only if the shard is not serving reads.  In that case we fail the shard so it is re-recovered rather than deleting the segment underneath it.

This test also fails with a divide by 0 in RemoteStoreRefreshListener.

Signed-off-by: Marc Handalian <[email protected]>
(cherry picked from commit e1a4125)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@mch2 mch2 force-pushed the backport/backport-8863-to-2.x branch from 2de97cc to 4b3d61d Compare July 26, 2023 17:28
@mch2
Copy link
Member

mch2 commented Jul 26, 2023

Pushed a rebase here.

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

  • RESULT: UNSTABLE ❕
  • TEST FAILURES:
      1 org.opensearch.search.SearchWeightedRoutingIT.testStrictWeightedRoutingWithCustomString

@mch2 mch2 merged commit c0da9f0 into 2.x Jul 26, 2023
@mch2 mch2 deleted the backport/backport-8863-to-2.x branch July 26, 2023 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants