From 10095ce82286f36e3722392fc0ee514f7c1416ed Mon Sep 17 00:00:00 2001 From: liuchang0812 Date: Tue, 27 Jun 2017 23:49:29 +0800 Subject: [PATCH] mon: fix kvstore type in mon compact command Signed-off-by: liuchang0812 --- src/mon/Monitor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mon/Monitor.cc b/src/mon/Monitor.cc index 9a7304fcab41b..4d3525766e975 100644 --- a/src/mon/Monitor.cc +++ b/src/mon/Monitor.cc @@ -3026,7 +3026,7 @@ void Monitor::handle_command(MonOpRequestRef op) end -= start; dout(1) << "finished manual compaction in " << end << " seconds" << dendl; ostringstream oss; - oss << "compacted leveldb in " << end; + oss << "compacted " << g_conf->get_val("mon_keyvaluedb") << " in " << end << " seconds"; rs = oss.str(); r = 0; } -- 2.39.5