eBay / NuRaft

C++ implementation of Raft core logic as a replication library
Apache License 2.0
1.01k stars 240 forks source link

Allow get_servers() on const cluster_config #413

Closed szmyd closed 1 year ago

szmyd commented 1 year ago

Currently one must const_cast a cluster_config in order to iterate the servers it contains. This is done potentially during commit_conf or snapshots if one does not use the serialize/deserialize methods.