]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/OSDMap: handle incrementals that modify+del pool 5526/head
authorJohn Spray <john.spray@redhat.com>
Thu, 30 Jul 2015 13:20:56 +0000 (14:20 +0100)
committerNathan Cutler <ncutler@suse.com>
Mon, 10 Aug 2015 14:33:02 +0000 (16:33 +0200)
commitebba1d59b5e4bc11cbdfcda4e480639f7d9e1498
treedd380975a08cb5b7632cc5d0cf22fe6684620bbf
parentabe6c03d411f5f1d277f910ae87123309fa95d4a
osd/OSDMap: handle incrementals that modify+del pool

Because new_pools was processed after old_pools, if something
was modified and then deleted in the same incremental
map, then the resulting state would be a pool in the map
that had no entry in pool_name.

Fixes: #12429
Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit 8d4932e721e32a33c1bada54e11d4ecccd868618)
src/osd/OSDMap.cc