Skip to content

Reduce max bulk size to 1mb

Ebernhardson requested to merge work/ebernhardson/elasticsearch-max-bulk into main

After some review of the related code it looks like the default value here was 5MB, even though it tried to send a 128MB bulk. Suspect that BulkRequest.internalAdd is doing a poor job of estimating the size of a scripted UpdateRequest. For now attempt to work around by setting a very low bulk limit.

Change-Id: I11b1052f9d4b01e39cc6b85c5cfd8add8bf3409a

Merge request reports