Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rabbit_khepri: Fix force_reset/0 to work with stopped Ra system
[Why] This function blindly relied on the fact that the Ra `coordination` system was not stopped by `rabbit` when it stopped. That Ra system is finally correctly stopped in the parent commit. This breaks this function and it must be adapted to work with the Ra system stopped. This is even safer because the function deletes the Ra system directory as its last step. [How] The Ra system data directory is queried from RabbitMQ configuration instead of the running Ra system. We add a couple assertions to ensure the conditions are the ones we expect.
- Loading branch information