Depending on your Riak version, and client library support, Riak has a return_head option for put requests. That should return everything but the current object.
In other words, it should give you the vector clock without returning the entire object. --- Jeremiah Peschka - Founder, Brent Ozar Unlimited MCITP: SQL Server 2008, MVP Cloudera Certified Developer for Apache Hadoop On Fri, Sep 20, 2013 at 6:07 PM, Gints <gints.gaili...@gmail.com> wrote: > I seem to only get the newly stored objects vclock in the response to a > HTTP > store PUT request if I ask for returnbody=true. > > Is there a way to get the vclock of the newly stored object wihout > returnbody=true? I've no use for the body, I just need the vclock, and > would > like to save on traffic, should the object I'm storing be sufficiently big. > > Thanks, > Gints > > > > > -- > View this message in context: > http://riak-users.197444.n3.nabble.com/Getting-X-Riak-Vclock-when-saving-tp4029171.html > Sent from the Riak Users mailing list archive at Nabble.com. > > _______________________________________________ > riak-users mailing list > riak-users@lists.basho.com > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com >
_______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com