This commit is contained in:
@@ -67,8 +67,6 @@ auto rdb_file_mgr_db::add_resume(const resume_entry &entry) -> bool {
|
||||
|
||||
auto rdb_file_mgr_db::add_resume(const resume_entry &entry,
|
||||
rocksdb::Transaction *txn) -> rocksdb::Status {
|
||||
REPERTORY_USES_FUNCTION_NAME();
|
||||
|
||||
auto data = json({
|
||||
{"chunk_size", entry.chunk_size},
|
||||
{"read_state", utils::string::from_dynamic_bitset(entry.read_state)},
|
||||
@@ -241,8 +239,9 @@ auto rdb_file_mgr_db::remove_resume(const std::string &api_path) -> bool {
|
||||
});
|
||||
}
|
||||
|
||||
auto rdb_file_mgr_db::remove_resume(
|
||||
const std::string &api_path, rocksdb::Transaction *txn) -> rocksdb::Status {
|
||||
auto rdb_file_mgr_db::remove_resume(const std::string &api_path,
|
||||
rocksdb::Transaction *txn)
|
||||
-> rocksdb::Status {
|
||||
return txn->Delete(resume_family_, api_path);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user