2 ms·
Indeed, not very Redis-ish :) With WATCH is very easy. WATCH this keys. Perform your reads. Prepare to write in a transaction. If at least one key was modified
by antirez 16y ago
Indeed, not very Redis-ish :)
With WATCH is very easy. WATCH this keys. Perform your reads. Prepare to write in a transaction. If at least one key was modified in the meantime the transaction will fail.
- x09 16y agoSalvatore, you do realize that now you need to put a Klashnikov on the new Redis logo? :p