OpenAtomFoundation / pikiwidb

a high-performance, large-capacity, multi-tenant, data-persistent, strong data consistency based on raft, Redis-compatible elastic KV data storage system based on RocksDB
BSD 3-Clause "New" or "Revised" License
194 stars 63 forks source link

fix: re-implement flushdb && flushall #301

Closed dingxiaoshuai123 closed 3 months ago

dingxiaoshuai123 commented 3 months ago

将启动 DB 的过程封装到了 Open 中,减少代码冗余。

dingxiaoshuai123 commented 3 months ago

@super-Pan66 cc