Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
BulkProcessor process every n+1 docs instead of n #4265
When you set a BulkProcessor with a bulk actions size of 100, it executes the bulk after 101 documents.
Same for size. If you set the bulk size to 1024 bytes, it will actually execute the bulk after 1025 bytes.
This patch fix it.