]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crush/CrushCompiler: error out as long as parse fails 11144/head
authorKefu Chai <kchai@redhat.com>
Tue, 20 Sep 2016 06:10:16 +0000 (14:10 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 20 Sep 2016 06:20:47 +0000 (14:20 +0800)
commitb2c0a079dc074c907e1bc429861230096534f597
tree97ca3a4fea7a0622b74812691e9e2fd97a979c71
parent371eb41b15b373f8d99e3065fa8adedcae3870e1
crush/CrushCompiler: error out as long as parse fails

do not output compiled crush map if anything goes wrong when parsing
crush map.

Fixes: http://tracker.ceph.com/issues/17306
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crush/CrushCompiler.cc
src/test/cli/crushtool/compile-decompile-recompile.t
src/test/cli/crushtool/missing-bucket.crushmap.txt [new file with mode: 0644]