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
798 stars 93 forks source link

coordination_SUITE: Improve wait condition in `segment_writer_or_wal_crash_leader/1` #446

Closed dumbbell closed 1 month ago

dumbbell commented 1 month ago

Why

The previous condition was not enough. This led to a failing assertion when the cache size was checked.

Submitted-by: @kjnilsson

dumbbell commented 1 month ago

Karl provided the patch and granted me the permission to commit it and merge it.