influxdb/services
Edd Robinson 255992f5ec 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-03-20 12:04:03 +00:00
..
admin Rename zap import back to github.com/uber-go/zap 2017-02-17 17:17:22 -06:00
collectd Report subset of config values in SHOW DIAGNOSTICS 2017-03-14 11:34:19 -07:00
continuous_querier Do not increment the continuous query statistic if no query is run 2017-03-16 10:36:00 -05:00
graphite Report subset of config values in SHOW DIAGNOSTICS 2017-03-14 11:34:19 -07:00
httpd Reduce cost of admin user check 2017-03-20 12:04:03 +00:00
meta Reduce cost of admin user check 2017-03-20 12:04:03 +00:00
opentsdb Report subset of config values in SHOW DIAGNOSTICS 2017-03-14 11:34:19 -07:00
precreator Report subset of config values in SHOW DIAGNOSTICS 2017-03-14 11:34:19 -07:00
retention Report subset of config values in SHOW DIAGNOSTICS 2017-03-14 11:34:19 -07:00
snapshotter Rename zap import back to github.com/uber-go/zap 2017-02-17 17:17:22 -06:00
subscriber Report subset of config values in SHOW DIAGNOSTICS 2017-03-14 11:34:19 -07:00
udp Report subset of config values in SHOW DIAGNOSTICS 2017-03-14 11:34:19 -07:00