]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
PG::activate: handle peer contigious with primary, but not auth_log 1459/head
authorSamuel Just <sam.just@inktank.com>
Fri, 14 Mar 2014 01:16:19 +0000 (18:16 -0700)
committerSamuel Just <sam.just@inktank.com>
Fri, 14 Mar 2014 17:57:47 +0000 (10:57 -0700)
commit62af51cb780cb03c51da92591c79a2cec893dee8
treed36f5b8824e871f34bc04daec98a3ab5d8373a26
parentdc00661d4ba98dedd9b3829b61bb9046464267a5
PG::activate: handle peer contigious with primary, but not auth_log

The added case covers a situation where a replica is not contiguous with
the auth_log, but is contiguous with the primary.  Reshuffling the
active set to handle this would be tricky, so instead we just go ahead
and backfill it anyway.  This is probably preferrable in any case since
the replica in question would have to be significantly behind.

Fixes: #7696
Signed-off-by: Samuel Just <sam.just@inktank.com>
src/osd/PG.cc