Congyuwang / RocksDict

Python fast on-disk dictionary / RocksDB & SpeeDB Python binding
https://congyuwang.github.io/RocksDict/rocksdict.html
MIT License
173 stars 8 forks source link

Do not try to flush on secondary instances #95

Closed GodTamIt closed 9 months ago

GodTamIt commented 9 months ago

Secondary instances are also read-only and shouldn't be flushing. It'll cause an error...

Congyuwang commented 9 months ago

Thanks for contributing