Skip to content

[9.0] Fix reporting pollEnabled config (#228707)#228949

Merged
ersin-erdal merged 1 commit intoelastic:9.0from
ersin-erdal:backport/9.0/pr-228707
Jul 22, 2025
Merged

[9.0] Fix reporting pollEnabled config (#228707)#228949
ersin-erdal merged 1 commit intoelastic:9.0from
ersin-erdal:backport/9.0/pr-228707

Conversation

@ersin-erdal
Copy link
Contributor

Backport

This will backport the following commits from main to 9.0:

Questions ?

Please refer to the Backport tool documentation

Fixes: elastic#226506

This PR fixes the bug: `xpack.reporting.queue.pollEnabled` config to be
ignored by the `mget` claim strategy.

## To verify:

Set  `xpack.reporting.queue.pollEnabled: false` in your kibana.yml.
Then try to generate a report.
The task should be successfully created but its status should remain as
`pending` on the reports page.

<img width="999" height="343" alt="Screenshot 2025-07-21 at 02 35 40"
src="https://github.com/user-attachments/assets/0e7d5959-76c4-4519-ac3e-a3ca56f57f37"
/>

(cherry picked from commit 8690830)

# Conflicts:
#	x-pack/platform/plugins/shared/task_manager/server/task_claimers/strategy_mget.test.ts
#	x-pack/platform/plugins/shared/task_manager/server/task_pool/cost_capacity.ts
#	x-pack/platform/plugins/shared/task_manager/server/task_pool/worker_capacity.ts
@ersin-erdal ersin-erdal added the backport This PR is a backport of another PR label Jul 22, 2025
@ersin-erdal ersin-erdal enabled auto-merge (squash) July 22, 2025 11:51
@ersin-erdal ersin-erdal merged commit b3d3521 into elastic:9.0 Jul 22, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants