rabbit_stream_coordinator: Handle new return of log overview

This commit is contained in:
Michael Davis 2025-09-09 16:41:56 -04:00
parent 517270025f
commit 16ca652939
No known key found for this signature in database
1 changed files with 3 additions and 0 deletions

View File

@ -1249,7 +1249,10 @@ get_replica_tail(Node, Conf) ->
{error, nodedown};
{error, _} = Err ->
Err;
#{epoch_offsets := Offsets} ->
{ok, select_highest_offset(Offsets)};
{_Range, Offsets} ->
%% Backwards compatibility clause
{ok, select_highest_offset(Offsets)}
end.