-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Implement fixed interval refresh task scheduling #17777
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
Implement fixed interval refresh task scheduling #17777
Conversation
4771ed7
to
11bc39a
Compare
❌ Gradle check result for 11bc39a: 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? |
11bc39a
to
5c26a50
Compare
Signed-off-by: Ashish Singh <[email protected]>
5c26a50
to
dc2db9f
Compare
❌ Gradle check result for dc2db9f: 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? |
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #17777 +/- ##
============================================
- Coverage 72.51% 72.36% -0.15%
+ Complexity 66142 66050 -92
============================================
Files 5356 5356
Lines 306421 306446 +25
Branches 44393 44395 +2
============================================
- Hits 222192 221772 -420
- Misses 66024 66551 +527
+ Partials 18205 18123 -82 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Description
Added fixed interval scheduling capability for refresh tasks to ensure consistent intervals between refreshes. Key changes:
cluster.index.refresh.fixed_interval_scheduling.enabled
(default: false)AbstractAsyncTask
to track last run time and calculate dynamic sleep durationsRelated Issues
Meta issue: #17776
Check List
[ ] API changes companion pull request 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.