]
RH Bugzilla Integration commented on ISPN-4160:
-----------------------------------------------
Dan Berindei <dberinde(a)redhat.com> changed the Status of [bug
Do not allow the state transfer chunk size to be <= 0
-----------------------------------------------------
Key: ISPN-4160
URL:
https://issues.jboss.org/browse/ISPN-4160
Project: Infinispan
Issue Type: Task
Components: Configuration, State Transfer
Affects Versions: 7.0.0.Alpha1
Reporter: Dan Berindei
Assignee: Vladimir Blagojevic
Fix For: 7.0.0.Alpha4
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}}.