Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
downloader: race at startup (#12423)
``` ================== WARNING: DATA RACE Read at 0x00c0266a01e0 by goroutine 24836: github.com/erigontech/erigon-lib/downloader.(*Downloader).notifyCompleted() github.com/erigontech/[email protected]/downloader/downloader.go:2957 +0x665 github.com/erigontech/erigon-lib/downloader.(*Downloader).torrentCompleted() github.com/erigontech/[email protected]/downloader/downloader.go:2946 +0x65d github.com/erigontech/erigon-lib/downloader.(*Downloader).mainLoop.func2() github.com/erigontech/[email protected]/downloader/downloader.go:956 +0x1f84 Previous write at 0x00c0266a01e0 by main goroutine: github.com/erigontech/erigon-lib/downloader.NewGrpcServer() github.com/erigontech/[email protected]/downloader/downloader_grpc_server.go:47 +0x44d github.com/erigontech/erigon/eth.(*Ethereum).setUpSnapDownloader() github.com/erigontech/erigon/eth/backend.go:1398 +0x325 github.com/erigontech/erigon/eth.New() github.com/erigontech/erigon/eth/backend.go:351 +0x1b45 github.com/erigontech/erigon/turbo/node.New() github.com/erigontech/erigon/turbo/node/node.go:139 +0x124 main.runErigon() github.com/erigontech/erigon/cmd/erigon/main.go:98 +0x53b github.com/erigontech/erigon/turbo/app.MakeApp.func1() ```
- Loading branch information