Commit Graph

33672 Commits (7d8285aded38bdb38cd4e21434794f5979e7ddc8)

Author SHA1 Message Date
Ben Johnson 3b2716b312
Merge pull request #18847 from influxdata/points-writer-bucket-finder
fix(storage): Refactor LoggingPointsWriter to use BucketFinder
2020-07-02 13:55:24 -06:00
Ben Johnson 6b0b4d7c4e fix(storage): Refactor LoggingPointsWriter to use BucketFinder
This commit changes the writer to use `storage.BucketFinder` which
is a subset of the `influxdb.BucketService` interface.
2020-07-02 12:46:43 -06:00
alexpaxton 8e0f1e2dba refactor: cleanup 2020-07-02 09:15:50 -07:00
alexpaxton 5169b3c661 refactor: make toggle mimic design 2020-07-02 09:15:50 -07:00
alexpaxton 1b1a4ae4c1 refactor: always allow toggling of list groups 2020-07-02 09:15:50 -07:00
alexpaxton 9365ddbb74 refactor: do not render empty list groups 2020-07-02 09:15:50 -07:00
Jakub Bednar f9314df5f8 fix(swagger): PostBucketRequest.orgID is required
Signed-off-by: Jakub Bednar <jakub.bednar@gmail.com>
2020-07-02 10:01:15 -06:00
Scott Anderson 25e3687bab
chore(flux): add flux 0.71 function updates (#18832) 2020-07-02 09:21:15 -06:00
George 4a6bc1d74f
chore: remove kv Session service and sessionsv1 bucket (#18823)
* chore: remove sessionsv1 bucket

* chore: add extra configuration to sessions.Service
2020-07-02 15:15:08 +01:00
jlapacik 3b50d08cd9 fix: window tables are empty if cursor is empty
Previously windowed aggregate tables would construct the _start and
_stop arrays before checking if the underlying array cursor was empty.
The table would therefore report itself as non-empty even though
there were no points within the table's time range. Now we check if
the underlying array cursor is empty before we construct any output
arrays. If the cursor is empty, meaning the series is empty, the
table will be dropped.

Fixes https://github.com/influxdata/influxdb/issues/18704.
2020-07-01 16:58:50 -07:00
jlapacik 25309c398d test: windowed aggregates should filter empty series 2020-07-01 16:58:50 -07:00
jlapacik 3246b3c7ad refactor: remove feature flag for certain pushdowns 2020-07-01 12:59:39 -07:00
Ben Johnson de5538dada
Merge pull request #18824 from influxdata/logging-points-writer
feat(storage): Add logging points writer
2020-07-01 13:40:11 -06:00
George bb95969ccd
fix: typo in migration name (#18830) 2020-07-01 19:55:58 +01:00
Jonathan A. Sternberg e4e28526f8
build(flux): update Flux to v0.71.0 (#18809)
Additional changes:

* fix(query/stdlib): update rewrite rules for schema mutation

The schema mutator was wrapped in a dual implementation spec so the
rewrite rules were type asserting on the wrong type.
2020-07-01 13:12:50 -05:00
Bucky Schwarz 65f02d8f77 feat: add ability to select resources to install 2020-07-01 11:00:45 -07:00
Bucky Schwarz 7b79887a6f chore: update based on pckger => template backend changes 2020-07-01 11:00:45 -07:00
Jonathan A. Sternberg 540d5d3113
fix(release): create static builds for linux amd64 (#18805) 2020-07-01 12:45:54 -05:00
Ben Johnson 482442ecc1 feat(storage): Add logging points writer
This commit adds a LoggingPointsWriter which wraps a PointsWriter
and provides logging when a write fails.
2020-07-01 11:41:29 -06:00
Gavin Cabbage 34ebc852c0
fix(tsm1): delimit tsmKeyPrefix with appended comma (#18785)
* fix(tsm1): delimit tsmKeyPrefix with appended comma

Fixes #7589.

Append a comma to the TSM key prefix when matching a full measurement name to avoid erroneously matching other measurement names that include the prefix in their own name. For example, this prevents matching a measurement "cpu1" when targeting "cpu" by updating the prefix to "cpu,". This relies on the fact that tag key-value pairs are separated by commas.

* fix(tsm1): regression tests for tsmKeyPrefix comma delimiting
2020-07-01 12:24:54 -04:00
George 96d84b9126
refactor: migrator and introduce Store.(Create|Delete)Bucket (#18570)
* refactor: migrator and introduce Store.(Create|Delete)Bucket

feat: kvmigration internal utility to create / managing kv store migrations

fix: ensure migrations applied in all test cases

* chore: update kv and migration documentation
2020-07-01 12:08:20 +01:00
Will Cooke f9903ddd56
Update README.md 2020-07-01 12:02:56 +01:00
Will Cooke d67114c93c
Merge pull request #18821 from influxdata/readmefix
Update README.md
2020-07-01 12:00:49 +01:00
Will Cooke e2b20526ab
Update README.md 2020-07-01 11:52:53 +01:00
Johnny Steenbergen e851228102 feat(pkger): extend template diff types with kind
closes: #18804
2020-06-30 17:22:34 -07:00
Johnny Steenbergen ffe5d941d3 feat(pkger): extend template Summary with discrete kinds for each summary type
references: #18804
2020-06-30 16:47:15 -07:00
Johnny Steenbergen b9e6744807 chore(pkger): finalize adoption of templates naming convention
closes: #18580
2020-06-30 16:33:45 -07:00
Lyon Hill 5776350a53
feat: switch to use the new tenant bucket service (#18738) 2020-06-30 14:48:42 -06:00
Andrew Watkins e5fa7eb571
test(e2e): nav bar (#18803)
* test(e2e): nav bar

* fix: tests
2020-06-30 13:46:20 -07:00
Scott Anderson ed9c87799c
chore(flux): add flux 0.70 function updates (#18730) 2020-06-30 13:31:23 -06:00
Alex Boatwright d34686afca
fix: org setting segmentation causing 400 errors on app metrics (#18802) 2020-06-30 09:37:46 -07:00
Johnny Steenbergen 31ccaa61ba chore(pkger): drop references to deprecated packages routes
references: #18580
2020-06-29 17:36:49 -07:00
Johnny Steenbergen b5fcb06883 fix(pkger): stop swallowing parser errors from pkger parser in http remote service 2020-06-29 17:31:59 -07:00
Johnny Steenbergen 952007001b chore(pkger): drop mentions of pkgs from within service models
references: #18580
2020-06-29 16:43:40 -07:00
Johnny Steenbergen cb7ecace6f feat(pkger): update remote http client to use new routes
this implicitly affects the CLI which uses that client. It will now hit the
new endpoints which will ship with the next release of OSS beta, and have
already landed in our upstream repos.

references: #18580
2020-06-29 14:58:40 -07: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
Johnny Steenbergen 2927f0e718 feat(pkger): add stable HTTP APIs for stacks and templates
references: #18580
2020-06-29 13:45:32 -07:00
Ariel Salem 9bd5de23bd
chore(hydrate-variable-test): added a test to ensure variable hydration happens correctly in nested queries (#18790) 2020-06-29 13:44:03 -07:00
Jonathan A. Sternberg 849927158e
build(flux): update Flux to v0.70.0 (#18783) 2020-06-29 15:39:18 -05:00
Bucky Schwarz a7193dfc7b chore: if no flags were passed in, keep correct default shape of state 2020-06-29 13:14:27 -07:00
Bucky Schwarz bf628ce226 fix: tweak template flagging logic 2020-06-29 13:14:27 -07:00
jlapacik fef23ee4d1 test: launcher tests for window last and bare last pushdowns 2020-06-29 13:12:47 -07:00
jlapacik c86ce5b325 feat(storage): read cursor for window last 2020-06-29 13:12:47 -07:00
jlapacik 81681fc7dc feat(storage): turn on capability for last selection 2020-06-29 13:12:47 -07:00
alexpaxton 19f17f377f
feat: redesign minimap and rename to "Table of Contents" (#18789) 2020-06-29 13:04:37 -07:00
alexpaxton fbdbd6c4db
feat(flows): ability to insert cells inline (#18750)
* feat: show previous result helper in script cells regardless of position

* feat: enable adding a cell at a specific index

* refactor: give markdown cells some default text

* feat: introduce components for inline cell insertion

* feat: replace static divider with inline insert divider

* refactor: consolidate AddButtons & InsertCellMenu

Keeping it DRY
2020-06-29 12:01:23 -07:00
Andrew Watkins f988f85fc6
fix: intermittent incorrect graph type (#18787)
* fix: intermittent incorrect graph type

* fix: add back getNumericColumns
2020-06-29 11:52:17 -07:00
Brett Buddin 0c268e205b
fix(storage): Push-down a predicate to match tags for SHOW MEASUREMENT calls (#18740)
* fix(storage): Push-down a predicate to match tags for SHOW MEASUREMENTS calls.

* chore: Address feedback.

* fix(tsm1): Split behavior based on existence of predicate for show measurements.

* fix(tsm1): Allow parenthesis expression on the LHS of a predicate.

* fix(tsm1): Create a separate tag predicate verifier that rejects negative comparisons.

* fix(tsm1): Additional test cases for show measurements with predicate.
2020-06-29 14:31:54 -04:00
Alex Boatwright 11473b905b
fix: only send strings (#18778) 2020-06-29 11:00:15 -07:00
Bucky Schwarz 9279ace825 fix: update templates contents to handle empty collections 2020-06-29 10:35:45 -07:00