]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: compensate for replicas with tail > last_complete
authorSage Weil <sage@newdream.net>
Mon, 20 Dec 2010 21:22:49 +0000 (13:22 -0800)
committerSage Weil <sage@newdream.net>
Mon, 20 Dec 2010 21:22:49 +0000 (13:22 -0800)
commit69940e27173e9897006ea103528c49cfda11e767
tree43c892dea71fe140a04e1fa64465473101c55c6c
parentb04b6f48237fcbd22716279726f827237a3eb4af
osd: compensate for replicas with tail > last_complete

Normally we shouldn't ever have a last_complete < log.tail (&& !backlog).
But maybe we do (old bugs, whatever; see #590).  In that case, the primary
can compensate by sending more log info to the replica.

Signed-off-by: Sage Weil <sage@newdream.net>
src/osd/PG.cc