Skip to content

Commit 62b6759

Browse files
committed
fix streams minority calculation
1 parent baff660 commit 62b6759

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/rabbit/src/rabbit_stream_queue.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1203,4 +1203,4 @@ get_nodes(Q) when ?is_amqqueue(Q) ->
12031203

12041204
is_minority(All, Up) ->
12051205
MinQuorum = length(All) div 2 + 1,
1206-
length(Up) =< MinQuorum.
1206+
length(Up) < MinQuorum.

0 commit comments

Comments
 (0)