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

[Support Ticket]: bitswap stops responding after sector is tried but not found #1811

Closed
1 of 10 tasks
bobdubois opened this issue Nov 8, 2023 · 4 comments
Closed
1 of 10 tasks
Labels
support Support Ticket

Comments

@bobdubois
Copy link

Boost component

  • boost daemon - storage providers
  • boost client
  • boost UI
  • boost data-transfer
  • boost index-provider
  • booster-http
  • booster-bitswap
  • LID Database - Yugabyte/LevelDB
  • boostd-data
  • Other

Boost Version

boostd version 2.1.0-rc1+mainnet+git.0cd9d5d.dirty

Describe the problem

Bitswap stops working after a sector is tried but not found. No other logs found, retrievals work just before that but then no more. The service runs without other errors but retrievals time out. Sector 4011 is NOT available on the system, so shouldn't even be asked for.
Restarting booster-bitswap solves the issue but is not workable.

Logging Information

booster-bitswap log:
2023-11-08T03:04:13.691+0100	INFO	remote-blockstore	remoteblockstore/remoteblockstore.go:68	Get failed	{"cid": "bafkreidrspvkbkkwugvvf4peo3fx6d3u2ac4taiz3lrqwr52alql5mpr7a", "error": "1 error occurred:\n\t* getting piece reader: 1 error occurred:\n\t* getting reader over sector 4011: sector is not unsealed\n\n\n\n"}
2023-11-08T03:04:13.691+0100	ERROR	engine	decision/blockstoremanager.go:121	blockstore.Get(bafkreidrspvkbkkwugvvf4peo3fx6d3u2ac4taiz3lrqwr52alql5mpr7a) error: 1 error occurred:
	* getting piece reader: 1 error occurred:
	* getting reader over sector 4011: sector is not unsealed

Repo Steps

  1. Run '...'
  2. Do '...'
  3. See error '...'
    ...
@bobdubois bobdubois added the support Support Ticket label Nov 8, 2023
@bobdubois
Copy link
Author

and it's not just 1 sector:
2023-11-08T08:54:02.571+0100 INFO remote-blockstore remoteblockstore/remoteblockstore.go:68 Get failed {"cid": "bafkreigxgnwwhkv3osgskxtjpcuqzvp53pry5gcndnzr45pef3kwgzudwm", "error": "1 error occurred:\n\t* getting piece reader: 1 error occurred:\n\t* getting reader over sector 4010: sector is not unsealed\n\n\n\n"}
2023-11-08T08:54:02.571+0100 ERROR engine decision/blockstoremanager.go:121 blockstore.Get(bafkreigxgnwwhkv3osgskxtjpcuqzvp53pry5gcndnzr45pef3kwgzudwm) error: 1 error occurred:
* getting piece reader: 1 error occurred:
* getting reader over sector 4010: sector is not unsealed

it retries the sector multiple times, bitswap doesn't crash on the first occurrence of this log entry.

@bobdubois
Copy link
Author

Boost announces to IPNI before handing off to the sealing pipeline. What if the sector does not get sealed (like in this case) and IPNI is not aware? Is this the reason this happens? Still bitswap should choke on it.

@bobdubois
Copy link
Author

Graphsync retrievals stopped working as well. No logs found in boostd.log though that are related.

@ischasny
Copy link
Collaborator

Seems to have been resolved by updating to RC3.

@github-project-automation github-project-automation bot moved this to Done in Boost Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Support Ticket
Projects
Status: Done
Development

No branches or pull requests

2 participants