]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/MonitorDBStore: allow compaction of ranges
authorSage Weil <sage@inktank.com>
Wed, 29 May 2013 15:35:44 +0000 (08:35 -0700)
committerSage Weil <sage@inktank.com>
Sun, 2 Jun 2013 21:09:51 +0000 (14:09 -0700)
commitdcd9b793fb0b05976b55be029315114d6f1df0e5
tree8c01e13b187e8b3f4a71ff4090c7d3897a0865c0
parent6543da740a12c6ad085b807c9038d5b7b5aeaba6
mon/MonitorDBStore: allow compaction of ranges

Allow a transaction to describe the compaction of a range of keys.  Do this
in a backward compatible say, such that older code will interpret the
compaction of a prefix + range as compaction of the entire prefix.  This
allows us to avoid introducing any new feature bits.

Signed-off-by: Sage Weil <sage@inktank.com>
(cherry picked from commit ab09f1e5c1305a64482ebbb5a6156a0bb12a63a4)

Conflicts:

src/mon/MonitorDBStore.h
src/mon/MonitorDBStore.h