-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
foofoo.block
has more links than UnixFS Blocksizes
#5312
Comments
This is not broken. Please see #4680 (comment) and #4286 (comment). |
Thanks for the references @kevina, I'll take a closer look at them. From a first read I'm understanding that UnixFS |
@schomatis yes please see #4680 as is is closely related. |
So, reading the PR that added this test, #4320, I understand that this is testing how to handle a UnixFS file that has no |
Fixed with a777290. |
AFAIK We want to relay on Blocksizes if they are present and defer to Filesize only if we really need to. See #4680 (comment) for better explanation/interpretation. |
Yes, my question was mostly oriented to how should the reader behave with the gateway to pass this particular test (the other seems to be a discussion for a long term solution), I understand now that |
I'm refactoring the DAG reader (#5257) and I'm having an error in the test file
t0110-gateway.sh
where thefoofoo.block
file, which is saved as a block and retrieved as a file DAG through the gateway, would appear to have an inconsistency between its number of DAG links and its number of UnixFSBlocksizes
, is this expected in the test? If not, how could I regenerate that file with the UnixFS format fixed?/cc @magik6k
The text was updated successfully, but these errors were encountered: