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

Duplicated rows in actor states task when using CSV as storage #1104

Open
davidgasquez opened this issue Dec 21, 2022 · 0 comments · May be fixed by #1105
Open

Duplicated rows in actor states task when using CSV as storage #1104

davidgasquez opened this issue Dec 21, 2022 · 0 comments · May be fixed by #1105
Labels
kind/bug Kind: Bug

Comments

@davidgasquez
Copy link

Describe the bug:

When running lily job run --storage CSV --task actor_states walk --from X --to Y, the actor_states.csv that is produced contains some duplicated rows.

Steps to Reproduce:

  1. Initialize Lily from any snapshot and run a walk covering 100 epochs storing the results in CSVs: lily job run --storage CSV --task actor_states walk --from X --to Y
  2. See duplicated lines with cat /tmp/actor_states.csv | sort | uniq -d

This is one of the dupicates I've found in case is helpful.

100300,bafy2bzacedwwkxgt3x4xo5bu2nxqmcc6b76qc3psoooszbu2qbyyqbzu3sxhi,bafkqaetgnfwc6mjpon2g64tbm5sw22lomvza,"{""Info"":{""/"":""bafy2bzacebnstv2ae4lufsgg65v4ezhzpqtcgyem2afswf76ix2ch4nj2hkyw""},""PreCommitDeposits"":""0"",""LockedFunds"":""0"",""VestingFunds"":{""/"":""bafy2bzacealbq6s7ptdud6gvpc2yv54opwotncjlqjxmzb2q2rnjxv753rwdc""},""InitialPledgeRequirement"":""0"",""PreCommittedSectors"":{""/"":""bafy2bzaceamp42wmmgr2g2ymg46euououzfyck7szknvfacqscohrvaikwfay""},""PreCommittedSectorsExpiry"":{""/"":""bafy2bzacedswlcz5ddgqnyo3sak3jmhmkxashisnlpq6ujgyhe4mlobzpnhs6""},""AllocatedSectors"":{""/"":""bafy2bzacea456askyutsf7uk4ta2q5aojrlcji4mhaqokbfalgvoq4ueeh4l2""},""Sectors"":{""/"":""bafy2bzacedswlcz5ddgqnyo3sak3jmhmkxashisnlpq6ujgyhe4mlobzpnhs6""},""ProvingPeriodStart"":100180,""CurrentDeadline"":2,""Deadlines"":{""/"":""bafy2bzaceakubxbluycf7ug7ve3o5yg2kwbhjaf65gtu5m4ethfrq2qxurtcy""},""EarlyTerminations"":[0]}"

Lily Version: v0.13.0

@davidgasquez davidgasquez added the kind/bug Kind: Bug label Dec 21, 2022
@kasteph kasteph linked a pull request Dec 22, 2022 that will close this issue
@davidgasquez davidgasquez reopened this Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Kind: Bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant