]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: don't overwrite pending pool changes with stretch mode updates
authorGreg Farnum <gfarnum@redhat.com>
Thu, 16 Jul 2020 03:23:07 +0000 (03:23 +0000)
committerGreg Farnum <gfarnum@redhat.com>
Tue, 21 Jul 2020 17:59:15 +0000 (17:59 +0000)
commit825802d9db7e638314b7125fc40b8876b7f2e311
treec1faddc07e1d82a45803032110a13f545321eea6
parent613b2b19b9284894dcddef2c974cd26e41fb3384
mon: don't overwrite pending pool changes with stretch mode updates

I was erroneously making a copy of the existing OSDMap's pg_pool_t and
then putting it into pending_inc's pools member, but there might
have already been a modified one there. Use the convenient
get_new_pool() function instead.

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
src/mon/OSDMonitor.cc