Closed GoogleCodeExporter closed 9 years ago
For 2nd command it'll be good to delete item if CAS is wrong.
3. Command that takes one or more keys, values, expiration and stores items if
they not exist or deletes them if they exist.
Original comment by Alexander.Petrichkovich@gmail.com
on 23 Dec 2010 at 8:38
In the ascii protocol, get and gets both will return multiple items.
In the binary protocol, you can pipeline any arbitrary mix of commands and have
proper handling of sparse results in the client.
Your third command doesn't make much sense. Semantically, I can't think of a
use case that won't just cause confusion in an application. If you have the
wrong CAS, it's because the item has been updated by something else.
store-or-delete would be very confusing semantics.
Original comment by dsalli...@gmail.com
on 23 Dec 2010 at 8:55
Sorry, 2nd command should strore multiple items.
Original comment by Alexander.Petrichkovich@gmail.com
on 23 Dec 2010 at 11:55
Original issue reported on code.google.com by
Alexander.Petrichkovich@gmail.com
on 23 Dec 2010 at 8:20