]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: fix compensation for bad last_complete
authorSage Weil <sage.weil@dreamhost.com>
Fri, 20 May 2011 07:14:24 +0000 (00:14 -0700)
committerSage Weil <sage.weil@dreamhost.com>
Fri, 20 May 2011 07:14:24 +0000 (00:14 -0700)
commit4c97cb5f347a8b8529cd1aad680cea705682e35a
treeac188ae1b82e3b8319e40c5dea5fb162fd68859c
parent332565f1f88918e05971ce29cdfac88a7b3a7c08
osd: fix compensation for bad last_complete

If the peer has a last_complete below their tail, we can get by with our
log (without backlog) if our tail if _before_ their last_complete, not
after.  Otherwise, we need a backlog!

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
src/osd/PG.cc