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

Add support for Search replica to return segrep stats #16677

Closed

Conversation

vinaykpud
Copy link
Contributor

Description

In this PR we are adding,

  • Support for search replica to return its segrep stats
  • This doesn't change any of the existing implementation stats calculation for the regular replicas
  • For search replicas we are just calculating the stats using the difference between the computed checkpoint in the shard and latest pulled checkpoint from the remote store. So this stat will help to know if any problematic replications in search replica which is taking longer.

Related Issues

Resolves #15534
Related #15306

Check List

  • Functionality includes testing.
  • API changes companion pull request created, if applicable.
  • Public documentation issue/PR created, if applicable.

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.

@github-actions github-actions bot added the v2.19.0 Issues and PRs related to version 2.19.0 label Nov 18, 2024
… replica in shards

Signed-off-by: Vinay Krishna Pudyodu <[email protected]>
Signed-off-by: Vinay Krishna Pudyodu <[email protected]>
@vinaykpud vinaykpud force-pushed the stats-search-replica branch from fbb5a20 to 86f908d Compare November 18, 2024 20:21
@vinaykpud vinaykpud closed this Nov 18, 2024
@vinaykpud vinaykpud deleted the stats-search-replica branch November 18, 2024 20:35
Copy link
Contributor

❌ Gradle check result for d01aef3: null

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v2.19.0 Issues and PRs related to version 2.19.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update Segment replication stats APIs to support pull based architecture
1 participant