Add new telemetry for cross-cluster-replication feature - #1102
Conversation
PR Reviewer Guide 🔍(Review updated until commit 3bf379a)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Latest suggestions up to 3bf379a Explore these optional code suggestions:
Previous suggestionsSuggestions up to commit e6aaf20
Suggestions up to commit 7c916cc
|
|
Persistent review updated to latest commit e6aaf20 |
Adds a ccr-stats-v2 telemetry device that samples CCR follower stats at index level via the _remote_replication/secondary_stats API. Replication lag is reported directly by the API, so no leader stats are collected and no lag is calculated by OSB. Backport of the CcrStatsV2 change from main. Signed-off-by: Rishabh Singh <sngri@amazon.com>
For .bz2 archives, try lbzip2 before pbzip2, falling back to the standard library. Unlike pbzip2, lbzip2 parallelizes decompression of any bz2 file, including the single-stream files used by most published corpora (e.g. big5), so decompression is no longer pinned to a single core. Generalizes _do_decompress_manually to accept an ordered list of candidate external commands, and adds lbzip2 to the Docker image. Signed-off-by: Rishabh Singh <sngri@amazon.com>
|
Persistent review updated to latest commit 3bf379a |
|
The backport to |
Description
Adds a ccr-stats-v2 telemetry device that samples CCR follower stats at index level via the
_remote_replication/secondary_statsAPI. Replication lag is reported directly by the API, so no leader stats are collected and no lag is calculated by OSB.Prefer lbzip2 for parallel bz2 decompression.
For .bz2 archives, try lbzip2 before pbzip2, falling back to the standard library. Unlike pbzip2, lbzip2 parallelizes decompression of any bz2 file, including the single-stream files used by most published corpora (e.g. big5), so decompression is no longer pinned to a single core.
Generalizes _do_decompress_manually to accept an ordered list of candidate external commands, and adds lbzip2 to the Docker image.
Issues Resolved
[List any issues this PR will resolve]
Testing
[Describe how this change was tested]
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.