linxGnu / grocksdb

RocksDB wrapper for Go. Support 9.x, 8.x, 7.x, 6.x, etc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Do you have a transaction tests for column families?

hiqsociety opened this issue · comments

possible to provide example on how to achieve transactions with column families? and/or optimistic transactions with cf too. thx

mentioned coz i didnt see any test with examples inside.

@hiqsociety please refer to rocksdb documentation: https://github.com/facebook/rocksdb/wiki/Transactions

Note that RocksDB provides Atomicity by default when writing multiple keys via WriteBatch. Transactions provide a way to guarantee that a batch of writes will only be written if there are no conflicts