influxdb/services/meta
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
..
internal Update source files to pass vet checks for go 1.7 2016-09-14 15:01:22 -05:00
client.go Reduce cost of admin user check 2017-03-20 12:04:03 +00:00
client_test.go Merge pull request #7837 from influxdata/er-tidy 2017-01-26 13:43:07 +00:00
config.go Report subset of config values in SHOW DIAGNOSTICS 2017-03-14 11:34:19 -07:00
config_test.go in memory meta, single node configs, etc. 2016-03-14 16:55:54 +00:00
data.go Reduce cost of admin user check 2017-03-20 12:04:03 +00:00
data_internal_test.go fix marshaling of zero time 2017-01-11 12:00:18 -06:00
data_test.go Reduce cost of admin user check 2017-03-20 12:04:03 +00:00
errors.go Add db/rp name validation 2017-01-12 17:38:10 -05:00
file_unix.go Add platform specific override for file rename. 2016-03-18 21:45:29 +05:30
file_windows.go Remove redundant windows build tags 2016-05-03 14:22:02 +01:00
meta_test.go Update authentication cache to work for clusters 2016-02-12 07:16:57 -05:00
query_authorizer.go Allow non-admin users to execute SHOW DATABASES 2017-02-13 08:59:16 -08:00
write_authorizer.go Allow non-admin users to execute SHOW DATABASES 2017-02-13 08:59:16 -08:00