mirror of https://gitee.com/bigwinds/arangodb
use adjusted write options on commit
This commit is contained in:
parent
31c9e04ae6
commit
a32c2e84d4
|
@ -181,6 +181,7 @@ Result RocksDBTransactionState::commitTransaction(
|
||||||
// set wait for sync flag if required
|
// set wait for sync flag if required
|
||||||
if (waitForSync()) {
|
if (waitForSync()) {
|
||||||
_rocksWriteOptions.sync = true;
|
_rocksWriteOptions.sync = true;
|
||||||
|
_rocksTransaction->SetWriteOptions(_rocksWriteOptions);
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO wait for response on github issue to see how we can use the
|
// TODO wait for response on github issue to see how we can use the
|
||||||
|
|
Loading…
Reference in New Issue