From 750b774208d2981c7cc97b548d49500f4d8dbd24 Mon Sep 17 00:00:00 2001 From: Igor Fedotov Date: Wed, 19 Jun 2019 13:55:39 +0300 Subject: [PATCH] os/bluestore/bluestore-tool: do not assert when migrate command fails. Signed-off-by: Igor Fedotov (cherry picked from commit 47edbfdce8b47f4dac763b2e3c56e4affa7dae47) --- src/os/bluestore/bluestore_tool.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/os/bluestore/bluestore_tool.cc b/src/os/bluestore/bluestore_tool.cc index 03a7f147f9959..629f0e2c6f29f 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 -- 2.39.5