Skip to content

Add lock for downloader version map#9419

Merged
AskAlexSharov merged 2 commits intodevelfrom
cfgmap_lock
Feb 11, 2024
Merged

Add lock for downloader version map#9419
AskAlexSharov merged 2 commits intodevelfrom
cfgmap_lock

Conversation

@mh0lt
Copy link
Copy Markdown
Contributor

@mh0lt mh0lt commented Feb 11, 2024

Fix for:

fatal error: concurrent map read and map write

goroutine 213 [running]:
github.com/ledgerwatch/erigon-lib/downloader.initSnapshotLock.func1()
github.com/ledgerwatch/erigon-lib@v1.0.0/downloader/downloader.go:329 +0x3a7

@AskAlexSharov AskAlexSharov merged commit ce78ba6 into devel Feb 11, 2024
@AskAlexSharov AskAlexSharov deleted the cfgmap_lock branch February 11, 2024 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants