filecoin-project / filecoin-project/boost
Seeing many errors - traversal completion check failed
- Dominant language
- Go
- Stars
- 121
- Forks
- 79
- Avg merge
- 10d 14h
- Merged PRs (30d)
- 1
Description
### Checklist
- [X] This is **not** a question or a support request. If you have any boost related questions, please ask in the [discussion forum](https://github.com/filecoin-project/boost/discussions).
- [X] This is **not** a new feature or enhancement request. If it is, please open a [new idea discussion](https://github.com/filecoin-project/boost/discussions/new?category=ideas) instead. New feature and enhancement requests would be entertained by the boost team after a thorough discussion only.
- [X] I **have** searched on the [issue tracker](https://github.com/filecoin-project/boost/issues) and the [discussion forum](https://github.com/filecoin-project/boost/discussions), and there is no existing related issue or discussion.
- [X] I am running the [`Latest release`](https://github.com/filecoin-project/boost/releases), or the most recent RC(release canadiate) for the upcoming release or the dev branch(master), or have an issue updating to any of these.
- [X] I did not make any code changes to boost.
### Boost component
- [X] boost daemon - storage providers
- [ ] boost client
- [ ] boost UI
- [ ] boost data-transfer
- [ ] boost index-provider
- [ ] Other
### Boost Version
```text
boostd version 1.5.1-rc2+git.aaf4aff
Daemon: 1.19.0+mainnet+git.64059ca87+api1.5.0
Local: lotus-miner version 1.19.0+mainnet+git.64059ca87
```
### Describe the Bug
Seeing a lot of these errors in boostd logs.
Unclear if there is a problem that needs resolution
### Logging Information
```text
2023-01-15T17:56:14.638Z INFO boost-storage-deal logs/log.go:95 Cleaning logs older than 30 days from logsDB
2023-01-15T17:56:32.948Z ERROR gs-queryexecutor queryexecutor/queryexecutor.go:190 traversal completion check failed, nBlocksRead=1, err=protobuf: (PBLink) invalid fieldNumber, expected 1, 2 or 3, got 7
2023-01-15T17:59:39.710Z ERROR gs-queryexecutor queryexecutor/queryexecutor.go:190 traversal completion check failed, nBlocksRead=1, err=protobuf: (PBLink) invalid fieldNumber, expected 1, 2 or 3, got 10
2023-01-15T18:00:01.857Z ERROR gs-queryexecutor queryexecutor/queryexecutor.go:190 traversal completion check failed, nBlocksRead=1, err=protobuf: (PBNode) invalid wireType, expected 2, got 1
2023-01-15T18:24:15.249Z ERROR gs-queryexecutor queryexecutor/queryexecutor.go:190 traversal completion check failed, nBlocksRead=1, err=protobuf: (PBNode) invalid wireType, expected 2, got 4
2023-01-15T18:24:18.852Z ERROR gs-queryexecutor queryexecutor/queryexecutor.go:190 traversal completion check failed, nBlocksRead=1, err=protobuf: (PBNode) invalid wireType, expected 2, got 1
2023-01-15T18:25:57.058Z ERROR gs-queryexecutor queryexecutor/queryexecutor.go:190 traversal completion check failed, nBlocksRead=1, err=protobuf: (PBLink) invalid fieldNumber, expected 1, 2 or 3, got 10
2023-01-15T18:26:02.379Z ERROR gs-queryexecutor queryexecutor/queryexecutor.go:190 traversal completion check failed, nBlocksRead=1, err=protobuf: (PBNode) invalid wireType, expected 2, got 3
2023-01-15T18:26:14.061Z ERROR gs-queryexecutor queryexecutor/queryexecutor.go:190 traversal completion check failed, nBlocksRead=1, err=protobuf: (PBNode) invalid wireType, expected 2, got 1
2023-01-15T18:32:34.387Z ERROR gs-queryexecutor queryexecutor/queryexecutor.go:190 traversal completion check failed, nBlocksRead=1, err=protobuf: (PBNode) invalid fieldNumber, expected 1 or 2, got 298
2023-01-15T18:37:34.427Z ERROR gs-queryexecutor queryexecutor/queryexecutor.go:190 traversal completion check failed, nBlocksRead=1, err=protobuf: (PBNode) invalid wireType, expected 2, got 1
2023-01-15T18:44:20.519Z ERROR gs-queryexecutor queryexecutor/queryexecutor.go:190 traversal completion check failed, nBlocksRead=1, err=protobuf: (PBLink) invalid fieldNumber, expected 1, 2 or 3, got 15
2023-01-15T18:48:36.544Z ERROR gs-queryexecutor queryexecutor/queryexecutor.go:190 traversal completion check failed, nBlocksRead=1, err=protobuf: (PBLink) invalid fieldNumber, expected 1, 2 or 3, got 1417
2023-01-15T18:56:14.638Z INFO boost-storage-deal logs/log.go:95 Cleaning logs older than 30 days from logsDB
2023-01-15T19:00:39.335Z ERROR gs-queryexecutor queryexecutor/queryexecutor.go:190 traversal completion check failed, nBlocksRead=1, err=protobuf: (PBNode) invalid wireType, expected 2, got 5
2023-01-15T19:00:42.818Z ERROR gs-queryexecutor queryexecutor/queryexecutor.go:190 traversal completion check failed, nBlocksRead=1, err=protobuf: (PBNode) invalid wireType, expected 2, got 3
2023-01-15T19:00:51.189Z ERROR gs-queryexecutor queryexecutor/queryexecutor.go:190 traversal completion check failed, nBlocksRead=1, err=protobuf: (PBNode) invalid wireType, expected 2, got 1
2023-01-15T19:06:51.660Z ERROR gs-queryexecutor queryexecutor/queryexecutor.go:190 traversal completion check failed, nBlocksRead=1, err=protobuf: (PBNode) invalid wireType, expected 2, got 3
2023-01-15T19:06:55.571Z ERROR gs-queryexecutor queryexecutor/queryexecutor.go:190 traversal completion check failed, nBlocksRead=1, err=protobuf: (PBNode) invalid fieldNumber, expected 1 or 2, got 8
2023-01-15T19:13:43.811Z ERROR gs-queryexecutor queryexecutor/queryexecutor.go:190 traversal completion check failed, nBlocksRead=1, err=protobuf: (PBNode) invalid wireType, expected 2, got 1
2023-01-15T19:14:42.750Z ERROR gs-queryexecutor queryexecutor/queryexecutor.go:190 traversal completion check failed, nBlocksRead=1, err=protobuf: (PBLink) invalid fieldNumber, expected 1, 2 or 3, got 5
2023-01-15T19:15:40.043Z ERROR gs-queryexecutor queryexecutor/queryexecutor.go:190 traversal completion check failed, nBlocksRead=1, err=protobuf: (PBLink) invalid fieldNumber, expected 1, 2 or 3, got 4
2023-01-15T19:28:03.722Z ERROR gs-queryexecutor queryexecutor/queryexecutor.go:190 traversal completion check failed, nBlocksRead=1, err=protobuf: (PBNode) invalid wireType, expected 2, got 1
2023-01-15T19:31:48.972Z ERROR gs-queryexecutor queryexecutor/queryexecutor.go:190 traversal completion check failed, nBlocksRead=1, err=protobuf: (PBLink) invalid fieldNumber, expected 1, 2 or 3, got 4
2023-01-15T19:33:01.248Z ERROR gs-queryexecutor queryexecutor/queryexecutor.go:190 traversal completion check failed, nBlocksRead=1, err=protobuf: (PBLink) wrong wireType (1) for Tsize
```
### Repo Steps
Run boostd with indexer enabled.
Seeing these while idling without new deals in process
Contributor guide
Research direction
Start at queryexecutor/queryexecutor.go:190 and reproduce the messages by running boostd with the indexer enabled while idle, as described in the issue. Compare the protobuf traversal errors with expected indexer behavior; done means determining whether they indicate a real fault and documenting the required resolution.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100