]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: fix log bounds check
authorSage Weil <sage.weil@dreamhost.com>
Fri, 20 May 2011 15:44:42 +0000 (08:44 -0700)
committerSage Weil <sage.weil@dreamhost.com>
Fri, 20 May 2011 15:44:42 +0000 (08:44 -0700)
commitff031ce810d2db94a5d6e20e66b0f973f41a6914
treec8d4d0bbf965e20bcebc6727fca19130cdab5a2f
parent1dba8dd6e88cd6c7a2e22f19de901beb4069858e
osd: fix log bounds check

We weren't accounting for the case where we have

 (foo,foo]+backlog

i.e., everything is backlog, and rbegin().version != log.head.

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