Uh oh!
There was an error while loading. Please reload this page.
Changes to walk_snapshot to match Forest and Lotus snapshots - #2540
Conversation
jdjaustin
commented
Feb 14, 2023
Calibnet snapshots are matching up now but I'm so far unable to verify mainnet. @LesnyRumcajs |
LesnyRumcajs
commented
Feb 14, 2023
@jdjaustin, what's the issue with mainnet snapshots? Is it because of the hardware limitations? If so, have you tried installing Forest with an alternative, turbo fast, pioneer & bleeding edge backend with |
jdjaustin
commented
Feb 14, 2023
Yes, I tried |
LesnyRumcajs
commented
Feb 14, 2023
Ah, so your issue is with disk space, not RAM. In this case, you need around 250G of free disk space.
|
lemmih
commented
Feb 14, 2023
@jdjaustin If you still don't have enough disk space after deleting the old files, ask Hubert to set up a droplet for you. |
jdjaustin
commented
Feb 16, 2023
LesnyRumcajs
commented
Feb 16, 2023
@jdjaustin does the shasum of both match? |
jdjaustin
commented
Feb 16, 2023
|
LesnyRumcajs
commented
Feb 16, 2023
Rock solid! Now it would be fantastic to keep it this way. One approach would be to modify the test a bit in our workflow https://github.com/ChainSafe/forest/blob/main/.github/workflows/rust.yml#L150-L172
We can do it in a separate issue if it's too complex; I may be missing some gotchas. |
walk_snapshot to match Forest and Lotus snapshotswalk_snapshot to match Forest and Lotus snapshotsUh oh!
There was an error while loading. Please reload this page.
LesnyRumcajs
commented
Feb 17, 2023
Linking the "source" PR for future reference if needed. filecoin-project/lotus#8691 |
LesnyRumcajs
commented
Feb 17, 2023
@jdjaustin Perhaps we should match the logic in Lotus for the snapshot, just in case. I am not entirely sure we need it but better safe than sorry. So this: // We only include raw and dagcbor, for now.// Raw for "code" CIDs.switchprefix.Codec {
casecid.Raw, cid.DagCBOR:
default:
continue
}Should also get included. |
jdjaustin
commented
Feb 17, 2023
This block of code doesn't seem to be affecting snapshot exports currently, so my biggest question/concern with adding this is: how will I test the Rust code is working as intended? |
LesnyRumcajs
commented
Feb 17, 2023
I believe just checking if the snapshots are still the same will be okay. |
jdjaustin
commented
Feb 17, 2023
Uh oh!
There was an error while loading. Please reload this page.






Summary of changes
Changes introduced in this pull request:
walk_snapshotto match Lotus logic (i.e., don't include identity CIDs in snapshot export).Reference issue to close (if applicable)
Closes#1884
Other information and links
Change checklist