1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon/logger/journald
Nalin Dahyabhai 4d200cd693 Fix a race in maintaining the journald reader list
The journald log reader keeps a map of following readers so that it can
close them properly when the journald reader object itself is closed,
but it was possible for its worker goroutine to be scheduled so that the
worker attempted to remove a reader from the map before the reader had
been added to the map.  This patch adds the item to the map before
starting the goroutine which is expected to eventually remove it.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com> (github: nalind)
2016-03-17 18:36:21 -04:00
..
journald.go Add tag support to journald logging driver, closes #19556 2016-01-27 10:52:19 +00:00
journald_unsupported.go Revert "prevent journald from being built on ARM" 2015-12-02 10:30:13 -05:00
read.go Fix a race in maintaining the journald reader list 2016-03-17 18:36:21 -04:00
read_native.go Try to handle changing names for journal packages 2016-02-23 12:24:27 -05:00
read_native_compat.go Try to handle changing names for journal packages 2016-02-23 12:24:27 -05:00
read_unsupported.go Revert "prevent journald from being built on ARM" 2015-12-02 10:30:13 -05:00