-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[BUG] _clone does not accept wait_for_completion=true in params #7419
Comments
Maybe related PR: #6434 |
Also happens for
|
hi @VladutZzZ @danandreicarp, which OpenSearch version did you use? The parameter |
I used 2.5, but the documentation for this feature is lacking. This was working in older versions of ElasticSearch so I assumed it would be available in OpenSearch as well. Thanks! |
I think yes, the related PR #6434 was merged in 2.7, we can see it in the release page: https://github.com/opensearch-project/OpenSearch/releases, and I just tried the parameter in 2.9, it works well. Besides, forcemerge API in Elasticsearch 7.10.2 doesn't have that parameter, so it's not available in OpenSearch until 2.7. |
I think this is resolved as "works as expected since 2.7", lmk otherwise! |
Hello,
In public documentation of _clone https://opensearch.org/docs/latest/api-reference/index-apis/clone/,
wait_for_completion
is presented as accepted parameter in URL. But when is used, an error is thrown:To Reproduce
Run next POST request:
Expected behavior
Index is cloned and request will wait to finish.
The text was updated successfully, but these errors were encountered: