replace get to cold get

This commit is contained in:
2025-09-21 11:59:09 +08:00
parent 6a39746498
commit e74d42ca2f
2 changed files with 17 additions and 6 deletions
+4
View File
@@ -128,6 +128,10 @@ int main(int argc, char *argv[]) {
}
kv->Commit();
delete kv;
delete db;
// re-open db
s = rocksdb::OptimisticTransactionDB::Open(options, args.path, &db);
assert(s.ok());
}
for (size_t tid = 0; tid < args.threads; ++tid) {