Skip to content

[Backport 2.x] Adding concurrent search versions of query count and time metrics (#9622)#9653

Merged
reta merged 3 commits intoopensearch-project:2.xfrom
jed326:backport-9622-to-2.x
Sep 4, 2023
Merged

[Backport 2.x] Adding concurrent search versions of query count and time metrics (#9622)#9653
reta merged 3 commits intoopensearch-project:2.xfrom
jed326:backport-9622-to-2.x

Conversation

@jed326
Copy link
Copy Markdown
Contributor

@jed326 jed326 commented Aug 31, 2023

Description

2.x Backport PR for concurrent segment search related metrics

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed per the DCO using --signoff
  • Commit changes are listed out in CHANGELOG.md file (See: Changelog)

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.

@jed326 jed326 force-pushed the backport-9622-to-2.x branch from 6372960 to 141a5f5 Compare August 31, 2023 01:13
@github-actions
Copy link
Copy Markdown
Contributor

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Copy Markdown
Contributor

Compatibility status:

Checks if related components are compatible with change 141a5f5

Incompatible components

Incompatible components: [https://github.com/opensearch-project/cross-cluster-replication.git, https://github.com/opensearch-project/performance-analyzer.git]

Skipped components

Compatible components

Compatible components: [https://github.com/opensearch-project/security.git, https://github.com/opensearch-project/alerting.git, https://github.com/opensearch-project/index-management.git, https://github.com/opensearch-project/anomaly-detection.git, https://github.com/opensearch-project/asynchronous-search.git, https://github.com/opensearch-project/sql.git, https://github.com/opensearch-project/observability.git, https://github.com/opensearch-project/common-utils.git, https://github.com/opensearch-project/job-scheduler.git, https://github.com/opensearch-project/reporting.git, https://github.com/opensearch-project/k-nn.git, https://github.com/opensearch-project/geospatial.git, https://github.com/opensearch-project/ml-commons.git, https://github.com/opensearch-project/notifications.git, https://github.com/opensearch-project/neural-search.git, https://github.com/opensearch-project/performance-analyzer-rca.git, https://github.com/opensearch-project/security-analytics.git]

@github-actions
Copy link
Copy Markdown
Contributor

Compatibility status:

Checks if related components are compatible with change 6372960

Incompatible components

Incompatible components: [https://github.com/opensearch-project/cross-cluster-replication.git, https://github.com/opensearch-project/performance-analyzer.git]

Skipped components

Compatible components

Compatible components: [https://github.com/opensearch-project/geospatial.git, https://github.com/opensearch-project/security.git, https://github.com/opensearch-project/notifications.git, https://github.com/opensearch-project/neural-search.git, https://github.com/opensearch-project/index-management.git, https://github.com/opensearch-project/security-analytics.git, https://github.com/opensearch-project/sql.git, https://github.com/opensearch-project/job-scheduler.git, https://github.com/opensearch-project/observability.git, https://github.com/opensearch-project/alerting.git, https://github.com/opensearch-project/k-nn.git, https://github.com/opensearch-project/anomaly-detection.git, https://github.com/opensearch-project/asynchronous-search.git, https://github.com/opensearch-project/common-utils.git, https://github.com/opensearch-project/ml-commons.git, https://github.com/opensearch-project/reporting.git, https://github.com/opensearch-project/performance-analyzer-rca.git]

@github-actions
Copy link
Copy Markdown
Contributor

Gradle Check (Jenkins) Run Completed with:

@codecov
Copy link
Copy Markdown

codecov bot commented Aug 31, 2023

Codecov Report

Merging #9653 (5cf6492) into 2.x (58ae69d) will decrease coverage by 0.08%.
Report is 6 commits behind head on 2.x.
The diff coverage is 62.94%.

@@             Coverage Diff              @@
##                2.x    #9653      +/-   ##
============================================
- Coverage     70.80%   70.73%   -0.08%     
- Complexity    57868    57871       +3     
============================================
  Files          4793     4794       +1     
  Lines        273397   273606     +209     
  Branches      40216    40259      +43     
============================================
- Hits         193583   193530      -53     
- Misses        63235    63521     +286     
+ Partials      16579    16555      -24     
Files Changed Coverage Δ
...rg/opensearch/common/settings/ClusterSettings.java 93.18% <ø> (ø)
...mmon/util/concurrent/BufferedAsyncIOProcessor.java 67.74% <0.00%> (-2.26%) ⬇️
...rc/main/java/org/opensearch/index/IndexModule.java 82.35% <ø> (ø)
...ch/repositories/blobstore/BlobStoreRepository.java 58.84% <0.00%> (-0.39%) ⬇️
.../opensearch/rest/action/cat/RestIndicesAction.java 45.00% <0.00%> (-0.78%) ⬇️
...rg/opensearch/rest/action/cat/RestNodesAction.java 50.96% <0.00%> (-1.70%) ⬇️
...g/opensearch/rest/action/cat/RestShardsAction.java 84.41% <0.00%> (-3.82%) ⬇️
...rg/opensearch/repositories/s3/S3BlobContainer.java 78.66% <33.33%> (-1.47%) ⬇️
...opensearch/index/SegmentReplicationShardStats.java 39.13% <40.00%> (+0.10%) ⬆️
...replication/common/SegmentReplicationLagTimer.java 40.00% <40.00%> (ø)
... and 15 more

... and 466 files with indirect coverage changes

@tlfeng tlfeng added backport PRs or issues specific to backporting features or enhancments v2.10.0 labels Aug 31, 2023
@jed326 jed326 marked this pull request as ready for review August 31, 2023 13:31
@jed326 jed326 requested a review from msfroh as a code owner August 31, 2023 13:31
@jed326
Copy link
Copy Markdown
Contributor Author

jed326 commented Aug 31, 2023

@reta would you mind double checking the bwc related changes in this backport PR? Thanks!

@github-actions
Copy link
Copy Markdown
Contributor

Compatibility status:

Checks if related components are compatible with change 3cac1e5

Incompatible components

Incompatible components: [https://github.com/opensearch-project/cross-cluster-replication.git, https://github.com/opensearch-project/performance-analyzer.git]

Skipped components

Compatible components

Compatible components: [https://github.com/opensearch-project/security.git, https://github.com/opensearch-project/alerting.git, https://github.com/opensearch-project/anomaly-detection.git, https://github.com/opensearch-project/index-management.git, https://github.com/opensearch-project/asynchronous-search.git, https://github.com/opensearch-project/sql.git, https://github.com/opensearch-project/common-utils.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/geospatial.git, https://github.com/opensearch-project/k-nn.git, https://github.com/opensearch-project/notifications.git, https://github.com/opensearch-project/neural-search.git, https://github.com/opensearch-project/security-analytics.git, https://github.com/opensearch-project/ml-commons.git, https://github.com/opensearch-project/performance-analyzer-rca.git]

@github-actions
Copy link
Copy Markdown
Contributor

Gradle Check (Jenkins) Run Completed with:

@jed326 jed326 marked this pull request as draft August 31, 2023 17:48
@jed326
Copy link
Copy Markdown
Contributor Author

jed326 commented Aug 31, 2023

Will use this PR to backport #9670 as well.

@jed326 jed326 force-pushed the backport-9622-to-2.x branch from 3cac1e5 to 4a4b5ee Compare September 1, 2023 20:43
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Sep 1, 2023

Compatibility status:

Checks if related components are compatible with change 4a4b5ee

Incompatible components

Incompatible components: [https://github.com/opensearch-project/performance-analyzer.git]

Skipped components

Compatible components

Compatible components: [https://github.com/opensearch-project/security.git, https://github.com/opensearch-project/alerting.git, https://github.com/opensearch-project/index-management.git, https://github.com/opensearch-project/anomaly-detection.git, https://github.com/opensearch-project/asynchronous-search.git, https://github.com/opensearch-project/sql.git, https://github.com/opensearch-project/observability.git, https://github.com/opensearch-project/job-scheduler.git, https://github.com/opensearch-project/common-utils.git, https://github.com/opensearch-project/reporting.git, https://github.com/opensearch-project/cross-cluster-replication.git, https://github.com/opensearch-project/k-nn.git, https://github.com/opensearch-project/geospatial.git, https://github.com/opensearch-project/notifications.git, https://github.com/opensearch-project/ml-commons.git, https://github.com/opensearch-project/performance-analyzer-rca.git, https://github.com/opensearch-project/neural-search.git, https://github.com/opensearch-project/security-analytics.git]

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Sep 1, 2023

Gradle Check (Jenkins) Run Completed with:

@jed326
Copy link
Copy Markdown
Contributor Author

jed326 commented Sep 4, 2023

Hey @reta now that #9670 is merged I updated this PR to do the backport for both concurrent segment search metrics PRs.
As requested, I also opened #9722 as well to apply these bwc changes on main at the same time. Could you please help review & merge both? Thanks!

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Sep 4, 2023

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Sep 4, 2023

Compatibility status:

Checks if related components are compatible with change d15943a

Incompatible components

Incompatible components: [https://github.com/opensearch-project/performance-analyzer.git]

Skipped components

Compatible components

Compatible components: [https://github.com/opensearch-project/security.git, https://github.com/opensearch-project/alerting.git, https://github.com/opensearch-project/index-management.git, https://github.com/opensearch-project/anomaly-detection.git, https://github.com/opensearch-project/asynchronous-search.git, https://github.com/opensearch-project/sql.git, https://github.com/opensearch-project/observability.git, https://github.com/opensearch-project/common-utils.git, https://github.com/opensearch-project/job-scheduler.git, https://github.com/opensearch-project/reporting.git, https://github.com/opensearch-project/cross-cluster-replication.git, https://github.com/opensearch-project/k-nn.git, https://github.com/opensearch-project/geospatial.git, https://github.com/opensearch-project/notifications.git, https://github.com/opensearch-project/ml-commons.git, https://github.com/opensearch-project/neural-search.git, https://github.com/opensearch-project/performance-analyzer-rca.git, https://github.com/opensearch-project/security-analytics.git]

@jed326 jed326 force-pushed the backport-9622-to-2.x branch from d15943a to f54ada3 Compare September 4, 2023 07:00
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Sep 4, 2023

Compatibility status:

Checks if related components are compatible with change f54ada3

Incompatible components

Incompatible components: [https://github.com/opensearch-project/performance-analyzer.git]

Skipped components

Compatible components

Compatible components: [https://github.com/opensearch-project/security.git, https://github.com/opensearch-project/alerting.git, https://github.com/opensearch-project/anomaly-detection.git, https://github.com/opensearch-project/asynchronous-search.git, https://github.com/opensearch-project/index-management.git, https://github.com/opensearch-project/sql.git, https://github.com/opensearch-project/common-utils.git, https://github.com/opensearch-project/observability.git, https://github.com/opensearch-project/reporting.git, https://github.com/opensearch-project/cross-cluster-replication.git, https://github.com/opensearch-project/job-scheduler.git, https://github.com/opensearch-project/geospatial.git, https://github.com/opensearch-project/k-nn.git, https://github.com/opensearch-project/notifications.git, https://github.com/opensearch-project/ml-commons.git, https://github.com/opensearch-project/neural-search.git, https://github.com/opensearch-project/security-analytics.git, https://github.com/opensearch-project/performance-analyzer-rca.git]

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Sep 4, 2023

Gradle Check (Jenkins) Run Completed with:

  • RESULT: UNSTABLE ❕
  • TEST FAILURES:
      1 org.opensearch.remotestore.SegmentReplicationUsingRemoteStoreIT.testNodeDropWithOngoingReplication

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Sep 4, 2023

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Sep 4, 2023

Compatibility status:

Checks if related components are compatible with change 5cf6492

Incompatible components

Incompatible components: [https://github.com/opensearch-project/performance-analyzer.git]

Skipped components

Compatible components

Compatible components: [https://github.com/opensearch-project/geospatial.git, https://github.com/opensearch-project/security.git, https://github.com/opensearch-project/notifications.git, https://github.com/opensearch-project/neural-search.git, https://github.com/opensearch-project/index-management.git, https://github.com/opensearch-project/security-analytics.git, https://github.com/opensearch-project/sql.git, https://github.com/opensearch-project/job-scheduler.git, https://github.com/opensearch-project/observability.git, https://github.com/opensearch-project/alerting.git, https://github.com/opensearch-project/k-nn.git, https://github.com/opensearch-project/cross-cluster-replication.git, https://github.com/opensearch-project/anomaly-detection.git, https://github.com/opensearch-project/asynchronous-search.git, https://github.com/opensearch-project/common-utils.git, https://github.com/opensearch-project/reporting.git, https://github.com/opensearch-project/performance-analyzer-rca.git, https://github.com/opensearch-project/ml-commons.git]

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Sep 4, 2023

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Sep 4, 2023

Gradle Check (Jenkins) Run Completed with:

@reta reta merged commit b3b1091 into opensearch-project:2.x Sep 4, 2023
@jed326 jed326 deleted the backport-9622-to-2.x branch September 13, 2023 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport PRs or issues specific to backporting features or enhancments v2.10.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants