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
So the pattern is, putAll 10240 entries, then putAll 1 entry, putAll 10240 entries again, then putAll 1 entry and so on.
Which isn't optimal, it should simply put 10240 entries consistently based on the config above. Note that the default write-behind values (flush 10240 and batch 512) exhibit similar behavior, i.e. during a flush, put a couple of 512 batches, then put 1.
With the following write-behind config :
I get following behavior:
So the pattern is, putAll 10240 entries, then putAll 1 entry, putAll 10240 entries again, then putAll 1 entry and so on.
Which isn't optimal, it should simply put 10240 entries consistently based on the config above. Note that the default write-behind values (flush 10240 and batch 512) exhibit similar behavior, i.e. during a flush, put a couple of 512 batches, then put 1.
My workaround is to set:
i.e. 1 less than the batch size, which gives expected behavior:
but this isn't intuitive. When flush size is a multiple of batch size, then behavior should align.
The text was updated successfully, but these errors were encountered: