All of lore.kernel.org
 help / color / mirror / Atom feed
* wip-proxy-write and (non-idempotent) client ops
@ 2015-01-19 16:50 Sage Weil
  2015-01-20  7:04 ` Wang, Zhiqiang
  0 siblings, 1 reply; 5+ messages in thread
From: Sage Weil @ 2015-01-19 16:50 UTC (permalink / raw)
  To: zhiqiang.wang, sjust, ceph-devel

Consider:

1- primary rx client delete
     proxy delete to base pool
2- primary initiate promote (list-snaps, copy-from)
3- primary rx delete reply
4- primary tx client reply
5- socket failure drops client reply
6- primary rx promote completion (enoent), writes a whiteout
7- client resents delete
8- primary replies with ENOENT

i.e., the problem seems to be that delete is not idempotent and we can't 
tell that the same client op is what triggered the delete.

We could special case delete since that is where this is noticeable, but I 
think the bigger problem is that the op history that is used for dup op 
detection is not preserved across the cache and base tier.  That is, this 
is another variation on this ticket:

	http://tracker.ceph.com/issues/8935

I have this sinking feeling we need to properly address that problem 
before we can do the write proxying...

sage

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-01-21  2:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-19 16:50 wip-proxy-write and (non-idempotent) client ops Sage Weil
2015-01-20  7:04 ` Wang, Zhiqiang
2015-01-20 15:06   ` Sage Weil
2015-01-21  2:16     ` Wang, Zhiqiang
2015-01-21  2:30       ` Sage Weil

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.