Skip to content
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

Allow the user to configure a managed index job to execute continuously #48

Open
adityaj1107 opened this issue Jun 3, 2021 · 0 comments
Labels
enhancement New request

Comments

@adityaj1107
Copy link
Contributor

Issue by dbbaughe
Tuesday Oct 06, 2020 at 22:40 GMT
Originally opened as opendistro-for-elasticsearch/index-management#301


Currently we split every execution of a managed index into individual steps that can be executed in isolation based off the metadata and state of the cluster. But, when you have a state with a couple actions that could all execute immediately it could take a while for processing them.

Let's take an example:

You apply a policy that looks like (quick syntax) to an index that has existed for a while:
(start) -> (hot: rollover(30gb)) -[7d]-> (warm: replicacount(1), allocate()) -[30d]-> (delete: delete())

Perhaps this index is already over 7d and already has 30gb, but you'll wait a while for it to:
Initialize
Attempt to rollover
Wait for rollover
Transition to warm
Set replica count to 1
Allocate to specific node

It would be nice to let it do all of the above without any delay if the user wants. We could introduce a flag on the policy that tells the runner to keep executing the steps as long as it's possible and utilize the renewLease method that is being added to the job scheduler.

@adityaj1107 adityaj1107 added the enhancement New request label Jun 3, 2021
thalurur pushed a commit to thalurur/open-index-management that referenced this issue Oct 22, 2021
)

* Adds draggable transitions and transition content

Signed-off-by: Drew Baugher <[email protected]>

* Converts DraggableAction to DraggleItem to be used by both actions and transitions

Signed-off-by: Drew Baugher <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New request
Projects
None yet
Development

No branches or pull requests

1 participant