[RocksDB] Interface changes required for BackupableDB

Summary: This is part of https://reviews.facebook.net/D14295 -- smaller diff that is easier to review

Test Plan: make asan_check

Reviewers: dhruba, haobo, emayanke

Reviewed By: emayanke

CC: leveldb, kailiu, reconnect.grayhat

Differential Revision: https://reviews.facebook.net/D14301
This commit is contained in:
Igor Canadi
2013-11-25 12:39:23 -08:00
parent 299f5c76bb
commit 11c26bd4a4
7 changed files with 54 additions and 48 deletions

View File

@@ -228,6 +228,9 @@ class DB {
// Number of files in level-0 that would stop writes.
virtual int Level0StopWriteTrigger() = 0;
// Get Env object from the DB
virtual Env* GetEnv() const = 0;
// Flush all mem-table data.
virtual Status Flush(const FlushOptions& options) = 0;