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

In Memcached, numbers surpassing limits should produce friendlier error messages

XMLWordPrintable

      The upper limit on item size is now given by max Integer size: 2147483647, because we parse the number as Integer.
      when I try to allocate space for an item 2147483648 bytes big, it says
      SERVER_ERROR org.infinispan.server.core.ServerException: java.lang.NumberFormatException: For input string: "2147483648"

      which is kinda user unfriendly...

              rh-ee-galder Galder ZamarreƱo
              rh-ee-galder Galder ZamarreƱo
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: