mirror of
https://github.com/ceph/ceph
synced 2025-02-24 03:27:10 +00:00
kv/RocksDBStore: enrich debug message
It's better to print why ListColumnFamilies() failed. Signed-off-by: Toshikuni Fukaya <toshiq2@gmail.com> Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
This commit is contained in:
parent
f0027c05c6
commit
25757d28cf
@ -904,6 +904,7 @@ int RocksDBStore::verify_sharding(const rocksdb::Options& opt,
|
||||
status = rocksdb::DB::ListColumnFamilies(rocksdb::DBOptions(opt),
|
||||
path, &rocksdb_cfs);
|
||||
if (!status.ok()) {
|
||||
derr << __func__ << " unable to list column families: " << status.ToString() << dendl;
|
||||
return -EIO;
|
||||
}
|
||||
dout(5) << __func__ << " column families from rocksdb: " << rocksdb_cfs << dendl;
|
||||
|
Loading…
Reference in New Issue
Block a user