threefoldtech / 0-db

Fast write ahead persistent redis protocol key-value store
Apache License 2.0
39 stars 10 forks source link

zdbd: implement GETDEL command #135

Open maxux opened 2 years ago

maxux commented 2 years ago

Implement GETDEL command which atomically GET then DELETE the key. Useful to avoid race-condition client-side when using a namespace as a list and pop an element.