File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
modules/transport-netty4/src/main/java/org/elasticsearch/http/netty4 Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -374,7 +374,9 @@ protected HttpMessage createMessage(String[] initialLine) throws Exception {
374
374
// combines the HTTP message pieces into a single full HTTP request (with headers and body)
375
375
final HttpObjectAggregator aggregator = new Netty4HttpAggregator (
376
376
handlingSettings .maxContentLength (),
377
- httpPreRequest -> enabled .get () == false || (httpPreRequest .rawPath ().endsWith ("/_bulk" ) == false )
377
+ httpPreRequest -> enabled .get () == false
378
+ || ((httpPreRequest .rawPath ().endsWith ("/_bulk" ) == false )
379
+ || httpPreRequest .rawPath ().startsWith ("/_xpack/monitoring/_bulk" ))
378
380
);
379
381
aggregator .setMaxCumulationBufferComponents (transport .maxCompositeBufferComponents );
380
382
ch .pipeline ()
You can’t perform that action at this time.
0 commit comments