Hide Forgot
project_key: EDG we should respond with CLIENT_ERROR on negative item sizes in set/add operations. our server: $ echo -e "set issue70 0 0 -1\r" | nc localhost 11211 SERVER_ERROR org.infinispan.server.core.ServerException: java.lang.NegativeArraySizeException original memcached implementation: $ echo -e "set issue70 0 0 -1\r" | nc localhost 11212 CLIENT_ERROR bad command line format
this is kinda related: 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...
Link: Added: This issue depends ISPN-784
Link: Added: This issue depends ISPN-785