influxdb/kv
Stuart Carnie d248fea5e5
fix(kv): Add push down predicate hint to filter by keys
A KV store may optionally implement a key predicate
function to filter on keys, which may reduce memory and CPU usage.

Expected user resource mapping improvements for a single user:

Before:
3813719 ns/op  4170142 B/op  33 allocs/op

After:
 316869 ns/op      816 B/op  15 allocs/op
2019-11-20 13:35:13 -07:00
..
auth.go feat(createdAt): Added createdat and updatedAt to Authorization (#15784) 2019-11-07 06:46:30 -08:00
auth_test.go feat(createdAt): Added createdat and updatedAt to Authorization (#15784) 2019-11-07 06:46:30 -08:00
bucket.go fix(kv): don't stub system buckets when searching by name (#15928) 2019-11-18 23:33:15 -08:00
bucket_test.go feat(influxdb): prevent users from rename system buckets 2019-10-30 12:53:43 -07:00
check.go fix(kv): find checks by urm 2019-10-24 12:29:48 -04:00
check_test.go fix(notification/check): ensure cloud integration works 2019-08-27 15:02:53 -04:00
cursor.go feat(platform): add generic kv store 2018-12-18 16:08:48 -05:00
cursor_test.go chore: rename imports from platform to influxdb 2019-01-09 20:51:47 -08:00
dashboard.go fix(kv): updatedAt should be updated as well 2019-05-18 23:36:48 -04:00
dashboard_test.go feat(http): add audit log 2019-05-16 10:57:28 -04:00
document.go fix(kv): updatedAt should be updated as well 2019-05-18 23:36:48 -04:00
document_test.go feat(influxdb): add support for templates 2019-03-06 13:18:31 -08:00
kv_test.go feat(kv): implemented key/value store with end-to-end integration tests 2019-02-19 17:47:19 -06:00
kvlog.go feat(http): add audit log 2019-05-16 10:57:28 -04:00
kvlog_test.go feat(kv): implemented key/value store with end-to-end integration tests 2019-02-19 17:47:19 -06:00
label.go feat(kv): makes label names unique across kv impls 2019-10-31 11:30:36 -05:00
label_test.go feat(kv): implemented key/value store with end-to-end integration tests 2019-02-19 17:47:19 -06:00
lookup_service.go feat(kv): implemented key/value store with end-to-end integration tests 2019-02-19 17:47:19 -06:00
lookup_service_test.go fix(influxdb): fixes broken tests from system bucket changes 2019-10-21 14:48:47 -07:00
notification_endpoint.go fix(kv): use urm filter to search endpoints 2019-10-24 13:28:34 -04:00
notification_endpoint_test.go fix(http): fix notfication endpoint secret store 2019-08-28 16:02:17 -04:00
notification_rule.go feat(influxdb): Add labels create endpoints 2019-10-23 09:53:50 -07:00
notification_rule_test.go feat(influxdb): user disabling 2019-09-23 11:57:16 -07:00
onboarding.go chore: refactor password service to provide userID instead of name 2019-11-20 09:16:31 -08:00
onboarding_test.go feat(kv): random ids without comma, space, backslash for org and bucket 2019-09-08 01:50:05 -05:00
org.go fix(tasks): tasks look up system bucket id 2019-10-21 14:48:47 -07:00
org_test.go feat(kv): random ids without comma, space, backslash for org and bucket 2019-09-08 01:50:05 -05:00
passwords.go chore: refactor password service to provide userID instead of name 2019-11-20 09:16:31 -08:00
passwords_test.go chore: refactor password service to provide userID instead of name 2019-11-20 09:16:31 -08:00
scrapers.go feat(influxdb): add scraper filter 2019-04-25 11:33:34 -04:00
scrapers_test.go feat(influxdb): add scraper filter 2019-04-25 11:33:34 -04:00
secret.go fix(kv): fix extra \x00 secret decoding 2019-08-15 21:56:20 -04:00
secret_test.go feat(kv): implemented key/value store with end-to-end integration tests 2019-02-19 17:47:19 -06:00
service.go feat(createdAt): Added createdat and updatedAt to Authorization (#15784) 2019-11-07 06:46:30 -08:00
service_test.go feat(authentication): Add cli args for specifying session length and renewal (#13924) 2019-05-15 10:16:47 -07:00
session.go feat(task): impersonate user on task execution (#14675) 2019-08-15 18:31:52 -06:00
session_test.go feat(kv): implemented key/value store with end-to-end integration tests 2019-02-19 17:47:19 -06:00
source.go add spans to multiple services 2019-03-07 12:12:31 -07:00
source_test.go feat(kv): implemented key/value store with end-to-end integration tests 2019-02-19 17:47:19 -06:00
store.go fix(kv): Add push down predicate hint to filter by keys 2019-11-20 13:35:13 -07:00
task.go fix(task): add hinting to allow us to skip task auth lookup (#15973) 2019-11-19 11:06:04 -07:00
task_private_test.go feat(kv): Add unit tests for expected behavior of taskMatchFn 2019-11-01 14:48:50 -07:00
task_test.go refactor(tasks): use go Time for Task CreatedAt, UpdatedAt, LatestCompleted, Offset (#15672) 2019-11-12 17:13:56 -08:00
telegraf.go fix(influxdb): rename telegraf orgID 2019-06-03 16:20:53 -04:00
telegraf_test.go feat(kv): implemented key/value store with end-to-end integration tests 2019-02-19 17:47:19 -06:00
unique.go fix(kv): remove extraneous function calls 2019-09-08 02:53:46 -05:00
urm.go fix(kv): Add push down predicate hint to filter by keys 2019-11-20 13:35:13 -07:00
urm_private_test.go fix(kv): Add push down predicate hint to filter by keys 2019-11-20 13:35:13 -07:00
urm_test.go feat(kv): implemented key/value store with end-to-end integration tests 2019-02-19 17:47:19 -06:00
user.go fix(http): Ensures users are created with an active status 2019-09-30 15:37:59 -07:00
user_test.go feat(kv): implemented key/value store with end-to-end integration tests 2019-02-19 17:47:19 -06:00
variable.go feat(kv): unique variable names (#15695) 2019-11-04 14:28:21 -06:00
variable_test.go fixed bolt and inmem tests 2019-06-20 16:25:38 -07:00