Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-4160

Do not allow the state transfer chunk size to be <= 0

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Activity

          People

            vblagoje Vladimir Blagojevic (Inactive)
            dberinde@redhat.com Dan Berindei (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: