Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Expose APPEND_IF_FITS to clients #22
We already had an atomic mutation, APPEND_IF_FITS, that was recognized by the server insofar as it would apply mutations of that type. It was only exposed to users who were using the NativeAPI, which meant that none of the bindings could make use of it. (We even had some
This operation is a little bit spicier than your average atomic mutation in that a naïve user might find themselves in the situation where they lose data because they append to a key without reading it and, oops, exceed the maximum value size (100 kB, but tweakable with knobs). I included a warning message telling people as such, but it takes a pretty scary warning message to convince people not to do things. One thing we could do is make people set some kind of transaction option (like
Also, 6 pm Friday PRs are the best PRs.