Skip to content

Commit 3d7f039

Browse files
committed
Add migration guide note for _flush?wait_if_ongoing (#20603)
This change adds a note to the migration guide for the change of the default value from `false` to `true`. Relates to #20597
1 parent 4eec817 commit 3d7f039

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/reference/migration/migrate_5_0/index-apis.asciidoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,10 @@ prefer there to be only one (obvious) way to do things like this.
6969

7070
As of 5.0 indexing a document with `op_type=create` without specifying an ID is not
7171
supported anymore.
72+
73+
==== Flush API
74+
75+
The `wait_if_ongoing` flag default has changed to `true` causing `_flush` calls to wait and block
76+
if another flush operation is currently running on the same shard. In turn, if `wait_if_ongoing` is set to
77+
`false` and another flush operation is already running the flush is skipped and the shards flush call will return
78+
immediately without any error. In previous versions `flush_not_allowed` exceptions where reported for each skipped shard.

0 commit comments

Comments
 (0)