-
Notifications
You must be signed in to change notification settings - Fork 25k
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
Deprecate synced flush #50835
Deprecate synced flush #50835
Conversation
Pinging @elastic/es-distributed (:Distributed/Distributed) |
client/rest-high-level/src/main/java/org/elasticsearch/client/IndicesClient.java
Outdated
Show resolved
Hide resolved
client/rest-high-level/src/main/java/org/elasticsearch/client/IndicesClient.java
Outdated
Show resolved
Hide resolved
client/rest-high-level/src/main/java/org/elasticsearch/client/IndicesClient.java
Outdated
Show resolved
Hide resolved
...level/src/test/java/org/elasticsearch/client/documentation/IndicesClientDocumentationIT.java
Outdated
Show resolved
Hide resolved
...level/src/test/java/org/elasticsearch/client/documentation/IndicesClientDocumentationIT.java
Outdated
Show resolved
Hide resolved
...level/src/test/java/org/elasticsearch/client/documentation/IndicesClientDocumentationIT.java
Outdated
Show resolved
Hide resolved
...level/src/test/java/org/elasticsearch/client/documentation/IndicesClientDocumentationIT.java
Outdated
Show resolved
Hide resolved
rest-api-spec/src/main/resources/rest-api-spec/api/indices.flush_synced.json
Outdated
Show resolved
Hide resolved
rest-api-spec/src/main/resources/rest-api-spec/test/indices.flush/10_basic.yml
Outdated
Show resolved
Hide resolved
rest-api-spec/src/main/resources/rest-api-spec/test/indices.flush/10_basic.yml
Outdated
Show resolved
Hide resolved
...r/src/main/java/org/elasticsearch/action/admin/indices/flush/TransportSyncedFlushAction.java
Outdated
Show resolved
Hide resolved
...r/src/main/java/org/elasticsearch/action/admin/indices/flush/TransportSyncedFlushAction.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @dnhatn!
Overall, I think the docs for this are in pretty good shape. I left several non-blocking nits throughout.
The only blocking change I requested is re: the deprecated::[]
note in synced-flush.asciidoc
. The current deprecation block isn't rendering properly. I'd also move it higher up on the page.
c5d3788
to
f6f453f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Docs LGTM. Thanks @dnhatn!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks James and Yannick! |
A normal flush has the same effect as a synced flush on Elasticsearch 7.6 or later. It's deprecated in 7.6 and will be removed in 8.0. Relates #50776
A normal flush has the same effect as a synced flush on Elasticsearch 7.6 or later. It's deprecated in 7.6 and will be removed in 8.0. Relates #50776
A normal flush has the same effect as a synced flush on Elasticsearch 7.6 or later. It's deprecated in 7.6 and will be removed in 8.0. Relates elastic#50776
Relates: #50835 This commit updates the synced flush REST API to use the deprecated object to deprecate the whole API.
Relates: elastic#50835 This commit updates the synced flush REST API spec to deprecate the whole API.
Relates: #50835 This commit updates the synced flush REST API spec to deprecate the whole API.
A normal flush has the same effect as a synced flush on Elasticsearch 7.6 or later. It's deprecated in 7.6 and will be removed in 8.0.
Relates #50776