OpenSearch icon indicating copy to clipboard operation
OpenSearch copied to clipboard

[Feature Request] Background Tasks

Open linuxpi opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe

With Offline fleet, data nodes and Offline Fleet nodes itself can submit background tasks to Offline Fleet. At any point, the no of Tasks submitted might be too much for available nodes in the Offline Fleet to distribute amongst themselves.

Even if we do try to assign a task to a particular node right after its submitted, the node may or may not have resources at that time to start the task and would need to put it into a “Queue”. Apart from that, if the node goes down, and this Queue is not persisted in Remote, all those tasks in Queue are lost.

Describe the solution you'd like

To support various background tasks to be run on dedicated/separate fleet of nodes, we need to explore and propose ideas around how to model tasks and submit for execution of the dedicated fleet

RFC - https://github.com/opensearch-project/OpenSearch/issues/12361

Related component

Storage

Describe alternatives you've considered

No response

Additional context

No response

linuxpi avatar Mar 18 '24 14:03 linuxpi

Design Details outlined in https://github.com/opensearch-project/OpenSearch/issues/13554

linuxpi avatar May 07 '24 05:05 linuxpi

@linuxpi do we need to move this to 2.17?

getsaurabh02 avatar Aug 12 '24 20:08 getsaurabh02