Closed cordawyn closed 4 years ago
Hi!
It seems that this https://github.com/kotyo/clj-rocksdb/blob/master/src/clj_rocksdb.clj#L335 should call .setSync (setter method) instead of .sync (getter method). (You can check with https://github.com/facebook/rocksdb/blob/master/java/src/main/java/org/rocksdb/WriteOptions.java#L64)
.setSync
.sync
Using clj-rocksdb/sync db crashes for me because of this.
clj-rocksdb/sync db
:+1: Thank you for the comment. It is fixed now.
Hi!
It seems that this https://github.com/kotyo/clj-rocksdb/blob/master/src/clj_rocksdb.clj#L335 should call
.setSync
(setter method) instead of.sync
(getter method). (You can check with https://github.com/facebook/rocksdb/blob/master/java/src/main/java/org/rocksdb/WriteOptions.java#L64)Using
clj-rocksdb/sync db
crashes for me because of this.