-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
BugFix: call listener.onFailure on failure to pin the timestamp #16248
Conversation
...r/src/internalClusterTest/java/org/opensearch/remotestore/RemoteStorePinnedTimestampsIT.java
Outdated
Show resolved
Hide resolved
❌ Gradle check result for 8854340: 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? |
❌ Gradle check result for d627609: 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? |
❌ Gradle check result for d627609: 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? |
Signed-off-by: Sachin Kale <sachinpkale@gmail.com>
Signed-off-by: Sachin Kale <sachinpkale@gmail.com>
Signed-off-by: Sachin Kale <sachinpkale@gmail.com>
d627609
to
1466a73
Compare
❕ Gradle check result for 1466a73: UNSTABLE Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #16248 +/- ##
============================================
+ Coverage 71.97% 72.01% +0.03%
+ Complexity 64771 64741 -30
============================================
Files 5302 5302
Lines 302473 302473
Branches 43699 43699
============================================
+ Hits 217715 217832 +117
+ Misses 66950 66754 -196
- Partials 17808 17887 +79 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Sachin Kale <sachinpkale@gmail.com> (cherry picked from commit 58adc18) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…search-project#16248) Signed-off-by: Sachin Kale <sachinpkale@gmail.com>
…search-project#16248) Signed-off-by: Sachin Kale <sachinpkale@gmail.com>
…search-project#16248) Signed-off-by: Sachin Kale <sachinpkale@gmail.com>
Description
now() - Lookbak Interval
, we throwIllegalArgumentException
RemoteStorePinnedTimestampService.pinTimestamp
is async, on any failure,listener.onFailure()
should be called.OpenSearch/server/src/main/java/org/opensearch/node/remotestore/RemoteStorePinnedTimestampService.java
Lines 132 to 140 in acf209f
Related Issues
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.