]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/OSDMap: handle incrementals that modify+del pool 5420/head
authorJohn Spray <john.spray@redhat.com>
Thu, 30 Jul 2015 13:20:56 +0000 (14:20 +0100)
committerJohn Spray <john.spray@redhat.com>
Thu, 30 Jul 2015 13:23:42 +0000 (14:23 +0100)
commit8d4932e721e32a33c1bada54e11d4ecccd868618
tree14635aadc464c7876f2e5bf00cfddad38cea1f01
parent7fbf013d446c607af9b3e196680fbdbdc1b5172d
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>
src/osd/OSDMap.cc