diff --git a/src/kvstore/RocksEngine.cpp b/src/kvstore/RocksEngine.cpp index acd740c3dd5..b00128bacc6 100644 --- a/src/kvstore/RocksEngine.cpp +++ b/src/kvstore/RocksEngine.cpp @@ -538,7 +538,7 @@ void RocksEngine::openBackupEngine(GraphSpaceID spaceId) { } } rocksdb::BackupEngine* backupDb; - rocksdb::BackupableDBOptions backupOptions(backupPath_); + rocksdb::BackupEngineOptions backupOptions(backupPath_); backupOptions.backup_log_files = false; auto status = rocksdb::BackupEngine::Open(rocksdb::Env::Default(), backupOptions, &backupDb); CHECK(status.ok()) << status.ToString(); diff --git a/src/kvstore/RocksEngine.h b/src/kvstore/RocksEngine.h index 2de38333efe..17569163c8e 100644 --- a/src/kvstore/RocksEngine.h +++ b/src/kvstore/RocksEngine.h @@ -8,7 +8,7 @@ #include #include -#include +#include #include #include "common/base/Base.h"