rabbitmq / ra

A Raft implementation for Erlang and Elixir that strives to be efficient and make it easier to use multiple Raft clusters in a single system.
Other
813 stars 96 forks source link

Ensure default system take wal_data_dir into account. #250

Closed kjnilsson closed 2 years ago

kjnilsson commented 2 years ago

Right now it always defaults to the main Ra data dir.

michaelklishin commented 2 years ago

Are the value identical or can the path change for existing installations?

kjnilsson commented 2 years ago

That is a good question. If a system has wal_data_dir set already it will use a different directory. But this issue would also have been there in reverse for anyone with wal_data_dir set that upgraded from RabbitMQ 3.8 to 3.9.