]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: allow RecoveryDone self-transition in RepNotRecovering
authorSage Weil <sage@inktank.com>
Fri, 28 Dec 2012 19:34:47 +0000 (11:34 -0800)
committerSage Weil <sage@inktank.com>
Fri, 28 Dec 2012 23:03:10 +0000 (15:03 -0800)
commitca34fc4d3cb54f2621598949a72fd840532c9f75
tree1a766bc07b37dbdcb068d326d04eefadbf095434
parentea13ecc2913a8186fad2c704c4f39f5108f9191e
osd: allow RecoveryDone self-transition in RepNotRecovering

In a mixed cluster where some OSDs support the recovery reservations and
some don't, the replica may be new code in RepNotRecoverying and will
complete a backfill.  In that case, we want to just stayin
RepNotRecovering.

It may also be possible to make it infer what the primary is doing even
thought it is not sending recovery reservation messages, but this is much
more complicated and doesn't accomplish much.

Fixes: #3689
Signed-off-by: Sage Weil <sage@inktank.com>
src/osd/PG.h