StackableDB should pass ResetStats()
Summary: Closes https://github.com/facebook/rocksdb/pull/2190 Differential Revision: D4922688 Pulled By: siying fbshipit-source-id: eaa3d122f8d389ae0508ec8b61f7780fd8b0a7ef
This commit is contained in:
parent
e38e83169a
commit
385412b6c0
@ -325,6 +325,9 @@ class StackableDB : public DB {
|
||||
return db_->SetDBOptions(new_options);
|
||||
}
|
||||
|
||||
using DB::ResetStats;
|
||||
virtual Status ResetStats() override { return db_->ResetStats(); }
|
||||
|
||||
using DB::GetPropertiesOfAllTables;
|
||||
virtual Status GetPropertiesOfAllTables(
|
||||
ColumnFamilyHandle* column_family,
|
||||
|
@ -136,6 +136,8 @@ TEST_P(TransactionTest, DoubleEmptyWrite) {
|
||||
}
|
||||
|
||||
TEST_P(TransactionTest, SuccessTest) {
|
||||
ASSERT_OK(db->ResetStats());
|
||||
|
||||
WriteOptions write_options;
|
||||
ReadOptions read_options;
|
||||
string value;
|
||||
|
Loading…
Reference in New Issue
Block a user