[infinispan-issues] [JBoss JIRA] (ISPN-4160) Do not allow the state transfer chunk size to be <= 0

Dan Berindei (JIRA) issues at jboss.org
Fri May 9 09:35:57 EDT 2014


     [ https://issues.jboss.org/browse/ISPN-4160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Berindei updated ISPN-4160:
-------------------------------

        Status: Resolved  (was: Pull Request Sent)
    Resolution: Done


> 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}}.



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the infinispan-issues mailing list