-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Replaced CPU load average logic with AverageTracker classes. Default thresholds modified #18666
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
base: main
Are you sure you want to change the base?
Conversation
…Thresholds modified Signed-off-by: Harsh Kothari <[email protected]>
…Thresholds modified Signed-off-by: Harsh Kothari <[email protected]>
Signed-off-by: Harsh Kothari <[email protected]>
Signed-off-by: Harsh Kothari <[email protected]>
❌ Gradle check result for 3c4e687: FAILURE 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? |
… for Regexp queries introduced in OpenSearch 3.0 (opensearch-project#18640) * FIx ~ bug Signed-off-by: Prudhvi Godithi <[email protected]> * Update changelog Signed-off-by: Prudhvi Godithi <[email protected]> --------- Signed-off-by: Prudhvi Godithi <[email protected]>
* Fix bug in replication lag computation. This change fixes a bug with replication lag computation to correctly use epoch reference point with Instant.now() and DateUtils. This change also fixes pruning logic to correctly remove the latest synced to checkpoint from tracking. Previously we would only prune up to the latest. This ensures that when a new checkpoint is eventually received we aren't incorrectly computing lag from the synced-to checkpoint. Signed-off-by: Marc Handalian <[email protected]> * add changelog entry Signed-off-by: Marc Handalian <[email protected]> * Fix flaky test to hardcode time lag between checkpoint arrival. Signed-off-by: Marc Handalian <[email protected]> --------- Signed-off-by: Marc Handalian <[email protected]>
Signed-off-by: Harsh Kothari <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #18666 +/- ##
============================================
+ Coverage 72.72% 72.74% +0.02%
- Complexity 68409 68440 +31
============================================
Files 5566 5569 +3
Lines 314292 314369 +77
Branches 45579 45588 +9
============================================
+ Hits 228554 228682 +128
+ Misses 67153 67130 -23
+ Partials 18585 18557 -28 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
server/src/main/java/org/opensearch/index/autoforcemerge/ForceMergeManagerSettings.java
Show resolved
Hide resolved
server/src/main/java/org/opensearch/index/autoforcemerge/ResourceTrackerProvider.java
Show resolved
Hide resolved
Signed-off-by: Harsh Kothari <[email protected]>
server/src/main/java/org/opensearch/index/autoforcemerge/ResourceTrackerProvider.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/opensearch/index/autoforcemerge/AutoForceMergeManager.java
Show resolved
Hide resolved
…s logic Signed-off-by: Harsh Kothari <[email protected]>
❌ Gradle check result for 972b1bd: FAILURE 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? |
…s logic Signed-off-by: Harsh Kothari <[email protected]>
server/src/main/java/org/opensearch/index/autoforcemerge/ResourceTrackerProvider.java
Outdated
Show resolved
Hide resolved
❌ Gradle check result for a61045d: FAILURE 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? |
Signed-off-by: Harsh Kothari <[email protected]>
Signed-off-by: Harsh Kothari <[email protected]>
❌ Gradle check result for 5d0223c: FAILURE 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? |
Signed-off-by: Harsh Kothari <[email protected]>
Replaced CPU load average logic with AverageTracker classes.
Default thresholds modified
Relevant JUnits added / modified
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.