Fix next_seq_id value when none is found in terms
This happens when upgrading from 3.9 or earlier.
This commit is contained in:
parent
3c55369710
commit
f36f9c87c4
|
|
@ -1788,7 +1788,7 @@ init(QueueVsn, IsDurable, IndexMod, IndexState, StoreState, DeltaCount, DeltaByt
|
|||
case Terms of
|
||||
non_clean_shutdown -> {HiSeqId, HiSeqId, DeltaCount, DeltaBytes};
|
||||
_ -> NextSeqId0 = proplists:get_value(next_seq_id,
|
||||
Terms, 0),
|
||||
Terms, HiSeqId),
|
||||
{NextSeqId0,
|
||||
proplists:get_value(next_deliver_seq_id,
|
||||
Terms, NextSeqId0),
|
||||
|
|
|
|||
Loading…
Reference in New Issue