You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The max_write_buffer_size parameter name is misleading: it gives the impression that you are controlling directly the size of the allocated write buffer per shard, however it is a threshold controlling the amount of subsequent reads.
it's possible that one read brings max_batch_operation_count32768 # of docs, the subsequent read sees that max_write_buffer_size is still higher (33000) and retrieves another batch of 32768 documents. In this case and instance, the _ccr/stats field number_of_queued_writes correctly reports 65535.
One suggestion would be to rename: max_write_buffer_size -> max_subsequent_reads_into_write_buffer or replace subsequent with next to make it shorter. Any other suggestion is welcome of course.
The text was updated successfully, but these errors were encountered:
The max_write_buffer_size parameter name is misleading: it gives the impression that you are controlling directly the size of the allocated write buffer per shard, however it is a threshold controlling the amount of subsequent reads.
For example with the following index settings:
it's possible that one read brings
max_batch_operation_count
32768 # of docs, the subsequent read sees thatmax_write_buffer_size
is still higher (33000) and retrieves another batch of32768
documents. In this case and instance, the_ccr/stats
fieldnumber_of_queued_writes
correctly reports65535
.One suggestion would be to rename:
max_write_buffer_size
->max_subsequent_reads_into_write_buffer
or replacesubsequent
withnext
to make it shorter. Any other suggestion is welcome of course.The text was updated successfully, but these errors were encountered: