]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: more forceful renumbering of legacy ruleset IDs
authorJohn Spray <john.spray@redhat.com>
Fri, 25 Aug 2017 10:06:21 +0000 (11:06 +0100)
committerSage Weil <sage@redhat.com>
Thu, 14 Sep 2017 16:30:17 +0000 (12:30 -0400)
commit71d4b2bed54371657693cfb999ade44449be0efd
tree446121ffd0a666661910914a1ebab8ded8b319ca
parent675483ecca06686fd4c626bfea33748092aef0c6
mon: more forceful renumbering of legacy ruleset IDs

Previously, the rules were only modified in the trivial case,
so we continued to potentially have CRUSH maps with the
legacy ruleset functionality in use.

In order to ultimately remove rulesets entirely, we need
to do this more aggressively, renumbering all the rules
and then updating any pools as needed.

Signed-off-by: John Spray <john.spray@redhat.com>
src/crush/CrushWrapper.cc
src/crush/CrushWrapper.h
src/mon/OSDMonitor.cc