-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Pinning large CID is "stuck" at same node #8103
Comments
@kallisti5 could you grab a little more debugging info:
This might be a duplicate of #7972, which appears to be fixed in master of go-bitswap (the dependency update isn't yet included in go-ipfs master). |
Home node (wants)
Vultr node (has):
Vultr Node (has)
Vultr Node (has):
|
I pinged your Vultr node and it responds as not having I noticed you updated the CID in your comment that you were trying to pin, since you have garbage collection enabled then it's possible that |
Ooh.. I think this might be the root cause. I posted Check this out (vultr node)
Here's the completed diag stat for the whole thing on the vultr node:
So... locally it thinks it has that block, but remotely it reports not having it? |
This seems a bit weird to me since I'd expect an empty DagPb node to have the hash Could you run It may take a while but it'd be helpful to run |
Running a |
Ya, something weird is going on. I'm guessing a corrupted block. The CAR file contains a single block which is the empty block with the CID |
Yup.
How do you even fix that when it's MFS? (is there a way to identify which files and re-upload them? I don't really understand how they got corrupted.. the node is brand new and I just added the files without any real issues. |
To wrap this one up. I ended up just deleting the repo and re-adding the data under flatfile instead of badger. Things are smooth now. Since this is the "seed" node for MFS data, repo stability is important. It sounds like badger is better for user nodes, while flat is better for "critical data sources" However... this case might be useful for some enhancement? I had CID's that nothing saw as invalid (and the MFS filesystem was fully available) until I did a full repo validation. This seems like a potentially common issue. |
I have had random stuck events. Is this the same problem? |
There's a mix of issues here:
These are the "biggest" issues we encountered trying to use IPFS at scale. They represent some really frustrating user experiences. |
Version information:
I have 22GiB+ on MFS data on a node at Vultr. Latest MFS CID is pointed to via /ipns/hpkg.haiku-os.org
Description:
ipfs pin add --progress /ipns/hpkg.haiku-os.org
ipfs pin add --progress /ipfs/QmPZvhACHCf1uXr5nVwvpSJSYjQviShZkoZ4ctx6LQ6q37
Fetched/Processed 95036 nodes
for like 2 days.Fetched/Processed 95036 nodes
" for ~12 hours now.sysstat from home node(while stuck pinning)
Debug from home node (while stuck pinning)
homenode-debug.tar.gz
The text was updated successfully, but these errors were encountered: