Skip to content

Commit 3e6cf2d

Browse files
authored
Update TransportAbstractBulkAction.java (elastic#134202)
Allow require_data_stream params
1 parent 783c2a5 commit 3e6cf2d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

server/src/main/java/org/elasticsearch/action/bulk/TransportAbstractBulkAction.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
public abstract class TransportAbstractBulkAction extends HandledTransportAction<BulkRequest, BulkResponse> {
6565
private static final Logger logger = LogManager.getLogger(TransportAbstractBulkAction.class);
6666

67-
public static final Set<String> STREAMS_ALLOWED_PARAMS = new HashSet<>(8) {
67+
public static final Set<String> STREAMS_ALLOWED_PARAMS = new HashSet<>(9) {
6868
{
6969
add("error_trace");
7070
add("filter_path");
@@ -73,6 +73,7 @@ public abstract class TransportAbstractBulkAction extends HandledTransportAction
7373
add("op_type");
7474
add("pretty");
7575
add("refresh");
76+
add("require_data_stream");
7677
add("timeout");
7778
}
7879
};

0 commit comments

Comments
 (0)