Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Does the implementation handle the case that you want to do a write that is conditioned on a prior read finding no corresponding record(s)?


Of course. FDB thinks about read and write conflict ranges, which are functions of the keys, not the values (or lack thereof). A read of a non-existent key conflicts with a write to that key. A read of a range of keys conflicts with a write to a key in that range, even if that key did not have an associated value at the time of the original read.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: