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

[Backport 2.x] [Tiered Caching] Bug fix for IndicesRequestCache StaleKey management #13391

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport db361ec from #13070.

…13070)

* Update IndicesRequestCache.java

Signed-off-by: Kiran Prakash <[email protected]>

* Update IndicesRequestCacheTests.java

Signed-off-by: Kiran Prakash <[email protected]>

* Update CHANGELOG.md

Signed-off-by: Kiran Prakash <[email protected]>

* revert

Signed-off-by: Kiran Prakash <[email protected]>

* revert

Signed-off-by: Kiran Prakash <[email protected]>

* Update IndicesRequestCache.java

Signed-off-by: Kiran Prakash <[email protected]>

* Update IndicesRequestCacheTests.java

Signed-off-by: Kiran Prakash <[email protected]>

* Update IndicesRequestCache.java

Signed-off-by: Kiran Prakash <[email protected]>

* Update IndicesRequestCacheTests.java

Signed-off-by: Kiran Prakash <[email protected]>

* Update IndicesRequestCache.java

Signed-off-by: Kiran Prakash <[email protected]>

* Update IndicesRequestCacheTests.java

Signed-off-by: Kiran Prakash <[email protected]>

* Update IndicesRequestCacheTests.java

Signed-off-by: Kiran Prakash <[email protected]>

* Update IndicesRequestCacheTests.java

Signed-off-by: Kiran Prakash <[email protected]>

* Update IndicesRequestCacheTests.java

Signed-off-by: Kiran Prakash <[email protected]>

* Update IndicesRequestCache.java

Signed-off-by: Kiran Prakash <[email protected]>

* Update IndicesRequestCacheTests.java

Signed-off-by: Kiran Prakash <[email protected]>

* Update IndicesRequestCacheTests.java

Signed-off-by: Kiran Prakash <[email protected]>

* Update IndicesRequestCache.java

Signed-off-by: Kiran Prakash <[email protected]>

* Update IndicesRequestCacheTests.java

Signed-off-by: Kiran Prakash <[email protected]>

* Update IndicesRequestCache.java

Signed-off-by: Kiran Prakash <[email protected]>

* Update IndicesRequestCacheTests.java

Signed-off-by: Kiran Prakash <[email protected]>

* code comments only

Signed-off-by: Kiran Prakash <[email protected]>

* docs changes

Signed-off-by: Kiran Prakash <[email protected]>

* Update CHANGELOG.md

Signed-off-by: Kiran Prakash <[email protected]>

* revert catching AlreadyClosedException

Signed-off-by: Kiran Prakash <[email protected]>

* assert

Signed-off-by: Kiran Prakash <[email protected]>

* conflicts

Signed-off-by: Kiran Prakash <[email protected]>

* Update IndicesRequestCacheTests.java

Signed-off-by: Kiran Prakash <[email protected]>

* Update IndicesRequestCache.java

Signed-off-by: Kiran Prakash <[email protected]>

* address comments

Signed-off-by: Kiran Prakash <[email protected]>

* Update IndicesRequestCache.java

Signed-off-by: Kiran Prakash <[email protected]>

* Update IndicesRequestCache.java

Signed-off-by: Kiran Prakash <[email protected]>

* address conflicts

Signed-off-by: Kiran Prakash <[email protected]>

* spotless apply

Signed-off-by: Kiran Prakash <[email protected]>

* address comments

Signed-off-by: Kiran Prakash <[email protected]>

* update code comments

Signed-off-by: Kiran Prakash <[email protected]>

* address bug & add tests

Signed-off-by: Kiran Prakash <[email protected]>

---------

Signed-off-by: Kiran Prakash <[email protected]>
(cherry picked from commit db361ec)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Copy link
Contributor

❌ Gradle check result for 1e98b93: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@dblock
Copy link
Member

dblock commented Apr 25, 2024

@dblock
Copy link
Member

dblock commented Apr 25, 2024

@kiranprakash154 could you please take a look at the failures above and file/comment if they are flakes?

@kiranprakash154
Copy link
Contributor

❌ Gradle check result for 1e98b93: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

Failed with a known flaky issue #5257

@kiranprakash154 kiranprakash154 self-assigned this Apr 25, 2024
@dblock
Copy link
Member

dblock commented Apr 25, 2024

@kiranprakash154 There are 2 different failures and #5257 is a generic catch all. If there's no specific/exact flaky test issue for each of the failures, please open one?

Copy link
Contributor

❕ Gradle check result for 1e98b93: UNSTABLE

  • TEST FAILURES:
      1 org.opensearch.remotestore.RemoteStoreStatsIT.testNonZeroPrimaryStatsOnNewlyCreatedIndexWithZeroDocs

Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure.

@kiranprakash154
Copy link
Contributor

@kiranprakash154 There are 2 different failures and #5257 is a generic catch all. If there's no specific/exact flaky test issue for each of the failures, please open one?

okay.

org.opensearch.backwards.MixedClusterClientYamlTestSuiteIT.test {p0=indices.get_field_mapping/20_missing_field/Return empty object if field doesn't exist, but index does} is known to be flaky - #2440

org.opensearch.search.aggregations.bucket.nested.NestedAggregatorTests.testNestedOrdering_random is known to be flaky - #12306

@kiranprakash154
Copy link
Contributor

kiranprakash154 commented Apr 25, 2024

❕ Gradle check result for 1e98b93: UNSTABLE

  • TEST FAILURES:
      1 org.opensearch.remotestore.RemoteStoreStatsIT.testNonZeroPrimaryStatsOnNewlyCreatedIndexWithZeroDocs

Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure.

known flaky - #10983

@kiranprakash154
Copy link
Contributor

@sohami can u help merge this ?
(cc: @sgup432 @kkhatua )

@sohami sohami merged commit 9c02f21 into 2.x Apr 25, 2024
47 checks passed
@github-actions github-actions bot deleted the backport/backport-13070-to-2.x branch April 25, 2024 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants