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

Add piece file size checking to check-deals #114

Open
linuskendall opened this issue Jun 26, 2024 · 2 comments
Open

Add piece file size checking to check-deals #114

linuskendall opened this issue Jun 26, 2024 · 2 comments

Comments

@linuskendall
Copy link
Contributor

check-deals retrieve the piece sizes reported fro mthe upstream.

we should be able to cross reference that to the piece sizes that we expect from metadata.yml.

if they don’t match that’s probably an error.

@gagliardetto
Copy link
Collaborator

gagliardetto commented Jun 26, 2024

We actually don't know the real piece size. It doesn't seem to be saved anywhere, or the data that we have is wrong.

The actual size of the pieces doesn't match ANY of the numbers we have.

@gagliardetto
Copy link
Collaborator

example:

piece 1/5: size_from_http=34091302912, padded_size=34359738368, content_size=30000000017, header_size=26
piece 2/5: size_from_http=34091302912, padded_size=34359738368, content_size=30000000012, header_size=26
piece 3/5: size_from_http=34091302912, padded_size=34359738368, content_size=30000000385, header_size=26
piece 4/5: size_from_http=34091302912, padded_size=34359738368, content_size=30000000327, header_size=26
piece 5/5: size_from_http=34091302912, padded_size=34359738368, content_size=21844758426, header_size=26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants