[PATCH 5/9] libceph: resubmit linger ops when pg mapping changes

2012-07-20 Thread Sage Weil
The linger op registration (i.e., watch) modifies the object state. As such, the OSD will reply with success if it has already applied without doing the associated side-effects (setting up the watch session state). If we lose the ACK and resubmit, we will see success but the watch will not be corr

Re: [PATCH 5/9] libceph: resubmit linger ops when pg mapping changes

2012-07-24 Thread Yehuda Sadeh
On Fri, Jul 20, 2012 at 5:41 PM, Sage Weil wrote: > The linger op registration (i.e., watch) modifies the object state. As > such, the OSD will reply with success if it has already applied without > doing the associated side-effects (setting up the watch session state). > If we lose the ACK and r

Re: [PATCH 5/9] libceph: resubmit linger ops when pg mapping changes

2012-07-30 Thread Alex Elder
On 07/20/2012 07:41 PM, Sage Weil wrote: > The linger op registration (i.e., watch) modifies the object state. As > such, the OSD will reply with success if it has already applied without > doing the associated side-effects (setting up the watch session state). > If we lose the ACK and resubmit, w

Re: [PATCH 5/9] libceph: resubmit linger ops when pg mapping changes

2012-07-30 Thread Sage Weil
On Mon, 30 Jul 2012, Alex Elder wrote: > On 07/20/2012 07:41 PM, Sage Weil wrote: > > The linger op registration (i.e., watch) modifies the object state. As > > such, the OSD will reply with success if it has already applied without > > doing the associated side-effects (setting up the watch sessi