Commit Graph

143 Commits (6f0cf049caa1a7982669ee685e86621452686551)

Author SHA1 Message Date
Stuart Carnie f9b058772b
Merge remote-tracking branch 'origin/master' into sgc/tsm1 2020-09-02 11:11:28 -07:00
Lyon Hill 46d4f7d7bb
chore(tenant): point tests to new tenant service (#19477)
Now that the tenant service is complete we should be using it for all
test instead of the kv.Service.
2020-09-02 11:50:26 -06:00
Stuart Carnie 8104677639
revert(tasks): Revert incompatible commits
Revert 1ae2541
Revert fde2129
2020-08-26 09:44:21 -07:00
Stuart Carnie 39ab4a10c5
Merge remote-tracking branch 'origin/master' into sgc/tsm1
# Conflicts:
#	cmd/influxd/launcher/query_test.go
#	go.mod
#	go.sum
#	query/promql/internal/promqltests/go.mod
#	task/backend/executor/executor.go
#	task/backend/executor/support_test.go
2020-08-26 09:26:43 -07:00
Brett Buddin 1ae2541bf3
feat(task): Inject Task's LatestSuccess Timestamp In Flux Extern (#19402)
* feat(task): Inject latest success/failure into extern.

* chore(task/backend): Don't specify an extern if there are no statements.

* chore(task/executor): Don't apply the latest failure for now.

* chore(changelog): Add 19402 to changelog.

* chore(kit): Introduce feature flag for time injection.

* chore(task/executor): Guard injection into extern by feature flag.

* chore(task/executor): No need for this subtest pattern.

* chore(task/executor): Add tests for extern injection.
2020-08-25 13:06:26 -04:00
Stuart Carnie 0e0b2a3d87
Merge remote-tracking branch 'origin/master' into sgc/tsm1 2020-08-25 09:03:07 -07:00
Ariel Salem a03745e57d
feat(metric-selector): query builder for flows (#19396) 2020-08-25 08:06:48 -07:00
Lyon Hill f0e382adc2
chore: remove feature flag for task executor (#19422)
We now default task execution to pull from the user service a permission
set.
2020-08-25 08:39:03 -06:00
Michael Desa eb2dd5af7b
fix(kv): gaurd new org dashboard pagination with feature flag (#19421)
* fix(kv): gaurd new org dashboard pagination with feature flag

* chore: remove trailing whitespace from line

* fix(testing): remove extra context
2020-08-24 12:50:10 -07:00
Stuart Carnie cc656e5221
Merge remote-tracking branch 'origin/master' into sgc/tsm1
# Conflicts:
#	storage/reads/aggregate_resultset.go
#	storage/reads/aggregate_resultset_test.go
#	storage/reads/array_cursor.gen.go
#	storage/reads/array_cursor.gen.go.tmpl
#	storage/reads/array_cursor.go
#	storage/reads/array_cursor_gen_test.go
#	storage/reads/array_cursor_test.gen.go.tmpl
#	storage/reads/group_resultset.go
#	storage/reads/group_resultset_test.go
#	storage/reads/resultset.go
2020-08-20 10:52:34 -07:00
Brett Buddin 0780232b83
feat(task): Parse Task Options using Flux AST Helpers (#19326)
* feat(task): Extract options using AST-based method.

* feat(task): Use AST-based option APIs for updating task option.

* chore(task): Use the old way of parsing durations.

* fix(task): Ordering changed on us. Fixing tests to reflect the new order.

* fix(task): There's no way for us to know if there are multiples with the current APIs.

* chore(task): Guard against duplicate options. Minor cleanup.

* fix(kit/feature): Break cyclical dependency between influxdb and pkgs that use feature.

* chore(task): Feature flag updating Flux options.

* chore(task): Ensure we are testing both paths of feature flag.

* chore: Remove dead code.

* chore(task/options): Remove unnecessary conditional.

* chore(task/options): Unexport some error helpers.
2020-08-20 11:57:23 -04:00
Michael Desa 550966dbe2
chore(http): add response_code as label to http_api_* metrics (#19389)
This was added so that we can distinguish between 4XX and 401 class
errors. It should have a minimal impact in overall cardinality.

Co-authored-by: Greg Linton  <greg@influxdata.com>

Co-authored-by: Greg Linton  <greg@influxdata.com>
2020-08-19 13:19:18 -07:00
Deniz Kusefoglu 8ce6fe6a17 feat(bandChart): add feature flag and update options for Band Chart 2020-08-19 12:44:18 -07:00
Stuart Carnie b3734695c5
Merge remote-tracking branch 'origin/master' into sgc/tsm1 2020-08-14 12:37:41 -07:00
Lyon Hill eccdabf3ea
fix: restrict urm listing of a resource to members of org owning said resource (#19251)
* fix: restrict urm listing of a resource to members of org owning said resource

* chore: add testing around new urm behavior

* fix: add feature flagging

* fix: ensure we are returning the correct error

Co-authored-by: greg linton <greg@influxdata.com>
2020-08-14 12:34:07 -04:00
Bucky Schwarz ce443f832e feat: Add mosaic plot type to front end behind flag
Co-authored-by: Rashi Bose rashibose@gmail.com
Co-authored-by: Rose Parker reparker837@gmail.com
2020-08-13 15:03:14 -07:00
Stuart Carnie 057285e23a
Merge remote-tracking branch 'origin/master' into sgc/tsm1
# Conflicts:
#	query/logging.go
#	query/logging_test.go
#	query/stdlib/influxdata/influxdb/rules.go
#	query/stdlib/influxdata/influxdb/rules_test.go
#	query/stdlib/testing/testing.go
#	storage/flux/reader.go
#	storage/flux/table.gen.go
#	storage/flux/table.gen.go.tmpl
#	storage/flux/table.go
#	storage/flux/table_test.go
2020-08-11 10:25:01 -07:00
jlapacik 46c7345dae
feat: enable pushdowns for sum, count, min, and max by default (#19227) 2020-08-05 12:06:35 -07:00
Faith Chikwekwe d48dc690a6
feat(query/stdlib): add min and max to ReadGroup (#19158)
Enables the mix and max aggregates for the ReadGroupAggregte pushdown behind a feature flag.

Co-authored-by: Jonathan A. Sternberg <jonathan@influxdata.com>
2020-08-05 09:40:26 -05:00
Ariel Salem fdea2c6597
feat(feature-flagged-query-cache): Added a feature flagged query cache (#19072) 2020-08-04 06:56:02 -07:00
Stuart Carnie 26c18ac0a5
chore: Converging on 1.x tsdb 2020-08-03 09:20:48 -07:00
Edd Robinson 2b175291be
refactor: WIP removing tsbd 2020-08-03 09:18:34 -07:00
Lyon Hill a7273f89d7
chore: Remove urmFreeTask feature flag (#19112)
This feature flag has been enabled for over a month in the production and have not seen any new issues arrise
2020-07-28 14:05:43 -06:00
Alex Boatwright 437b35b869
feat: adding notebook flag to backend (#19013) 2020-07-22 09:27:11 -07:00
yukta dbcd363dad feat(query/stdlib): update flags.yml with mergleFilterRule and add mergeFilterRule to rules.go with corresponding unit tests. 2020-07-22 08:16:35 -07:00
yukta 6448a155c3 feat(query/stdlib): update flags.yml with mergleFilterRule and add mergeFilterRule to rules.go with corresponding unit tests. 2020-07-22 08:16:35 -07:00
Lyon Hill a31b651057
feat(task): Add new permission lookup pattern for executor (#18920)
* feat(task): Add new permission lookup pattern for executor

We can now use the user service to populate task owners permissions.
This should improve the task lookup time and decouple the task system
from the URM system. In the future we will have the ability to better isolate
tenant pieces from the rest of the service.

* feat: add feature flagging
2020-07-13 14:47:58 -06:00
jlapacik 9f9be91828 feat: remove feature flags for first and last pushdowns 2020-07-07 14:15:48 -07:00
jlapacik 3246b3c7ad refactor: remove feature flag for certain pushdowns 2020-07-01 12:59:39 -07:00
Lyon Hill 5776350a53
feat: switch to use the new tenant bucket service (#18738) 2020-06-30 14:48:42 -06:00
Jonathan A. Sternberg 1cd9569bff
feat(flags): add a feature flag for memory optimized schema mutation (#18794) 2020-06-29 16:53:45 -05:00
Brett Buddin 81e4b02b42
fix(kv): Install feature-flag for switching between normal and simplified options parsing. (#18662) 2020-06-23 12:22:53 -04:00
Jonathan A. Sternberg 61362e4d63
feat(query/stdlib): add a rule to reorder group and window (#18613)
This rule reorders group and window so it will switch from using
`ReadGroup` to using `ReadWindowAggregate` when the intent is to
aggregate a grouped window. It will then add a group node that groups by
the given columns and the start and stop columns and then reperform the
aggregate. This is more performant than performing the group first.
2020-06-22 11:11:27 -05:00
Johnny Steenbergen 81490d6604 feat(influx): fixup config file env var naming and add support for config directory 2020-06-18 17:09:46 -07:00
Lyon Hill 3987d3692b
chore: Clean out old session store feature flag (#18596) 2020-06-18 12:18:34 -06:00
Johnny Steenbergen ce6827c214 chore(cli): extend tests for CLI to capture how flags with `-` are in configs
the config for a daemon should use keys that match the flags of the
daemon it is provided too.
2020-06-17 14:52:03 -07:00
Brett Buddin 954939fa3a
Merge pull request #18507 from influxdata/bb/extract-write-logic
refactor(http): Extract write handler logic for re-use elsewhere
2020-06-17 15:22:41 -04:00
Yiqun (Ethan) Zhang 95d97c6e29
feat(query): planner rule to push down window and bare first() and la… (#18534) 2020-06-17 14:00:40 -05:00
Johnny Steenbergen 285502a8ae feat(cli): extend Program with config file
closes: #18565
2020-06-17 10:52:31 -07:00
Brett Buddin e1f063c084
chore(kit/io): Tests for LimitedReadCloser. 2020-06-17 13:13:59 -04:00
Brett Buddin 8f3b887721
chore: Tidy up documentation 2020-06-17 13:13:59 -04:00
Brett Buddin 414aef261b
refactor(http): Refactor write endpoint to enable 1.x write code reuse. 2020-06-17 13:13:58 -04:00
Lyon Hill 4809285c91
fix: remove urm create from task create request. (#18519)
* fix: remove urm create from task create request.

This will greatly reduce the amount of urms created in the system. To make this change to the system we need to also remove our direct reliance on the urm's in tasks.
Remove the create and delete portion of the task actions that are creating and deleting urms
Remove reliance on urm's when we are doing FindTaskByUser and instead rely on the user filter matching the task.OwnerID

One test had to be changed because the test was explicitly hacking the task to remove the owner ID and then trying to successfully look up the task by ownerID

* fix: add in feature flag

* fix: apply cursor cleanliness and permission error handling
2020-06-17 08:20:05 -06:00
Johnny Steenbergen ea322d8286 feat(pkger): extend metrics to collect remote sources
closes: #18243
2020-06-16 12:17:45 -07:00
Johnny Steenbergen 74b1ab2948 chore(metric): refactor the metric pkg to enable extension of vectors and naming convetions 2020-06-16 12:17:45 -07:00
Christopher M. Wolff 8fa5d3f591
feat(query): add test and feature flag for pushing down sum (#18484) 2020-06-12 13:28:03 -07:00
Ariel Salem fe0817dc55
chore(flags): updated hydratevars to expose feature flag (#18462) 2020-06-11 11:27:40 -07:00
Yiqun (Ethan) Zhang 82185dd434
feat: add feature flag for fill() (#18445) 2020-06-10 16:00:43 -05:00
Johnny Steenbergen 1d75e3e8e9 feat(influx): provide means to provide trace debug ids to httpc client 2020-06-09 18:18:43 -07:00
Jonathan A. Sternberg 077949cd96
chore(flux): downgrade flux to v0.68.0 (#18413)
* revert: "feat: add feature flag for fill() (#18386)"

This reverts commit 8f9e73af27.

* chore(flux): downgrade flux to v0.68.0
2020-06-09 11:38:55 -05:00