Commit Graph

34421 Commits (6e7a6313d7d3bd3f4ce5459d0795e748ad13fc74)

Author SHA1 Message Date
Stuart Carnie 6e7a6313d7 fix: Add a ByOrgID index to DBRP
This commit adds a new index and migration to the DBRP service for
retrieving all database and retention policy mappings for a single
organization.

This change was required to resolve an invalid assumption of the DBRP
service, which relied on a prefix match of the byOrgAndDatabase kv.Index
when performing search operations by organization ID only.

Closes #20096
2020-11-24 10:28:00 +11:00
Stuart Carnie 78977eb3c8 fix: Ensure Index.Walk fetches matching foreign keys only
This commit modifies the behaviour of the indexWalk function to ensure
it parses the key parts and matches the foreign key exactly.

Closes #20096
2020-11-24 10:28:00 +11:00
J. Emrys Landivar aa0defe0e7
Merge pull request #20151 from influxdata/dm-debug-log-no-body-19978
fix(http): don't log bodies of V1 write requests
2020-11-23 14:45:02 -06:00
Dan Moran 00a91ad22f chore: update CHANGELOG 2020-11-23 14:51:37 -05:00
Dan Moran 2799ebcfea fix(http): don't log bodies of V1 write requests 2020-11-23 14:48:20 -05:00
Tristan Su cae14176aa
fix(models): grow tag index buffer if needed (#20137) 2020-11-23 14:06:12 -05:00
Daniel Moran 89764adabd
feat(cmd/influxd): use a better default for upgraded V2 config, and allow users to override it (#20110) 2020-11-23 13:05:48 -05:00
Paul Hummer ffcfe8287d
Merge pull request #20143 from influxdata/flux-staging/v0.96.0
build(flux): update Flux to v0.96.0
2020-11-23 09:24:45 -07:00
Paul Hummer 37e6203c3c build(flux): update Flux to v0.96.0 2020-11-23 08:43:10 -07:00
Daniel Moran cfca0cc85f
feat(cmd/influx): allow for setting v1 passwords via CLI args (#20123) 2020-11-20 15:09:23 -05:00
Gershon Shif f8f789c541
chore: use influxdb2 name for packaging (#20111) 2020-11-19 15:39:40 -08:00
Daniel Moran fdbc808ba5
chore: bring CHANGELOG up to date after 2.0.2 release. (#20103) 2020-11-19 17:32:44 -05:00
Gershon Shif 668db04335
chore: update goreleaser nightly builds to be inline with daily/release builds (#20094) 2020-11-18 15:17:49 -08:00
Andrew Lamb 371e18a7a1
Merge pull request #20066 from influxdata/alamb/update-comment
fix: update comment about ReadWindowAggregate semantics
2020-11-18 14:52:23 -05:00
Daniel Moran bd60f3d288
fix: revert changes to API page-sizes (#20093) 2020-11-18 13:33:49 -05:00
J. Emrys Landivar 1788b47c39
Merge pull request #20091 from influxdata/DBRPmatchswagger
fix(api): make the dbrp api match the swagger spec
2020-11-18 12:32:42 -06:00
docmerlin (j. Emrys Landivar) 2b6ff95637 chore: update changelog 2020-11-18 11:48:09 -06:00
docmerlin (j. Emrys Landivar) 4626ea1a0c fix(api): make the dbrp api match the swagger spec
The swagger spec is the source of truth for the API, and the DBRP api
was divergent from this spec.  This change should make it meet the spec.
2020-11-18 11:47:23 -06:00
Dan Moran 4541ab936f chore: adjust help text based on PR feedback 2020-11-18 10:54:19 -05:00
Stuart Carnie d5becff970 fix: UX improvements and bug fixes to dbrp commands
Closes #20085
2020-11-18 10:54:19 -05:00
J. Emrys Landivar d93560fdc8
Merge pull request #20083 from influxdata/larger-pagesize
fix(api): raise API pagesizes
2020-11-17 20:08:43 -06:00
docmerlin (j. Emrys Landivar) 4b99125224 test: modify tests for changes in influxdb.DefaultPageSize 2020-11-17 19:48:52 -06:00
docmerlin (j. Emrys Landivar) 408ab354ef test: fix TestVariableService_handleGetVariables for changes in DefaultPageSize 2020-11-17 19:29:35 -06:00
docmerlin (j. Emrys Landivar) 6eec397ea3 chore: update changelog 2020-11-17 17:06:29 -06:00
docmerlin (j. Emrys Landivar) f06b5d6de4 fix: raise API pagesizes
Currently, in the API, pagination is not working; to mitigate this, we
can drastically increase the page size.
2020-11-17 16:51:19 -06:00
Daniel Moran 71f8de3b98
fix(http/legacy): filter on Default=true when no RP given in V1 write (#20074) 2020-11-17 16:04:50 -05:00
Daniel Moran 1e324b6a63
fix(cmd/influxd): remove internal subcommands of `upgrade` from help text (#20076) 2020-11-17 15:37:43 -05:00
J. Emrys Landivar 478d25e774
feat(cmd/influx): Add DBRP cli commands as `influx v1 dbrp` (#20067)
Co-authored-by: Dan Moran <dmoran@influxdata.com>
2020-11-17 15:14:55 -05:00
Cole Mackenzie 6303937b93 fix: Allow self signed certificates to ScraperTarget (#20047)
Co-authored-by: Daniel Moran <danxmoran@gmail.com>
2020-11-17 13:35:41 -05:00
Stuart Carnie 502ee78b40 chore: Update CHANGELOG.md 2020-11-17 12:06:33 -05:00
Stuart Carnie bec12ab1b4 fix: Continue reading until itrs is empty, even for nil cursors
Closes #20035
2020-11-17 12:06:33 -05:00
Stuart Carnie 35227ca887 chore: Add unit test to replicate issue #20035 2020-11-17 12:06:33 -05:00
Andrew Lamb 4bd819f719 fix: update comment about ReadWindowAggregate semantics 2020-11-17 06:22:12 -05:00
Daniel Moran 632e8f11ed
fix(cmd/influxd): don't validate unused paths in `upgrade` (#20052) 2020-11-17 00:38:53 -05:00
Gershon Shif 5a9124f920
chore: remove lint-feature-flag job from OSS (#20061) 2020-11-16 14:36:37 -08:00
Stuart Carnie 5d734a3bc1 fix: Update tests.Client to use new HTTP client APIs 2020-11-17 09:17:28 +11:00
Stuart Carnie 7fec1f9275 fix: PR Feedback 2020-11-17 09:17:28 +11:00
Stuart Carnie 51d0523918 chore: Update CHANGELOG.md 2020-11-17 09:17:28 +11:00
Stuart Carnie 3ac530edd2 fix: Track seen databases in map and skip duplicates 2020-11-17 09:17:28 +11:00
Stuart Carnie 484f606a1e chore: Test to validate expected behavior of SHOW DATABASES 2020-11-17 09:17:28 +11:00
Stuart Carnie 50752f9a6a feat: Empty `Test` that elides writes or a default db / rp
This is useful for validating InfluxQL DDL queries that don't
typically require writes or may have more complex setup requirements.
2020-11-17 09:17:28 +11:00
Daniel Moran b732f3663c
feat(cmd/influxd): export 1.x continuous queries as part of upgrade (#20039) 2020-11-16 16:37:47 -05:00
Arnav Aggarwal 96b26f5a42
Merge pull request #19979 from influxdata/timeFilterTasks
feat(tasks): added functionality to filter runs by time
2020-11-16 13:22:07 -08:00
Stuart Carnie 91acebeab0 chore: Lots of cleanup and response to PR feedback. 2020-11-17 08:14:17 +11:00
Stuart Carnie 9e42444d8a chore: Port InfluxQL test packages from Cloud
This commit copies over the comprehensive tests from Cloud.
2020-11-17 08:14:17 +11:00
Stuart Carnie 1cd9d0b04a feat: Port pipeline tests package from Cloud
This package provides essentially the same API as the Cloud tests
package, utilising the `TestLauncher` type.

Additional With functional options were added to the `Launcher`
in order to expose type-safe configuration of InfluxQL configuration.
Additional With options may be added in the future as the need arises.
2020-11-17 08:14:17 +11:00
Arnav Aggarwal a70026382b fix(tasks): fixed error message semantic 2020-11-16 12:56:50 -08:00
Sean Brickley e8c068d330 build(ui): upgrade flux-lsp-browser to v0.5.23 2020-11-16 15:28:42 -05:00
Arnav Aggarwal 2c3985d542 fix(tasks): fixed logic checking time filter exists 2020-11-16 12:06:29 -08:00
Paul Hummer 114eee2fda
Merge pull request #20053 from influxdata/flux-staging/v0.95.0
build(flux): update Flux to v0.95.0
2020-11-16 09:24:22 -07:00