Skip to content

v2 snapshot export errors #13346

@BigLep

Description

@BigLep

As reported by @hanabi1224 in https://filecoinproject.slack.com/archives/CPFTWMY7N/p1757556028301299

I saw some errors when exporting a v2 snapshot, any ideas what could go wrong? The ~/.lotus repo is in sync

➜  v2 lotus-shed -v && lotus-shed export --recent-stateroots 900 --skip-old-msgs lotus_v2.car
lotus-shed version 1.34.0-rc2+calibnet+git.c41477c95
2025-09-11T09:57:17.088+0800    ERROR   lotus-shed      lotus-shed/main.go:186  loading tipset:
    github.com/filecoin-project/lotus/chain/store.(*ChainStore).loadHead
        /home/me/git/lotus/chain/store/store.go:237
  - get block bafy2bzacebxzep4losvn7vmhotyknyxpqjlriyncrxj5w5jcyc7ntgjvc7dx6:
    github.com/filecoin-project/lotus/chain/store.(*ChainStore).LoadTipSet.func1
        /home/me/git/lotus/chain/store/store.go:917
  - ipld: could not find bafy2bzacebxzep4losvn7vmhotyknyxpqjlriyncrxj5w5jcyc7ntgjvc7dx6

➜  ~ lotus chain list --count 3
3007653: (Sep 11 09:59:30) [ bafy2bzacebspb35y2qtuc6zac775lb5h7rdg5vkogx5z7mxkgu4yfzin7sy6i: t0135498,bafy2bzacecdg532qeiflifdwkaaxcymsfycpyg2e6osodnyf4cn2f6b5bgt5o: t0143103,bafy2bzacedc663rwpxb7bk4f6ltfqrcxrusb34amjpz4zysjvyooxkbhg4tki: t017840, ]
3007654: (Sep 11 10:00:00) [ bafy2bzacebm5qm6kfjedeq5r3ujyqchea6rml3ec2pnpzxgxwt72egdvlo774: t0155502,bafy2bzaceaqxxpagfeafe5qxwlejpu3mgfwwljtavttuyfe2gtlwwslzhflrc: t0143103, ]
3007655: (Sep 11 10:00:30) [ bafy2bzacedvgqzndkog22hkt7ogqyd53bsob2qlyfjpx7uvkk2kijo6gfci7e: t0143103, ]

Impact:

  • This is blocking him from testing importing Lotus-generated v2 snapshot into Forest.
  • This doesn't block the nv27 upgrade train as Lotus can successfully import Forest-generated v2 snapshots, which is what will be happening in production.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

🔬 Needs Analysis

Status

🐱 Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions