]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: fix OnodeSizeTracking testing 16112/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Tue, 27 Dec 2016 11:39:51 +0000 (19:39 +0800)
committerNathan Cutler <ncutler@suse.com>
Tue, 4 Jul 2017 20:26:58 +0000 (22:26 +0200)
commit76fedab57612ea0e15d18729e779ec43bf830704
treeb20862520235e4bcd2595c5db7c40dc88696b0a2
parentdbe8a8ba848d5567db935d7cc945fdd85d8e9d3f
os/bluestore: fix OnodeSizeTracking testing

[  FAILED  ] 1 test, listed below:
[  FAILED  ] ObjectStore/StoreTest.OnodeSizeTracking/2, where GetParam() = "bluestore"

 1 FAILED TEST

The above test failure happens as the bluestore mount() process
will try to load all collections and put them into the coll_map,
which will be also tracked as mempool::bluestore_meta_other.
So total_bytes from mempool won't be equal to zero.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
(cherry picked from commit 1d97862f716ce24bfe227b192ecc5e1eb3f76757)
src/test/objectstore/store_test.cc