]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
objecter: resend all writes after osdmap loses the full flag
authorJosh Durgin <josh.durgin@inktank.com>
Fri, 6 Dec 2013 01:36:33 +0000 (17:36 -0800)
committerSage Weil <sage@inktank.com>
Mon, 30 Dec 2013 16:38:20 +0000 (08:38 -0800)
commitf5b801eb72b5fb49ab85d66d1f8acd598f4611c6
tree967fd5afdedabe3b0872e20cc30fee31a8389e56
parentae81b156567287961cd64f6d82f84ee80a9fc494
objecter: resend all writes after osdmap loses the full flag

Now that the osd does not respond if it gets a map with the full flag
set first, clients need to resend all writes.

Clients talking to old osds are still subject to the race condition,
so both sides must be upgraded to avoid it.

Refs: #6938
Backport: dumpling, emperor
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
(cherry picked from commit e32874fc5aa6f59494766b7bbeb2b6ec3d8f190e)
src/osdc/Objecter.cc
src/osdc/Objecter.h