Commit Graph

428 Commits (355d32b0cf7370fb361c882dd9a92a797c68d449)

Author SHA1 Message Date
Jonathan A. Sternberg afb9733072
build(flux): update flux to v0.156.0 (#23142)
* build(flux): update flux to v0.156.0

* chore(flux/schema): update schema tests to assert planner rules

The schema test where updated in Flux, this updates them here so that we
can assert that the planner rules are applied. See note about copied
data.

Co-authored-by: Nathaniel Cook <nvcook42@gmail.com>
2022-02-22 13:27:23 -06:00
Jonathan A. Sternberg 34c150f65c
build(flux): update flux to v0.154.0 (#23116) 2022-02-11 15:44:51 -06:00
Sam Arnold e20b5e99a6
fix: remove nats for scraper processing (#23107)
* fix: remove nats for scraper processing

Scrapers now use go channels instead of NATS and interprocess communication.
This should fix #23085 .

Additionally, found and fixed #23106 .

* chore: fix formatting

* chore: fix static check and go.mod

* test: fix some flaky tests

* fix: mark NATS arguments as deprecated
2022-02-10 11:23:18 -05:00
Sean Brickley f68758bd94
build(flux): update flux to v0.152.0 (#23086)
* build(flux): update flux to v0.152.0

* chore: use latest cross-builder image
2022-02-04 09:38:36 -05:00
Jonathan A. Sternberg 888f82c9c8
build(flux): update flux to v0.150.0 (#23064)
* build(flux): update flux to v0.150.0

* chore: update list of skipped flux integration tests
2022-01-19 11:10:02 -06:00
Christopher M. Wolff a812d8b603
build(flux): update flux to v0.148.0 (#23047) 2022-01-11 11:30:01 -08:00
Sean Brickley f78c189211
build(flux): update flux to v0.146.0 (#22988)
* build(flux): update flux to v0.146.0

* chore: use new cross-builder image and skip tests
2021-12-13 17:18:30 -05:00
William Baker 9873ccd657
feat: remote write function for replications (#22942)
* feat: remote write function for replications

* chore: implement UpdateResponseInfo store method

* chore: only set gzip heading for non-empty requests

* fix: address review feedback
2021-11-30 15:33:42 -06:00
William Baker 90baa802ed
chore: use tagged version of pkg-config (#22898) 2021-11-18 11:59:37 -07:00
Sean Brickley f6568a7ff6
build(flux): update flux to v0.140.0 (#22845)
* build(flux): update flux to v0.140.0

* chore: Reformat scripts in generated flux tests
2021-11-09 13:35:51 -05:00
Dane Strandboge a7f3b67092
chore: clean up protobuf loose ends (#22823)
- Remove `gogo/protobuf` and `golang/protobuf` deps
- Fix mistake in `CONTRIBUTING.md`
- Use Prometheus `MetricType` type over our own copy-paste version
2021-11-05 10:30:30 -05:00
Dane Strandboge f4e9ae94ca
build: upgrade protobuf library (#22654) 2021-11-02 16:00:54 -05:00
Paul Hummer a4fd1caf8e
build(flux): update flux to v0.139.0 (#22812) 2021-11-01 14:04:18 -06:00
Jonathan A. Sternberg b93f3a3222
build(flux): update flux to v0.137.0 (#22792) 2021-11-01 09:24:00 -05:00
Nathaniel Cook fba7fac534
build(flux): update flux to v0.136.0 (#22751) 2021-10-26 09:38:35 -06:00
Jonathan A. Sternberg 05e6dc65c5
build(flux): update flux to v0.135.0 (#22691) 2021-10-18 15:53:41 -05:00
Paul Hummer 2433e00e1c
build(flux): update flux to v0.134.0 (#22671) 2021-10-15 08:45:14 -06:00
Daniel Moran 401af4b3ae
feat(flux): enable writing to remote hosts via `to()` and `experimental.to()` (#22634) 2021-10-12 09:35:44 -07:00
Jonathan A. Sternberg 708e808d00
feat(query/stdlib): update window planner rules for location changes to support fixed offsets (#22635)
The pushdown does not support fixed offsets or non-UTC locations, but it
does now correctly compile and pushdown other windows.
2021-10-07 15:29:38 -05:00
Sam Arnold a02782c63f
feat: return new operator token during backup overwrite (#22629)
* feat: return new operator token during backup overwrite

* chore: update swagger

* test: e2e restore test with new token
2021-10-07 09:07:09 -04:00
Sam Arnold 1542d2404f
feat: new recovery subcommand allows creating recovery user/token (#22590)
* feat: influxd recovery-cli allows creating recovery user/token

Closes #12051

* test: do not assert order of users or orgs in list

* fix: code review suggestions from dan

Co-authored-by: Daniel Moran <danxmoran@gmail.com>

* fix: more fixes from dan's review

* chore: depend on tabwriter from influx-cli

* chore: revert onboarding refactor

Co-authored-by: Daniel Moran <danxmoran@gmail.com>
2021-10-06 12:37:36 -04:00
Daniel Moran 7c19225bed
feat: implement replication validation (#22581) 2021-10-05 14:34:38 -04:00
Sam Arnold 725794ef28
feat: show measurement database and retention policy wildcards (#22396)
* feat: show measurement database and retention policy wildcards

Closes #22390

* chore: formatting

* test: this commit fails tests with empty database

* fix: show measurements with one empty database
2021-10-05 13:20:15 -04:00
Sean Brickley 5432ca67dc
build(flux): update flux to v0.133.0 (#22615) 2021-10-04 15:48:57 -04:00
Jonathan A. Sternberg a01d42db37
feat(query/stdlib): update push down window logic for location option (#22607) 2021-10-01 14:27:37 -05:00
Christopher M. Wolff ea018dfc21
build(flux): update flux to v0.132.0 (#22592)
* build(flux): update flux to v0.132.0

* chore: suppress staticcheck for use of deprecated proto package

This package will be upgraded by this PR:
https://github.com/influxdata/influxdb/pull/22571
2021-09-28 15:52:16 -07:00
William Baker 59f0f13fe4
chore: clean up go.mod and go.sum (#22532) 2021-09-21 12:16:26 -06:00
Paul Hummer 13dc0f41e4
build(flux): update flux to v0.131.0 (#22521) 2021-09-20 12:40:01 -06:00
William Baker 1f66b3110e
fix: upgrade influxql to latest version & fix predicate handling for show tag values metaqueries (#22500)
* feat: Add WITH KEY to show tag keys

* fix: add tests for multi measurement tag value queries

* chore: fix linter problems

* chore: revert influxql changes to keep WITH KEY disabled

* chore: add TODO for moving flux tests to flux repo

Co-authored-by: Sam Arnold <sarnold@influxdata.com>
2021-09-17 11:14:03 -06:00
Sean Brickley c66a059101
build(flux): update flux to v0.130.0 (#22486) 2021-09-15 11:47:38 -04:00
Jonathan A. Sternberg 15fb8949f2
build(flux): update flux to v0.128.0 (#22416) 2021-09-07 13:56:11 -05:00
Daniel Moran 66ae6165f3
fix: upgrade golang.org/x/sys to avoid panics on Macs (#22367) 2021-09-01 17:41:27 -04:00
Sean Brickley 37090c740c
build(flux): update flux to v0.127.3 (#22364) 2021-09-01 17:01:41 -04:00
Daniel Moran 1c2d68b0cb
build: upgrade to go1.17 (#22363) 2021-09-01 16:09:02 -04:00
Faith Chikwekwe acc8d2e5c3
build(flux): update flux to v0.127.1 (#22331) 2021-08-31 06:52:02 -07:00
Christopher M. Wolff 309a05a1d3
build(flux): update flux to v0.127.0 (#22313) 2021-08-26 21:20:32 -06:00
Jonathan A. Sternberg f94783e016
build(flux): update flux to master and change renamed structs (#22281) 2021-08-26 10:07:02 -05:00
Jonathan A. Sternberg 0dd56ec8e1
build(flux): update flux to v0.126.0 (#22267) 2021-08-19 15:58:54 -05:00
Daniel Moran 72de805106
refactor: use updated API in restore service (#22198) 2021-08-13 16:15:18 -04:00
Paul Hummer 3b4a1e1873
build(flux): update flux to v0.125.0 (#22158) 2021-08-11 09:59:54 -06:00
Paul Hummer b6966de6c3
build(flux): update flux to v0.124.0 (#22023) 2021-08-03 11:47:56 -06:00
William Baker 3f7b996a10
chore: delete the rest of chronograf (#21998)
* chore: deleted the rest of chronograf

* chore: tidy
2021-08-02 09:02:54 -06:00
Jonathan A. Sternberg d0b1f5a80e
feat: update flux components to use flux/array instead of arrow/array (#21971)
This updates the flux integration to use the `flux/array` package rather
than directly using the `arrow/array` package.

Flux recently switched to wrapping the array types from arrow and
creating its own array package to be used for table columns instead of
directly referencing the arrow package. This allows us to keep a
consistent interface, but potentially change internal implementations
without changing downstream consumers. Most recently, the
`*array.String` type has some of its own optimizations for certain array
patterns.

This change updates the flux integration to use the new API.
2021-07-29 15:31:31 -05:00
Daniel Moran 5d84c602c8
build: upgrade staticcheck, fix new linter warnings (#21957) 2021-07-27 20:37:23 -04:00
Jamie Strandboge bf5965d22b
chore: upgrade to golang-jwt 3.2.1 to fix CVE-2020-26160 (#21925)
CVE-2020-26160[0] is an access restriction bypass under certain
circumstances when validating audience checks. The original
dgrijalva/jwt-go project is no longer maintained[1] and will not be
issuing a fix for this CVE[2]. Instead, they have transferred ownership
to golang-jwt/jwt[2][3][4].

The following was performed:

1. update chronograf and jsonweb to import golang-jwt/jwt
2. go mod edit -require github.com/golang-jwt/jwt@v3.2.1+incompatible
3. go mod edit -droprequire github.com/dgrijalva/jwt-go
4. go mod tidy
5. make
6. make test

References:
[0] https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-26160
[1] dgrijalva/jwt-go#462
[2] dgrijalva/jwt-go#463
[3] https://github.com/dgrijalva/jwt-go/blob/master/README.md
[4] https://github.com/golang-jwt/jwt
2021-07-23 15:19:11 -05:00
Dane Strandboge 0136c7e63d
feat: port `influx inspect report-tsm` to 2.x (#21814) 2021-07-20 12:08:30 -05:00
Daniel Moran 4d76491746
chore: delete as many files from chronograf/ as we can to still build (#21893) 2021-07-20 12:33:22 -04:00
Daniel Moran 94738dbf34
chore: delete more unused chronograf code (#21881) 2021-07-19 16:48:37 -04:00
Faith Chikwekwe 9ff953c400
build(flux): update flux to v0.123.0 (#21879)
* build(flux): update flux to v0.123.0

* fix(cmd/influxd/launcher): modify selector aggregate tests to use create empty false

Co-authored-by: Jonathan A. Sternberg <jonathan@influxdata.com>
2021-07-19 13:20:32 -07:00
Daniel Moran fa1c352132
fix: don't assume bash when displaying interactive CLI prompts (#21839) 2021-07-14 18:12:56 -04:00