-
Notifications
You must be signed in to change notification settings - Fork 159
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
Restore --tipset
flag to snapshot export command
#3027
Restore --tipset
flag to snapshot export command
#3027
Conversation
Forest and Lotus snapshot sizes are a few hundred bytes different, similar to the status of snapshots prior to PR #2540. Haven't pinpointed a cause yet. |
Are you comparing the compressed files or uncompressed files? |
Uncompressed. |
(Uncompressed) Forest snapshot is still larger than (uncompressed) Lotus snapshot by a few hundred bytes. |
Try using the |
This comment was marked as outdated.
This comment was marked as outdated.
Do you know how long the |
I wouldn't expect it to take more than a few seconds. |
@jdjaustin You can also use this tool: https://github.com/ipld/go-car/tree/master/cmd/car |
Perhaps this could be useful to check: https://ipld.io/specs/transport/car/carv1/#determinism, some of this could potentially influence the file size. If it's only several hundred bytes - perhaps checking the headers might help, starting with HEAD. |
Today @aatifsyed and I did a binary diff and located the mismatch at byte Still need to investigate why the CIDs at this block do not match. |
Nice, all that's left now is to debug it on both Lotus and Forest to see what the differences are in terms of stack traces and such. |
--tipset
flag to snapshot export command--tipset
flag to snapshot export command
Summary of changes
Changes introduced in this pull request:
--tipset
flag functionality to allow snapshot export at a certain epoch.forest-cli snapshot export
bugs up the terminal #3171.Reference issue to close (if applicable)
Closes #2999 and #3171
Other information and links
Change checklist