Skip to content

Commit

Permalink
[8.x] Set MGet as the claim strategy for serverless (#194694) (#196349)
Browse files Browse the repository at this point in the history
# Backport

This will backport the following commits from `main` to `8.x`:
- [Set MGet as the claim strategy for serverless
(#194694)](#194694)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Mike
Côté","email":"mikecote@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-10-15T15:21:09Z","message":"Set
MGet as the claim strategy for serverless (#194694)\n\nIn this PR, I'm
modifying the `config/serverless.yml` file to
contain\r\n`xpack.task_manager.claim_strategy: mget`. We've rolled out
the mget\r\ntask claimer in phases using the kibana-controller, now that
all\r\nprojects are using the mget task claiming strategy, we can move
the\r\nconfig here and cleanup all the places in the kibana-controller
that set\r\nthis flag.\r\n\r\nOnce this commit rolls out to all
serverless projects, I'll be able to\r\nstart cleaning up the
kibana-controller.\r\n\r\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"1bc487c1bf49d49d7d1573c20f9ff5be375c0c4a","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Feature:Task
Manager","Team:ResponseOps","v9.0.0","backport:prev-minor","v8.16.0"],"title":"Set
MGet as the claim strategy for
serverless","number":194694,"url":"https://github.com/elastic/kibana/pull/194694","mergeCommit":{"message":"Set
MGet as the claim strategy for serverless (#194694)\n\nIn this PR, I'm
modifying the `config/serverless.yml` file to
contain\r\n`xpack.task_manager.claim_strategy: mget`. We've rolled out
the mget\r\ntask claimer in phases using the kibana-controller, now that
all\r\nprojects are using the mget task claiming strategy, we can move
the\r\nconfig here and cleanup all the places in the kibana-controller
that set\r\nthis flag.\r\n\r\nOnce this commit rolls out to all
serverless projects, I'll be able to\r\nstart cleaning up the
kibana-controller.\r\n\r\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"1bc487c1bf49d49d7d1573c20f9ff5be375c0c4a"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/194694","number":194694,"mergeCommit":{"message":"Set
MGet as the claim strategy for serverless (#194694)\n\nIn this PR, I'm
modifying the `config/serverless.yml` file to
contain\r\n`xpack.task_manager.claim_strategy: mget`. We've rolled out
the mget\r\ntask claimer in phases using the kibana-controller, now that
all\r\nprojects are using the mget task claiming strategy, we can move
the\r\nconfig here and cleanup all the places in the kibana-controller
that set\r\nthis flag.\r\n\r\nOnce this commit rolls out to all
serverless projects, I'll be able to\r\nstart cleaning up the
kibana-controller.\r\n\r\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"1bc487c1bf49d49d7d1573c20f9ff5be375c0c4a"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Mike Côté <mikecote@users.noreply.github.com>
  • Loading branch information
kibanamachine and mikecote authored Oct 15, 2024
1 parent e07f0d9 commit 11f535a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ uiSettings:
labs:dashboard:deferBelowFold: false

# Task Manager
xpack.task_manager.claim_strategy: mget
xpack.task_manager.allow_reading_invalid_state: false
xpack.task_manager.request_timeouts.update_by_query: 60000
xpack.task_manager.metrics_reset_interval: 120000
Expand Down

0 comments on commit 11f535a

Please sign in to comment.