-
Task
-
Resolution: Done
-
Major
-
7.0.0.Alpha1
-
None
The state transfer chunk size is used in other places as well, and the case of chunkSize <= 0 has to be handled everywhere independently. StateTransferConfigurationBuilder should validate that chunkSize > 0, so that users of the chunk size setting don't need a default value.
The users will still be able to force state transfer to transfer everything at once with chunkSize == Integer.MAX_VALUE.