lni / dragonboat

A feature complete and high performance multi-group Raft library in Go.
Apache License 2.0
4.98k stars 533 forks source link

Is it considered to add a compression time setting in v4 #348

Open simon28082 opened 3 months ago

simon28082 commented 3 months ago

Note: for reported bugs, please fill in the following details. bug reports without detailed steps on how to reproduce will be automatically closed.

Dragonboat version

v4

Question

When I use etcd, I can set the compression time and don't need to care about the compression entries, I don't know if dragonboat supports this feature, a lot of times for compression, I can determine the time factor but can't confirm the fixed number of entries

lni commented 1 month ago

I am not familiar with that feature in etcd and sorry that I still couldn't fully understand what is expected to be achieved with compression time. Any chance you can provide more details, maybe by providing a concrete example on what you need?

thanks,