Skip to content

Commit f418b6f

Browse files
authored
Use deprecated object to deprecate synced flush API
Relates: #50835 This commit updates the synced flush REST API to use the deprecated object to deprecate the whole API.
1 parent c0156cb commit f418b6f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

rest-api-spec/src/main/resources/rest-api-spec/api/indices.flush_synced.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22
"indices.flush_synced":{
33
"documentation":{
44
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-synced-flush-api.html",
5-
"description":"Performs a synced flush operation on one or more indices. Synced flush is deprecated and will be removed in 8.0. Use flush instead"
5+
"description":"Performs a synced flush operation on one or more indices."
6+
},
7+
"deprecated" : {
8+
"version" : "7.6.0",
9+
"description" : "Synced flush is deprecated and will be removed in 8.0. Use flush instead"
610
},
711
"stability":"stable",
812
"url":{

0 commit comments

Comments
 (0)