You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Horizon 0.24.1 RC (fb5f489) fixes a bug in expingest so expingest.CurrentVersion was incremented. This made Horizon to reingest state.
What did you expect to see?
No errors.
What did you see instead?
Processor DatabaseProcessor (All) errored: Could not insert ledger: exec failed: pq: duplicate key value violates unique constraint \"exp_history_ledgers_id_idx\"
What happened?
Horizon always reingests state using the latest checkpoint ledger and in most cases the sequence of this ledger will be smaller than the latest ingested ledger. Because of this Horizon will attempt to insert old ledgers into exp_history_ledger again. It seems that the quick fix that should be included in 0.24.1 is to remove all ledgers with the sequence higher than the checkpoint ledger. The longterm fix is #1969.
The text was updated successfully, but these errors were encountered:
What version are you using?
Horizon 0.24.1 RC.
What did you do?
Horizon 0.24.1 RC (fb5f489) fixes a bug in
expingest
soexpingest.CurrentVersion
was incremented. This made Horizon to reingest state.What did you expect to see?
No errors.
What did you see instead?
What happened?
Horizon always reingests state using the latest checkpoint ledger and in most cases the sequence of this ledger will be smaller than the latest ingested ledger. Because of this Horizon will attempt to insert old ledgers into
exp_history_ledger
again. It seems that the quick fix that should be included in 0.24.1 is to remove all ledgers with the sequence higher than the checkpoint ledger. The longterm fix is #1969.The text was updated successfully, but these errors were encountered: