-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Create a clone of local segements size map used for Remote Segment Stats until sync to remote completes #11896
Create a clone of local segements size map used for Remote Segment Stats until sync to remote completes #11896
Conversation
…ats until sync to remote completes Signed-off-by: bansvaru <[email protected]>
Compatibility status:Checks if related components are compatible with change db96d34 Incompatible componentsIncompatible components: [https://github.com/opensearch-project/performance-analyzer.git, https://github.com/opensearch-project/performance-analyzer-rca.git, https://github.com/opensearch-project/cross-cluster-replication.git] Skipped componentsCompatible componentsCompatible components: [https://github.com/opensearch-project/asynchronous-search.git, https://github.com/opensearch-project/security-analytics.git, https://github.com/opensearch-project/observability.git, https://github.com/opensearch-project/reporting.git, https://github.com/opensearch-project/job-scheduler.git, https://github.com/opensearch-project/opensearch-oci-object-storage.git, https://github.com/opensearch-project/k-nn.git, https://github.com/opensearch-project/custom-codecs.git, https://github.com/opensearch-project/common-utils.git, https://github.com/opensearch-project/notifications.git, https://github.com/opensearch-project/index-management.git, https://github.com/opensearch-project/ml-commons.git, https://github.com/opensearch-project/anomaly-detection.git, https://github.com/opensearch-project/neural-search.git, https://github.com/opensearch-project/geospatial.git, https://github.com/opensearch-project/alerting.git, https://github.com/opensearch-project/sql.git, https://github.com/opensearch-project/security.git] |
❕ Gradle check result for 8d6c34b: 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:
Additional details and impacted files@@ Coverage Diff @@
## main #11896 +/- ##
============================================
+ Coverage 71.28% 71.36% +0.08%
- Complexity 59414 59505 +91
============================================
Files 4925 4925
Lines 279479 279508 +29
Branches 40635 40641 +6
============================================
+ Hits 199226 199476 +250
+ Misses 63731 63485 -246
- Partials 16522 16547 +25 ☔ View full report in Codecov by Sentry. |
server/src/main/java/org/opensearch/index/remote/RemoteSegmentTransferTracker.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update on how many iterations we have run for asserting the fix in flakiness of this test.
1000 iterations. earlier issue used to popup within 300 iterations |
Signed-off-by: bansvaru <[email protected]>
❌ Gradle check result for c257994: 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: bansvaru <[email protected]>
❌ Gradle check result for 7875161: 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? |
org.opensearch.cluster.MinimumClusterManagerNodesIT.testThreeNodesNoClusterManagerBlock #10006 flaky tests failing |
Should we give #11908 a try out ? This is getting too complex . |
Lets fix this flaky test and I (or whoever can) can attempt the simplification of the listener. |
Can we attempt it now (just POCs and finalizing approach) and then come back to this PR depending upon the complexity ? If we can achieve it now, we wouldn't be needing this PR at all . If it is burning problem, we can always mute the test and it can get resolved once we simplify this issue. Also we would need to get this fixed by 2.12 as it can cause refreshes to get stuck forever due to above NPE . |
Sure @gbbafna . Let me try it out quickly and see what can we do here to simplify the design |
Signed-off-by: bansvaru <[email protected]>
❌ Gradle check result for 4d0de06: 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: bansvaru <[email protected]>
❕ Gradle check result for db96d34: 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. |
…ats until sync to remote completes (#11896) Signed-off-by: bansvaru <[email protected]> (cherry picked from commit 57cc0dd) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…ats until sync to remote completes (#11896) (#12143) (cherry picked from commit 57cc0dd) Signed-off-by: bansvaru <[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>
…ats until sync to remote completes (opensearch-project#11896) Signed-off-by: bansvaru <[email protected]>
…ats until sync to remote completes (opensearch-project#11896) Signed-off-by: bansvaru <[email protected]>
…ats until sync to remote completes (opensearch-project#11896) Signed-off-by: bansvaru <[email protected]> Signed-off-by: Shivansh Arora <[email protected]>
Description
Related Issues
Resolves #11025 and #9774
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.