-
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
Ensure latest replication checkpoint post failover has correct operational primary term #11990
Ensure latest replication checkpoint post failover has correct operational primary term #11990
Conversation
Tagging @sachinpkale @ashking94 @mch2 @Bukhtawar for review |
Working on adding/fixing tests if required. |
Compatibility status:Checks if related components are compatible with change ebb5b4a Incompatible componentsIncompatible components: [https://github.com/opensearch-project/performance-analyzer.git, https://github.com/opensearch-project/cross-cluster-replication.git, https://github.com/opensearch-project/performance-analyzer-rca.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/notifications.git, https://github.com/opensearch-project/opensearch-oci-object-storage.git, https://github.com/opensearch-project/job-scheduler.git, https://github.com/opensearch-project/custom-codecs.git, https://github.com/opensearch-project/neural-search.git, https://github.com/opensearch-project/common-utils.git, https://github.com/opensearch-project/geospatial.git, https://github.com/opensearch-project/security.git, https://github.com/opensearch-project/anomaly-detection.git, https://github.com/opensearch-project/ml-commons.git, https://github.com/opensearch-project/index-management.git, https://github.com/opensearch-project/alerting.git, https://github.com/opensearch-project/sql.git, https://github.com/opensearch-project/k-nn.git] |
❌ Gradle check result for 77d94ac: 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? |
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.
Can we put an assertion during upload to ensure writes only happens on the latest primary term
Sure @Bukhtawar, will add an assertion. |
❌ Gradle check result for 69b325b: 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 9610d2d: 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 a59a276: 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? |
…over Signed-off-by: bansvaru <[email protected]>
Signed-off-by: bansvaru <[email protected]>
Signed-off-by: bansvaru <[email protected]>
Signed-off-by: bansvaru <[email protected]>
Signed-off-by: bansvaru <[email protected]>
1b762da
to
1b90a1b
Compare
❌ Gradle check result for 1b762da: 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 1b90a1b: 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]>
Signed-off-by: bansvaru <[email protected]>
❌ Gradle check result for d39fc54: 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? |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #11990 +/- ##
============================================
+ Coverage 71.28% 71.31% +0.02%
- Complexity 59414 59444 +30
============================================
Files 4925 4925
Lines 279479 279513 +34
Branches 40635 40643 +8
============================================
+ Hits 199226 199325 +99
+ Misses 63731 63605 -126
- Partials 16522 16583 +61 ☔ View full report in Codecov by Sentry. |
…ional primary term (#11990) * Force update operation primary term in replication checkout post failover Signed-off-by: bansvaru <[email protected]> (cherry picked from commit c55af66) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…ional primary term (#11990) (#12083) * Force update operation primary term in replication checkout post failover (cherry picked from commit c55af66) 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>
…ional primary term (opensearch-project#11990) * Force update operation primary term in replication checkout post failover Signed-off-by: bansvaru <[email protected]>
…ional primary term (opensearch-project#11990) * Force update operation primary term in replication checkout post failover Signed-off-by: bansvaru <[email protected]>
…ional primary term (opensearch-project#11990) * Force update operation primary term in replication checkout post failover Signed-off-by: bansvaru <[email protected]> Signed-off-by: Shivansh Arora <[email protected]>
Description
Related Issues
Resolves #[Issue number to be closed when this PR is merged]
Check List
New functionality has been documented.New functionality has javadoc addedFailing checks are inspected and point to the corresponding known issue(s) (See: Troubleshooting Failing Builds)Commit changes are listed out in CHANGELOG.md file (See: Changelog)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.