-
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
handle unexpected exception on success callback of translog upload #12577
handle unexpected exception on success callback of translog upload #12577
Conversation
Signed-off-by: Varun Bansal <[email protected]>
Compatibility status:Checks if related components are compatible with change f511475 Incompatible componentsSkipped componentsCompatible componentsCompatible components: [https://github.com/opensearch-project/custom-codecs.git, https://github.com/opensearch-project/asynchronous-search.git, https://github.com/opensearch-project/neural-search.git, https://github.com/opensearch-project/flow-framework.git, https://github.com/opensearch-project/cross-cluster-replication.git, https://github.com/opensearch-project/reporting.git, https://github.com/opensearch-project/job-scheduler.git, https://github.com/opensearch-project/security-analytics.git, https://github.com/opensearch-project/geospatial.git, https://github.com/opensearch-project/opensearch-oci-object-storage.git, https://github.com/opensearch-project/notifications.git, https://github.com/opensearch-project/common-utils.git, https://github.com/opensearch-project/k-nn.git, https://github.com/opensearch-project/observability.git, https://github.com/opensearch-project/anomaly-detection.git, https://github.com/opensearch-project/ml-commons.git, https://github.com/opensearch-project/alerting.git, https://github.com/opensearch-project/performance-analyzer-rca.git, https://github.com/opensearch-project/index-management.git, https://github.com/opensearch-project/sql.git, https://github.com/opensearch-project/security.git, https://github.com/opensearch-project/performance-analyzer.git] |
❕ Gradle check result for da709a6: 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 ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #12577 +/- ##
=========================================
Coverage 71.43% 71.43%
+ Complexity 59960 59948 -12
=========================================
Files 4984 4984
Lines 282247 282251 +4
Branches 40952 40952
=========================================
+ Hits 201617 201635 +18
+ Misses 63954 63864 -90
- Partials 16676 16752 +76 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Varun Bansal <[email protected]>
Changes LGTM. Can we please add UTs for the change? |
server/src/main/java/org/opensearch/index/translog/transfer/FileTransferTracker.java
Show resolved
Hide resolved
Like @sachinpkale mentioned, please add unit tests. |
Signed-off-by: Varun Bansal <[email protected]>
85bb7fb
to
1406e16
Compare
❌ Gradle check result for 1710cfd: 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 85bb7fb: 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 1406e16: 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: Varun Bansal <[email protected]>
❌ Gradle check result for 87ede1b: TIMEOUT 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: Varun Bansal <[email protected]>
…12577) * handle unexpected exception on success callback of translog upload Signed-off-by: Varun Bansal <[email protected]> (cherry picked from commit 4a0feee) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…12577) (#12684) * handle unexpected exception on success callback of translog upload (cherry picked from commit 4a0feee) Signed-off-by: Varun Bansal <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…pensearch-project#12577) * handle unexpected exception on success callback of translog upload Signed-off-by: Varun Bansal <[email protected]>
…pensearch-project#12577) * handle unexpected exception on success callback of translog upload Signed-off-by: Varun Bansal <[email protected]>
…pensearch-project#12577) * handle unexpected exception on success callback of translog upload Signed-off-by: Varun Bansal <[email protected]> Signed-off-by: Shivansh Arora <[email protected]>
Description
Related Issues
#12544
Check List
[ ] New functionality includes testing.[ ] All tests pass[ ] New functionality has been documented.[ ] New functionality has javadoc added[ ] Public documentation issue/PR createdBy 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.