New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement the atomic DEL command in Scylla to support the multiple keys. #5334
Comments
@fastio, what did you mean "delete multiple keys atomically" - if one of them is missing, none of the deletes are done? Is this a Redis feature?
|
Sorry, It's a mistake here. I want say that we can delete multiple keys at once using the DEL command of Redis. In the Redis implementation, the DEL command does not remove multiple keys
You are right. I agree with you. I think users are concerned about whether the keys are deleted correctly in most use scenarios. @nyh, So we do not support the second feature that the DEL command returns the count of really deleted keys, and only support the syntax of deleting multiple keys in one command. If having an efficient way to implement it in the future, we will support this feature. |
The current implementation of Redis DEL command in Scylla does not support to delete multiple keys.
It should support delete multiple keys atomically, return the number of actually deleted keys.
As @nyh mentioned in the Redis API in Scylla , there features should be supported eventually.
The text was updated successfully, but these errors were encountered: