]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
PG: retry GetLog() each time we get a notify in Incomplete
authorSamuel Just <sam.just@inktank.com>
Tue, 26 Nov 2013 21:20:21 +0000 (13:20 -0800)
committerSage Weil <sage@inktank.com>
Mon, 7 Apr 2014 15:41:41 +0000 (08:41 -0700)
commit3d31cf012a59e1fea8080b13bdc06c9021ba0656
tree37a37190e54bea25c3249372c961ca6b8cb926e6
parent1f80bbdf45439c7224ed52e4956973fc6d007848
PG: retry GetLog() each time we get a notify in Incomplete

If for some reason there are no up OSDs in the history which
happen to have usable copies of the pg, it's possible that
there is a usable copy elsewhere on the cluster which will
become known to the primary if it waits.

Fixes: #6909
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
(cherry picked from commit 964c8e978f86713e37a13b4884a6c0b9b41b5bae)
src/osd/PG.cc
src/osd/PG.h