]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: Bail from handle_command() if _generate_command_map() fails 48845/head
authorNikhil Kshirsagar <nikhil.kshirsagar@canonical.com>
Mon, 12 Sep 2022 06:33:59 +0000 (06:33 +0000)
committerNikhil Kshirsagar <nikhil.kshirsagar@canonica.com>
Fri, 11 Nov 2022 09:58:04 +0000 (15:28 +0530)
commit0c82a3b1172b195cffdc55e8371f9e5bb01558fa
tree7b71888f6774a986684e42b326bb6cffcadf8b7c
parent564ec343a62fcfa871990e78eb6961f5caeb2d64
mon: Bail from handle_command() if _generate_command_map() fails

Bail out of handle_command() if _generate_command_map() throws
an exception due to invalid json. This is an additional fix
for the one that went in through
1109e62f6a3c0a7e06a088c4b833c8ecec51f791

Fixes: https://tracker.ceph.com/issues/57859
Signed-off-by: Nikhil Kshirsagar <nikhil.kshirsagar@canonical.com>
(cherry picked from commit f3d771aabc07f7517efb051bf70d2df1657172b4)
src/mon/Monitor.cc