Skip to content
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

[Backport 2.x] Return unformatted Segment Replication metrics that take upload time into account for replication lag #10804

Merged
merged 1 commit into from
Oct 21, 2023

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 4f8bcff from #10723.

…into account for replication lag (#10723)

* Return unformatted segrep metrics in stats

Signed-off-by: Poojita Raj <poojiraj@amazon.com>

* Take upload time into account for replication time lag

Signed-off-by: Poojita Raj <poojiraj@amazon.com>

* unformat segrep stats

Signed-off-by: Poojita Raj <poojiraj@amazon.com>

* remove unused field names

Signed-off-by: Poojita Raj <poojiraj@amazon.com>

---------

Signed-off-by: Poojita Raj <poojiraj@amazon.com>
(cherry picked from commit 4f8bcff)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@github-actions
Copy link
Contributor

Compatibility status:

Checks if related components are compatible with change dcfa0be

Incompatible components

Incompatible components: [https://github.com/opensearch-project/security-analytics.git]

Skipped components

Compatible components

Compatible components: [https://github.com/opensearch-project/security.git, https://github.com/opensearch-project/custom-codecs.git, https://github.com/opensearch-project/geospatial.git, https://github.com/opensearch-project/index-management.git, https://github.com/opensearch-project/notifications.git, https://github.com/opensearch-project/sql.git, https://github.com/opensearch-project/job-scheduler.git, https://github.com/opensearch-project/neural-search.git, https://github.com/opensearch-project/observability.git, https://github.com/opensearch-project/k-nn.git, https://github.com/opensearch-project/cross-cluster-replication.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/performance-analyzer.git, https://github.com/opensearch-project/common-utils.git, https://github.com/opensearch-project/performance-analyzer-rca.git, https://github.com/opensearch-project/ml-commons.git, https://github.com/opensearch-project/reporting.git]

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@codecov
Copy link

codecov bot commented Oct 21, 2023

Codecov Report

Merging #10804 (dcfa0be) into 2.x (8896f58) will increase coverage by 0.02%.
Report is 2 commits behind head on 2.x.
The diff coverage is 81.03%.

@@             Coverage Diff              @@
##                2.x   #10804      +/-   ##
============================================
+ Coverage     70.94%   70.96%   +0.02%     
- Complexity    58705    58744      +39     
============================================
  Files          4843     4843              
  Lines        277261   277278      +17     
  Branches      40673    40675       +2     
============================================
+ Hits         196690   196769      +79     
+ Misses        63858    63797      -61     
+ Partials      16713    16712       -1     
Files Coverage Δ
...in/java/org/opensearch/index/ReplicationStats.java 77.41% <100.00%> (ø)
.../indices/replication/common/ReplicationTarget.java 72.50% <100.00%> (-5.14%) ⬇️
...in/java/org/opensearch/index/shard/IndexShard.java 68.85% <0.00%> (-0.21%) ⬇️
...nsearch/index/store/RemoteStoreFileDownloader.java 92.15% <84.00%> (-0.87%) ⬇️
...ices/replication/RemoteStoreReplicationSource.java 85.24% <75.00%> (-5.83%) ⬇️

... and 465 files with indirect coverage changes

@mch2 mch2 merged commit b399c67 into 2.x Oct 21, 2023
42 of 67 checks passed
@github-actions github-actions bot deleted the backport/backport-10723-to-2.x branch October 21, 2023 03:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants