From: Igor Fedotov Date: Wed, 19 Jun 2019 10:55:39 +0000 (+0300) Subject: os/bluestore/bluestore-tool: do not assert when migrate command fails. X-Git-Tag: v15.1.0~2288^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=47edbfdce8b47f4dac763b2e3c56e4affa7dae47;p=ceph.git os/bluestore/bluestore-tool: do not assert when migrate command fails. Signed-off-by: Igor Fedotov --- diff --git a/src/os/bluestore/bluestore_tool.cc b/src/os/bluestore/bluestore_tool.cc index 03a7f147f995..629f0e2c6f29 100644 --- a/src/os/bluestore/bluestore_tool.cc +++ b/src/os/bluestore/bluestore_tool.cc @@ -733,7 +733,7 @@ int main(int argc, char **argv) << cpp_strerror(r) << std::endl; } - ceph_assert(r == 0); + return r; } else { // Migrate to a new BlueFS volume // via creating either DB or WAL volume