]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: take 'osd pool set ...' value as a string again
authorSage Weil <sage@inktank.com>
Wed, 4 Dec 2013 05:39:03 +0000 (21:39 -0800)
committerGreg Farnum <greg@inktank.com>
Wed, 11 Dec 2013 23:29:42 +0000 (15:29 -0800)
commit0cd36e0587a3738ef90ab0e892e72395ed7dce18
treef5b85845fdf1d5a289019824160d37bf8accb980
parent72a304acb0156c1dec953f7c68f8eafd721bf370
mon/OSDMonitor: take 'osd pool set ...' value as a string again

We ran into problems before when we made this a string because a mixed
cluster of mons might forward a client request with the wrong schema.
To make this work, we make the new code understand both the new and
old schema, and also backport a change to emperor and dumpling to
handle the new schema.

For the previous attempt to do this, see:
 337195f04653eed8e8f153a5b074f3bd48408998
 2fe0d0d97af95c22db80800f5b9da51f672d9407

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
qa/workunits/cephtool/test.sh
src/mon/MonCommands.h
src/mon/OSDMonitor.cc