Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

services/horizon: Duplicate key error in LiquidityPoolsChangeProcessor #5134

Closed
urvisavla opened this issue Dec 3, 2023 · 0 comments · Fixed by #5135
Closed

services/horizon: Duplicate key error in LiquidityPoolsChangeProcessor #5134

urvisavla opened this issue Dec 3, 2023 · 0 comments · Fixed by #5135
Labels
bug horizon performance issues aimed at improving performance

Comments

@urvisavla
Copy link
Contributor

What version are you using?

Latest from master branch.

What did you do?

Ran Horizon in ingest mode.

What did you expect to see?

Horizon to ingest without errors.

What did you see instead?

Horizon ingestion halted with the following error during ingestion of ledger 49247417:

ERRO[2023-11-30T15:59:26.921Z] Error in ingestion state machine current_state="resume(latestSuccessfullyProcessedLedger=49247416)" error="Error running processors on ledger: Error committing changes from processor: error in *processors.LiquidityPoolsChangeProcessor.Commit: error executing LiquidityPoolsBatchInsertBuilder: pq: duplicate key value violates unique constraint "liquidity_pools_pkey"" next_state="resume(latestSuccessfullyProcessedLedger=49247416)" pid=1647120 service=ingest

This error indicates that a duplicate key value was found while inserting data into the liquidity_pools table.

@urvisavla urvisavla added horizon bug performance issues aimed at improving performance labels Dec 3, 2023
@mollykarcher mollykarcher moved this from Backlog to In Progress in Platform Scrum Dec 4, 2023
@github-project-automation github-project-automation bot moved this from In Progress to Done in Platform Scrum Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug horizon performance issues aimed at improving performance
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant