Add indexing throttle on merge pressure for DataFormatAwareEngine - #22319
Conversation
f9b0b95 to
af9a3f0
Compare
PR Reviewer Guide 🔍(Review updated until commit a969638)Here are some key observations to aid the review process:
|
|
Persistent review updated to latest commit af9a3f0 |
PR Code Suggestions ✨Latest suggestions up to a969638
Previous suggestionsSuggestions up to commit af9a3f0
|
When outstanding merges (active + pending) exceed maxMergeCount, the MergeScheduler now activates indexing throttle via the engine's existing IndexingThrottler, serializing write threads to a single thread until merge pressure subsides. This mirrors the behavior already present in InternalEngine's EngineMergeScheduler. Signed-off-by: Shailesh-Kumar-Singh <shaileshkumarsingh260@gmail.com>
af9a3f0 to
a969638
Compare
|
Persistent review updated to latest commit a969638 |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #22319 +/- ##
=========================================
Coverage 73.39% 73.40%
- Complexity 76048 76092 +44
=========================================
Files 6076 6076
Lines 345462 345485 +23
Branches 49725 49729 +4
=========================================
+ Hits 253554 253589 +35
+ Misses 71702 71646 -56
- Partials 20206 20250 +44 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
rayshrey
left a comment
There was a problem hiding this comment.
Looks good to me, please attach the testing results
…gine (opensearch-project#22319)" This reverts commit 86d0f52. Signed-off-by: rayshrey <rayshrey@amazon.com>
…ensearch-project#22319) When outstanding merges (active + pending) exceed maxMergeCount, the MergeScheduler now activates indexing throttle via the engine's existing IndexingThrottler, serializing write threads to a single thread until merge pressure subsides. This mirrors the behavior already present in InternalEngine's EngineMergeScheduler. Signed-off-by: Shailesh-Kumar-Singh <shaileshkumarsingh260@gmail.com>
…gine (opensearch-project#22319)" (opensearch-project#22335) This reverts commit 86d0f52. Signed-off-by: rayshrey <rayshrey@amazon.com>

When outstanding merges (active + pending) exceed maxMergeCount, the MergeScheduler now activates indexing throttle via the engine's existing IndexingThrottler, serializing write threads to a single thread until merge pressure subsides. This mirrors the behavior already present in InternalEngine's EngineMergeScheduler.
Description
[Describe what this change achieves]
Related Issues
Resolves #[Issue number to be closed when this PR is merged]
Check List
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.