-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Make mget task claim strategy poll more frequently #190059
Make mget task claim strategy poll more frequently #190059
Conversation
/ci |
@elasticmachine merge upstream |
/ci |
…/kibana into task-manager/mget-poll-interval
/ci |
Flaky Test Runner Stats🟠 Some tests failed. - kibana-flaky-test-suite-runner#6710[❌] x-pack/test/task_manager_claimer_mget/config.ts: 0/100 tests passed. |
@elasticmachine merge upstream |
/ci |
Flaky Test Runner Stats🟠 Some tests failed. - kibana-flaky-test-suite-runner#6720[❌] x-pack/test/task_manager_claimer_mget/config.ts: 47/100 tests passed. |
/ci |
Flaky Test Runner Stats🎉 All tests passed! - kibana-flaky-test-suite-runner#6722[✅] x-pack/test/task_manager_claimer_mget/config.ts: 100/100 tests passed. |
Pinging @elastic/response-ops (Team:ResponseOps) |
💚 Build Succeeded
Metrics [docs]
History
To update your PR or re-run it, just comment with: cc @mikecote |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM,
Tested locally, works as expected
In this PR, I'm changing the default
poll_interval
to500
whenever mget claim strategy is set. This keeps the3000
value for the default task claiming strategy and settingxpack.task_manager.poll_interval
still takes precedence.I'm increasing the frequency because we no longer get as much contention when adding Kibana nodes, allowing tasks to be picked up more frequently / on-time.
To verify
3000
is the poll intervalxpack.task_manager.claim_strategy: 'unsafe_mget'
in the kibana.yml file and wait for Kibana restart500
is the poll intervalxpack.task_manager.poll_interval: 3001
and wait for Kibana restart3001
is the poll intervalxpack.task_manager.claim_strategy
setting and wait for Kibana restart3001
is still poll intervalxpack.task_manager.poll_interval
settingFlaky test runner for mget tests: https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/6722