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

Feature enhancement: make some long running operations can be tracked by _tasks API #624

Closed
gaobinlong opened this issue Feb 17, 2023 · 3 comments

Comments

@gaobinlong
Copy link
Contributor

gaobinlong commented Feb 17, 2023

This is the code implementation task for opensearch-project/OpenSearch#6228. We should add some enhancement for the following long running operations to make them can be tracked by _tasks API :

  • shrink
  • split
  • clone
  • open
  • forcemerge

We can implement this by adding a new query parameter wait_for_completion to the APIs, when the parameter is set to false, then the API will return a task immediately and run asynchronously, when the operation completes its result will be written to .tasks index.

@gaobinlong
Copy link
Contributor Author

The PR has been submitted yet, now wait the core team to review the code.

@gaobinlong
Copy link
Contributor Author

The PR is in reviewing process, one member of the core team has approved the PR, now wait another member to review the PR.

@gaobinlong
Copy link
Contributor Author

The PR has been merged yet, close this issue as it's done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants