We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
_flush?wait_if_ongoing
1 parent 4eec817 commit 3d7f039Copy full SHA for 3d7f039
docs/reference/migration/migrate_5_0/index-apis.asciidoc
@@ -69,3 +69,10 @@ prefer there to be only one (obvious) way to do things like this.
69
70
As of 5.0 indexing a document with `op_type=create` without specifying an ID is not
71
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