RGWMetadataManager::pre_modify will set the write_ver if nothing else has
for sure (I dug up that use to make sure I wasn't crazy), and I think there
are other places that do a bit more (although I could be misremembering).

See, this is the disadvantage of having unclear interfaces, because then
you either need to remember all the exceptions, or follow some rules even
when they aren't convenient/necessary because doing otherwise imposes too
high a cognitive load or risk of bugs. :p

Software Engineer #42 @ http://inktank.com | http://ceph.com


On Tue, Jun 25, 2013 at 3:29 PM, Yehuda Sadeh <notifications@github.com>wrote:

> In src/rgw/rgw_user.cc:
>
> >  {
> >    bufferlist bl;
> >    info.encode(bl);
> >    int ret;
> > +  RGWObjVersionTracker ot;
>
> actually it's an optional input. We can turn it into in/out and re-set it
> in the end, but we're not using it like that afaik.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/ceph/ceph/pull/289/files#r4879711>
> .
>