]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
objectstore: make list by hash *next > instead of >=
authorSage Weil <sage.weil@dreamhost.com>
Tue, 6 Dec 2011 23:21:15 +0000 (15:21 -0800)
committerSamuel Just <samuel.just@dreamhost.com>
Wed, 14 Dec 2011 19:32:19 +0000 (11:32 -0800)
commitf1ae9ed55f1f9a58750d5c88929b397ae7ed5abf
tree397b1fa732567aa94575f99253f100af4b6b2754
parentc03c49ca94aea9dba26c06a817c211e1e8966f14
objectstore: make list by hash *next > instead of >=

This means we should set it to a hash boundary or the last item of our
result set (not the next item we didn't include).

It means that during backfill we can set our last_backfill to the last
object we did recover and be sure that any new files locally will be
included in the next result set, and we can bound that result set by that
last object recovered and not include it in the resulting range.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
src/os/HashIndex.cc
src/os/ObjectStore.h