[Backport 2.x] Fetch all the locks for a shard to avoid multiple remote store calls#12037
[Backport 2.x] Fetch all the locks for a shard to avoid multiple remote store calls#12037
Conversation
…11987) * Fetch all the locks for a shard to avoid multiple calls Signed-off-by: Sachin Kale <kalsac@amazon.com> * Fix lock file comparison issue Signed-off-by: Sachin Kale <kalsac@amazon.com> * Add unit tests Signed-off-by: Sachin Kale <kalsac@amazon.com> * Add more unit tests Signed-off-by: Sachin Kale <kalsac@amazon.com> * Address PR comments Signed-off-by: Sachin Kale <kalsac@amazon.com> --------- Signed-off-by: Sachin Kale <kalsac@amazon.com> Co-authored-by: Sachin Kale <kalsac@amazon.com> (cherry picked from commit 6e744f5) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Compatibility status:Checks if related components are compatible with change 02cd2bb Incompatible componentsIncompatible components: [https://github.com/opensearch-project/custom-codecs.git, 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/job-scheduler.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/anomaly-detection.git, https://github.com/opensearch-project/index-management.git, https://github.com/opensearch-project/ml-commons.git, https://github.com/opensearch-project/security.git, https://github.com/opensearch-project/sql.git, https://github.com/opensearch-project/k-nn.git, https://github.com/opensearch-project/alerting.git] |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## 2.x #12037 +/- ##
=========================================
Coverage 71.01% 71.01%
+ Complexity 59349 59313 -36
=========================================
Files 4891 4891
Lines 279970 279974 +4
Branches 41070 41070
=========================================
+ Hits 198811 198832 +21
+ Misses 64280 64261 -19
- Partials 16879 16881 +2 ☔ View full report in Codecov by Sentry. |
Backport 6e744f5 from #11987.