influxdb/services
Jonathan A. Sternberg 83ecab6299 Prevent deadlock during collectd, graphite, opentsdb, and udp shutdown
All of these services start up goroutines and then wait for the
goroutines to finish. Each of them has a `tsdb.PointBatcher` that may
return a point during the shutdown sequence. During the shutdown
sequence, a lock was held. This lock may get accessed when attempting to
write the point that came back from the `tsdb.PointBatcher`. This caused
the read lock attempt to wait forever for the write lock to be unlocked
during `Close()`.

This modifies these methods so that the write lock is released while
waiting for goroutines to finish in these three services.
2017-10-19 15:57:05 -05:00
..
collectd Prevent deadlock during collectd, graphite, opentsdb, and udp shutdown 2017-10-19 15:57:05 -05:00
continuous_querier cleanup: remove poor usage of ',ok' with maps 2017-08-30 09:49:31 -04:00
graphite Prevent deadlock during collectd, graphite, opentsdb, and udp shutdown 2017-10-19 15:57:05 -05:00
httpd Minor cleanup 2017-10-13 17:28:24 -07:00
meta cleanup: remove poor usage of ',ok' with maps 2017-08-30 09:49:31 -04:00
opentsdb Prevent deadlock during collectd, graphite, opentsdb, and udp shutdown 2017-10-19 15:57:05 -05:00
precreator Report subset of config values in SHOW DIAGNOSTICS 2017-03-14 11:34:19 -07:00
retention Merge remote-tracking branch 'upstream/master' into tsi 2017-03-15 10:13:32 -06:00
snapshotter Rename zap import back to github.com/uber-go/zap 2017-02-17 17:17:22 -06:00
subscriber Make services/subscriber golintable 2017-04-03 18:32:36 -04:00
udp Prevent deadlock during collectd, graphite, opentsdb, and udp shutdown 2017-10-19 15:57:05 -05:00