Commit Graph

30134 Commits (e84d4625a5cc3af689bd9437105b50daff99a991)

Author SHA1 Message Date
Jeff Wendling e84d4625a5 storage: add predicate deletes to the engine interface 2019-05-01 13:40:40 -06:00
Jeff Wendling 740d669514 tsm1: teach the cache about predicates 2019-05-01 13:40:40 -06:00
Jeff Wendling e10939b8af storage: add predicate tracking to the WAL 2019-05-01 13:40:40 -06:00
Jeff Wendling 4fb7bf1730 tsm1: implement predicate matcher from protobufs 2019-05-01 13:40:40 -06:00
Jeff Wendling 4096f93891 tsm1: implement reading and writing predicates in tombstone files 2019-05-01 13:40:40 -06:00
Jeff Wendling dcf797f111 tsm1: basic predicate implementation at index layer
Only wires it up. No tests, no tombstone tracking, nothing.
2019-05-01 13:40:40 -06:00
Jeff Wendling 7403fd8aa9 tsm1: rename engine method to DeletePrefixRange
The storage/engine knows about buckets, but the tsm1/engine doesn't, so
name the tsm1/engine method Prefix and keep the storage/engine named
Bucket.
2019-05-01 13:40:40 -06:00
Deniz Kusefoglu 79f4e2b57e
Merge pull request #13734 from influxdata/remove-builderConfig
Sanitize query builderConfigs before exporting dashboards
2019-05-01 12:33:24 -07:00
Russ Savage 1f63aba1a9
fix a typo in the range example (#13738)
fix a typo in the range example
2019-05-01 12:26:15 -07:00
Deniz Kusefoglu e9c551723e Sanitize query builderConfigs before exporting dashboards 2019-05-01 12:16:32 -07:00
Christopher Henn ea9a231f43 fix(ui): fix issue saving histograms via the Data Explorer
Closes #13733
2019-05-01 11:23:16 -07:00
David G. Simmons af8e995e70 Fix ARM64 builds (#13542)
This fixes builds for ARM64 -- which requires the 'noasm' tag -- while not changing other builds for other architectures.
2019-05-01 10:50:17 -07:00
Russ Savage 9a7840aae0
fixing window example (#13732) 2019-05-01 10:38:18 -07:00
jlapacik e50508a349 feat(influxdb): enable group pushdown rule
Closes #13623.
2019-05-01 10:35:10 -07:00
jlapacik 5d90683b07 refactor(storage): remove no points tables and streamReader interface
These tables were previously used to perform meta queries.
Meta queries are now answered using a specific API, and as
a result, these tables can go away.
2019-05-01 10:35:10 -07:00
jlapacik 95aa194498 feat(storage): ReadGroup RPC definitions and storage reader 2019-05-01 10:35:10 -07:00
jlapacik 5f87134ca8 feat(query): physical group operation and pushdown rule
test(query): group pushdown rule
2019-05-01 10:35:10 -07:00
Nathaniel Cook eaf31735ae
Merge pull request #13731 from influxdata/flux-staging
chore(dep): update to Flux v0.28.3
2019-05-01 10:46:03 -06:00
Deniz Kusefoglu 65767c8491
Merge pull request #13728 from influxdata/remove-builderConfig
Remove builderConfigs from default Templates
2019-05-01 09:37:37 -07:00
Stuart Carnie f56b4ef020
Merge pull request #13723 from influxdata/sgc/fix/merge
Ensure GroupCursor Keys is union of keys from all GroupCursors of current partition key
2019-05-01 09:07:53 -07:00
Nathaniel Cook 7047172568 chore(dep): update to Flux v0.28.3 2019-05-01 09:45:53 -06:00
Jonathan A. Sternberg 1a254a3293
feat(stdlib): enable the tag keys optimization for meta queries (#13705) 2019-04-30 21:32:47 -05:00
Jacob Marble 8c269e0153
chore(log): Put trace_id back in logs (#13712)
* chore(log): Put trace_id back in logs

* fix tests
2019-04-30 18:51:22 -07:00
Deniz Kusefoglu 506ddb4f4f Remove builderConfigs from templates 2019-04-30 17:37:20 -07:00
Stuart Carnie 96c2282aab
fix(query): Keys must be union of all keys from all GroupCursors 2019-04-30 15:49:36 -07:00
Lyon Hill 166e50f594
Fix inactive task scheduling (#13721) 2019-04-30 16:30:02 -06:00
Alirie Gray 86e632b429
Merge pull request #13719 from influxdata/fix-tasks-after-paging
test(tasks): added coverage for ListTasks with OrgID
2019-04-30 14:47:30 -07:00
Alirie Gray cf2c9668fc test(tasks): added coverage for ListTasks with OrgID 2019-04-30 14:20:46 -07:00
Russ Savage 90f42df107
Fixing templates to address float != int error (#13718)
Fixing system template to address float != int error in flux
2019-04-30 14:13:23 -07:00
Andrew Watkins c3d823e545
fix: notes covered by adjacent cells (#13717)
* fix(dashboards): notes being hiddent by adjascent cells

* chore(portals): be the change
2019-04-30 12:41:39 -07:00
Russ Savage 3e6ac0cc1e
adding local metrics dashboard for quickstart (#13715)
Adding local metrics dashboard for quickstart
2019-04-30 12:31:39 -07:00
Deniz Kusefoglu 04bc64bb89
Merge pull request #13713 from influxdata/all-buckets-should-be-specific
Create token with select all buckets should not create token with all…
2019-04-30 10:50:47 -07:00
Stuart Carnie 65e4e3c5de
Merge pull request #13701 from influxdata/sgc/bp/2.x/13687
Don't panic when encoding string blocks and length of source slice is too large
2019-04-30 10:02:40 -07:00
Deniz Kusefoglu 3314563439 Create token with select all buckets should not create token with all access permissions 2019-04-30 09:54:37 -07:00
Jeff Wendling 548e22cc5a
Merge pull request #13703 from influxdata/jmw-tsi1-compaction-consistency-logs
tsi1: don't do verbose debug logging unless test fails
2019-04-30 16:06:11 +00:00
Andrew Watkins f2fd7d6728
feat(ui/explorer): add imports to flux scripts (#13711)
* fix(ui) Update flux function docs and examples

* add package property to FluxToolbarFunction

* added package property to built-in flux functions

* added package propert to the toFloat function

* prettified fluxFunction.ts

* updated columns parameter on derivative function

* added newline after derivative desc for prettier fluxFunction.ts

* chore(e2e): updsate cypress to 2.0

* feat(query-builder): add import statements

* wip

* feat(ui/builder): simplify import addition logic

* test: remove only

* chore: linting

* test: string organization
2019-04-29 21:56:36 -07:00
Jonathan A. Sternberg e181edd077
fix(storage/reads): translate measurement and field tag key names (#13707)
Translate the measurement and field tag key names to their non-storage
names and add the `_start` and `_stop` tag keys to the output since
they aren't real tags, but ones that are added by range.
2019-04-29 18:11:20 -05:00
Gunnar 39bfa33442
docs: update issue and PR templates (#13373)
docs: update issue and PR templates
2019-04-29 14:42:54 -07:00
Lyon Hill 8fa86488c3
Newly activated tasks should not attempt to 'catch up' (#13700)
* Newly activated tasks should not attempt to 'catch up'
2019-04-29 15:28:34 -06:00
Stuart Carnie 369a4610e6
fix(storage): Don't panic when length of source slice is too large
StringArrayEncodeAll will panic if the total length of strings
contained in the src slice is > 0xffffffff. This change adds a unit
test to replicate the issue and an associated fix to return an error.

This also raises an issue that compactions will be unable to make
progress under the following condition:

* multiple string blocks are to be merged to a single block and
* the total length of all strings exceeds the maximum block size that
  snappy will encode (0xffffffff)

The observable effect of this is errors in the logs indicating a
compaction failure.

Fixes #13687
2019-04-29 13:29:41 -07:00
Jeff Wendling 9cd7c0f7e3 tsi1: don't do verbose debug logging unless test fails 2019-04-29 14:01:45 -06:00
Jonathan A. Sternberg 96a76aad1d
fix(storage/reads): reserve data for the tags column when building a table (#13691) 2019-04-29 14:28:25 -05:00
Gunnar Aasen f21ece1a5a docs: update issue and PR templates 2019-04-29 10:36:56 -07:00
Jade McGough 7855147241
Merge pull request #13636 from influxdata/delete_invalid_org_id
fix(http): fix delete bad org id
2019-04-29 10:15:36 -07:00
Leo Di Donato 4373392d54
feat(http): Default http transport uses the actual default values (#13437) 2019-04-29 16:57:30 +02:00
Delmer 556e030f7b
fix(ui/var/dropdown): display map key names in dropdown (#13659)
fix(ui/var/dropdown): display map key names in dropdown
2019-04-29 13:53:25 +02:00
Mark Rushakoff d4b5ff29cf fix: encode IDs as JSON map keys properly
The encoding/json docs explain that you need to provide a MarshalText
method to encode integer types as map keys, otherwise they will be
formatted as a string version of the decimal number.

Providing MarshalText and UnmarshalText also uses those methods as a
fallback for MarshalJSON and UnmarshalJSON, so we no longer need
explicit versions of those latter methods.

Apparently Sources were using IDs as map keys and were providing the
,string attribute on the JSON tag on the struct. This was not correct so
that attribute has been removed. Existing sources will no longer be
readable as a result of this change.

Fixes #13277.
2019-04-26 20:41:20 -07:00
Jade McGough e02c859992
Merge pull request #13677 from influxdata/org_name_not_empty
fix(kv): fix empty org name
2019-04-26 15:57:19 -07:00
Palakp41 8adfabab84
Merge pull request #13674 from influxdata/fix/scraper-create-submit
Update scraper create overlay to create scraper on enter
2019-04-26 15:21:31 -07:00
Kelvin Wang ea54e2c2c8 fix(kv): fix empty org name 2019-04-26 18:16:28 -04:00