influxdb/services
Edd Robinson 57b8993e7b Reduce cost of admin user check
This commits adds a caching mechanism to the Data object, such that
when large numbers of users exist in the system, the cost of determining
if there is at least one admin user will be low.

To ensure that previously marshalled Data objects contain the correct
cached admin user value, we exhaustively determine if there is an admin
user present whenever we unmarshal a Data object.
2017-04-03 12:06:44 +01:00
..
admin Rename zap import back to github.com/uber-go/zap 2017-02-17 17:17:22 -06:00
collectd fix #8028: call api.NewTypesDB() instead of new 2017-02-23 18:04:21 -05:00
continuous_querier Rename zap import back to github.com/uber-go/zap 2017-02-17 17:17:22 -06:00
graphite Rename zap import back to github.com/uber-go/zap 2017-02-17 17:17:22 -06:00
httpd Reduce cost of admin user check 2017-04-03 12:06:44 +01:00
meta Reduce cost of admin user check 2017-04-03 12:06:44 +01:00
opentsdb Rename zap import back to github.com/uber-go/zap 2017-02-17 17:17:22 -06:00
precreator Rename zap import back to github.com/uber-go/zap 2017-02-17 17:17:22 -06:00
retention Rename zap import back to github.com/uber-go/zap 2017-02-17 17:17:22 -06:00
snapshotter Rename zap import back to github.com/uber-go/zap 2017-02-17 17:17:22 -06:00
subscriber Rename zap import back to github.com/uber-go/zap 2017-02-17 17:17:22 -06:00
udp Rename zap import back to github.com/uber-go/zap 2017-02-17 17:17:22 -06:00