Closed sudo-ankitmishra closed 2 years ago
When a key is to be deleted from Memcached if is not present then the client is supposed to return NOT FOUND, but I get false.
Code Attachment. echo "delete kit" | nc 0.0.0.0 11214 it returns NOT FOUND
boolean isDeleted = memcachedClient.delete("kit"); System.out.println(isDeleted); this prints false. we want NOT FOUND here as well. Thanks,
This behavior is expected, deleting a NOT FOUND item returns false.
NOT FOUND
When a key is to be deleted from Memcached if is not present then the client is supposed to return NOT FOUND, but I get false.
Code Attachment. echo "delete kit" | nc 0.0.0.0 11214 it returns NOT FOUND
boolean isDeleted = memcachedClient.delete("kit"); System.out.println(isDeleted); this prints false. we want NOT FOUND here as well. Thanks,