lablup / raftify

Experimental High level Raft framework
https://docs.rs/raftify/latest/raftify
Apache License 2.0
36 stars 14 forks source link

Add configuration for each Log Storage #140

Open jopemachine opened 1 month ago

jopemachine commented 1 month ago

Now that users can choose from various log storages, the configuration should allow for setting options specific to each storage.

For example, in the previous code, you could modify settings like Config.lmdb_map_size, but when using RocksDB, fields like lmdb_map_size should no longer be configurable. Instead, only the fields relevant to RocksDB should be exposed.