Skip to content

Commit

Permalink
Adding transactionMultiGet and transactionMultiGetForUpdate
Browse files Browse the repository at this point in the history
* Fixed missing promisify for `transactionClear`
* Using `__func__` for log messages
* Namespacing C++ iterator workers
* Testing `transactionClear` with non-repeatable read
  • Loading branch information
CMCDragonkai committed Jun 19, 2022
1 parent 23d3405 commit f9cecbc
Show file tree
Hide file tree
Showing 15 changed files with 638 additions and 160 deletions.
4 changes: 2 additions & 2 deletions src/rocksdb/napi/database.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ rocksdb::Status Database::Open(const rocksdb::Options& options,
}

void Database::Close() {
LOG_DEBUG("Database:Closing Database\n");
LOG_DEBUG("Database:Calling %s\n", __func__);
if (hasClosed_) return;
hasClosed_ = true;
delete db_;
db_ = nullptr;
LOG_DEBUG("Database:Closed Database\n");
LOG_DEBUG("Database:Called %s\n", __func__);
}

rocksdb::Status Database::Put(const rocksdb::WriteOptions& options,
Expand Down
Loading

0 comments on commit f9cecbc

Please sign in to comment.