summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fabric_view.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fabric_view.erl b/src/fabric_view.erl
index d35283d7..49a3a55a 100644
--- a/src/fabric_view.erl
+++ b/src/fabric_view.erl
@@ -34,7 +34,7 @@ is_progress_possible(Counters) ->
% the normal condition, adding to the tail
Else
end
- end, Tail0, Rest),
+ end, if (Tail0+1) =:= (2 bsl 31) -> complete; true -> Tail0 end, Rest),
(Start =:= 0) andalso (Result =:= complete).
-spec remove_overlapping_shards(#shard{}, [{#shard{}, any()}]) ->