ajtack/riak-cpp — Issue #3: Implement puts not preceded by a get on the same object.
Author: ajtack
Created: 2011-10-26 16:38:06+00:00
State: open

Currently, one has to `PUT` in the following sequence.

auto o = store(...).bucket("docs")["test"];
auto result = o.fetch();
result.wait();

// now o has the vector clock cached.
o.put("new value");

Unless we want to force users to ALWAYS consider siblings (which seems like too much overhead), one should be able to execute the last line and have riak automatically get the latest vector clock and push against it. Siblings will happen either way, actually.