-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is an urgent logging fix to a bug that might break gossip tests. in op/go-logging/backend.go, the log invokes IsEnabledFor which goes to a global field defaultBackend that IsEnabledFor method for that global field invokes GetLevel which reads from a map. If a logger is initalized at the same time another goroutine reads from the map, a concurrent read-write would occur and will result in panic. Change-Id: Ief788f3da722aa38b7c743179d6dd1a1dc60936a Signed-off-by: Yacov Manevich <yacovm@il.ibm.com>
- Loading branch information
Showing
1 changed file
with
33 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters