Skip to content

[Reporting] investigate reported issues with xpack.reporting.queue.pollEnabled no longer working #226506

@pmuellr

Description

@pmuellr

We have a few SDHs that seem to indicate that xpack.reporting.queue.pollEnabled is no longer working - setting it to false still allows reports to be generated.

As a work-around, you can exclude the task via task manager config:

xpack.task_manager.unsafe.exclude_task_types: ['report:execute']

I have a hunch this may be related to our change from the ubq task claimer to mget task claimer. Here's some code in reporting that sets task maxConcurrency:

protected getMaxConcurrency() {
return this.opts.config.queue.pollEnabled ? 1 : 0;
}

So this sets the value to 0 (when the setting is false), which may be something the mget task claimer doesn't deal with correctly. As the author of that code many moons ago, I can believe it :-)

Metadata

Metadata

Assignees

Labels

Feature:Reporting:FrameworkReporting issues pertaining to the overall frameworkFeature:Task ManagerTeam:ResponseOpsPlatform ResponseOps team (formerly the Cases and Alerting teams) t//bugFixes for quality problems that affect the customer experiencequick-winRelatively small effort issue that is either high value or benefits a stakeholder

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions