Skip to content

Duplicate epoch_state row for epoch 607 #2060

@robinboening

Description

@robinboening

OS
Your OS: Host is Ubuntu 24.04 LTS

Versions
The db-sync version (eg cardano-db-sync --version): 13.6.0.5
PostgreSQL version: 17.7

Build/Install Method
The method you use to build or install cardano-db-sync: official docker image ghcr.io/intersectmbo/cardano-db-sync:13.6.0.5

Run method
The method you used to run cardano-db-sync (eg Nix/Docker/systemd/none): docker

Problem Report
I got 2 identical epoch_state records created for epoch 607. Identical except for their primary key value, of course. I classify this as a possible bug, but I am not certain if this could be an expected situation of some kind.

I can confirm that this is the first and only time a duplicate row for the same epoch was created in my db-sync instance:

SELECT COUNT(*) AS "count_all", "epoch_state"."epoch_no" AS "epoch_state_epoch_no" FROM "epoch_state" GROUP BY "epoch_state"."epoch_no" HAVING (COUNT(*) > 1)
=> {607=>2}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions