RocksDB implementations should be transactional #24
This commit is contained in:
parent
fe75412dfe
commit
45a444eb29
@ -19,6 +19,9 @@
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
*/
|
||||
#ifndef REPERTORY_INCLUDE_UTILS_DB_ROCKSDB_UTILS_HPP_
|
||||
#define REPERTORY_INCLUDE_UTILS_DB_ROCKSDB_UTILS_HPP_
|
||||
|
||||
namespace repertory::utils::db::rocksdb {
|
||||
[[nodiscard]] auto
|
||||
create_rocksdb(const repertory::app_config &cfg, const std::string &name,
|
||||
@ -26,3 +29,5 @@ create_rocksdb(const repertory::app_config &cfg, const std::string &name,
|
||||
std::vector<rocksdb::ColumnFamilyHandle *> &handles, bool clear)
|
||||
-> std::unique_ptr<rocksdb::TransactionDB>;
|
||||
} // namespace repertory::utils::db::rocksdb
|
||||
|
||||
#endif // REPERTORY_INCLUDE_UTILS_DB_ROCKSDB_UTILS_HPP_
|
||||
|
Loading…
x
Reference in New Issue
Block a user