Commit Graph

439 Commits (485968cce4b5b101ebfcb6ccf073fe8e8e9d6a91)

Author SHA1 Message Date
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
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
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
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
Christopher M. Wolff b1aa943e1b
build(flux): update flux to v0.122.0 (#21846)
* build(flux): update flux to v0.122.0

* fix: update group|>last pushdown to choose last row with greatest time

Row order output by group() is not defined, but this change makes the
result consistent with Flux to allow acceptance tests to pass.
2021-07-14 12:03:29 -07:00
William Baker e7871130ed
fix: update cron package to obtain "1w" support (#21844)
* fix: update cron spackage to obtain "w" support

* chore: update CHANGELOG

* test: add a regression test for the 1w interval in the task scheduler
2021-07-14 12:11:19 -05:00
Daniel Moran 06b403ca57
build: delete `influx` CLI code, remove it from build (#21797) 2021-07-07 09:29:20 -04:00
Adrian Thurston 733c7d1c7e
build(flux): update flux to v0.120.1 (#21799) 2021-07-06 14:07:29 -07:00
William Baker ea5e6eabcb
feat: transfer static asset handling into own package (#21785)
* feat: transfer static asset handling into own package

* chore: added some tests

* fix: update swagger script per review

* fix: make into bash script
2021-07-06 12:54:01 -05:00
Sean Brickley deaf1dfe20
build(flux): update flux to v0.119.1 (#21758) 2021-06-29 11:21:34 -04:00
Paul Hummer 0955caf9c2
build(flux): update flux to v0.119.0 (#21727) 2021-06-21 13:37:51 -06:00
Daniel Moran b1b076f600
refactor: delete old backup/restore CLI commands, replace with dependency on new CLI repo (#21703) 2021-06-17 09:18:55 -04:00
William Baker 1935c13c16
feat(annotations): storage service (#21690)
* feat(annotations): storage service

* feat: stickers are in db as array

* chore: fix some unintended diffs

* fix: fixes from review

* fix: specific table name for json_each

* fix: update primary keys and constraints

* fix: fix schema

* feat: stream name updates are reflected in annotations via FK
2021-06-15 18:36:11 -04:00
Nathaniel Cook 56833b772b
build(flux): update flux to v0.118.1 (#21694) 2021-06-15 14:20:17 -06:00
Nathaniel Cook 4e7d1b3909
chore(go-bindata): update to recent version of go-bindata (#21684)
It seems that go-bindata version 3.11.0 was changed and causes issues
when building from a clean Go env.

See :
verifying github.com/kevinburke/go-bindata@v3.11.0+incompatible: checksum mismatch
	downloaded: h1:GiPs9jxaG2xY1B5Dt/d/yHUOMlTk14uS35VcmHrdo4I=
	go.sum:     h1:RcC+GJNmrBHbGaOpQ9MBD8z22rdzlIm0esDRDkyxd4s=

This change updates to the latest go-bindata release.
2021-06-15 10:06:01 -06:00
Daniel Moran 9b02820a0f
build: upgrade to go1.16 (#21642)
* build: bump to go 1.16
* build: go mod tidy & update godeps CI step
2021-06-09 12:59:05 -04:00
Jonathan A. Sternberg 7e126811aa
build(flux): update flux to v0.117.3 (#21623) 2021-06-07 14:16:16 -05:00
Sean Brickley 75594094f5
build(flux): update flux to v0.117.1 (#21583) 2021-06-01 14:34:06 -04:00
William Baker ed629bfebe
feat(notebooks): notebooks database implementation (#21573) 2021-05-28 09:29:00 -04:00
William Baker 19b0470ed7
feat: integrated sqlite db for metadata (#21543) 2021-05-25 12:12:07 -04:00
Christopher M. Wolff 251f43a477
build(flux): update flux to v0.117.0 (#21539) 2021-05-24 12:29:28 -07:00
Paul Hummer 5a9a28151b
build(flux): update flux to v0.116.0 (#21488) 2021-05-17 14:34:18 -06:00
davidby-influx 5ef6b837b0
chore: remove erroneous dependency on istio (#21486)
Use same logging functions as the rest of the points code.
2021-05-17 12:06:06 -07:00
Paul Hummer e77481fe52
build(flux): update flux to v0.115.0 (#21460) 2021-05-11 11:48:40 -06:00
Paul Hummer b44fcdc4e8
build(flux): update flux to v0.114.1 (#21371) 2021-05-04 21:26:08 -06:00
Paul Hummer 08c8b34435
build(flux): update flux to v0.114.0 (#21362) 2021-05-03 15:01:30 -06:00
Paul Hummer 41d695effc
build(flux): update flux to v0.113.1 (#21294) 2021-04-26 10:58:25 -06:00
Christopher M. Wolff fb4831f596
build(flux): update flux to v0.113.0 (#21255) 2021-04-20 07:32:33 -07:00
Sean Brickley 79c1de5c71
build(flux): update flux to v0.112.1 (#21195) 2021-04-12 14:03:30 -04:00
Paul Hummer aab53c3d2f
build(flux): update flux to v0.112.0 (#21150) 2021-04-06 12:19:19 -06:00
Daniel Moran 61d1ee45b3
build: add windows to cross-build (#21109) 2021-03-31 18:52:20 -04:00
Paul Hummer a8183d8cf1
build(flux): update flux to v0.111.0 (#21087) 2021-03-30 09:47:02 -06:00
Jonathan A. Sternberg 7b74bb41fc
fix(fluxtest): fix load storage to read/write the bucket correctly (#21058) 2021-03-26 15:58:04 -05:00
Jonathan A. Sternberg 6231d5d90b
build(flux): update flux to v0.109.1 (#21059) 2021-03-24 13:11:44 -05:00
Paul Hummer 54c53625b7
build(flux): update flux to v0.108.1 (#20958) 2021-03-15 10:21:57 -06:00
Paul Hummer a0dc56f6b2 build(flux): update flux to v0.107.0 2021-03-09 13:25:39 -07:00
Sean Brickley 6d5a51a56b
build(flux): update flux to v0.105.1 (#20724) 2021-02-08 15:28:56 -05:00
Faith Chikwekwe 0fd66b16be build(flux): update flux to v0.105.0 2021-02-03 15:27:40 -08:00
Sean Brickley a0d962cc23 chore(flux): Upgrade Flux to v0.104.0 2021-02-02 16:35:33 -05:00
Jonathan A. Sternberg 719c8495f2
feat(fluxtest): add support for testing/expect planner rules (#20662) 2021-02-01 15:53:05 -06:00
Adrian Thurston 52da4020f8
chore(flux): update Flux to v0.101.0 (#20554) 2021-01-21 12:30:51 -08:00
Paul Hummer 275952aac4 build(flux): update Flux to v0.100.1 2021-01-11 09:01:41 -07:00
Paul Hummer bc5f37f6ae build(flux): update Flux to v0.100.0 2021-01-07 12:02:10 -07:00
Paul Hummer c0bf14cb24 build(flux): update Flux to v0.99.0 2020-12-14 08:07:45 -07:00
Daniel Moran ccbaf4e883
build: add ARM64 support to release (#20260)
* Create Dockerfile for running build & release in CI
* Update CircleCI config to use new Docker image
* Update goreleaser to add a linux ARM64 release
2020-12-10 13:03:45 -05:00
Paul Hummer 1f99399d45 build(flux): update Flux to v0.98.0 2020-12-07 09:08:01 -07:00
Paul Hummer 0cf6a97865 build(flux): update Flux to v0.97.0 2020-12-01 09:19:21 -07:00
Paul Hummer 37e6203c3c build(flux): update Flux to v0.96.0 2020-11-23 08:43:10 -07:00
Paul Hummer bf37b8b794 build(flux): update Flux to v0.95.0 2020-11-16 08:52:12 -07:00
Stuart Carnie fab99c9512 chore: Remove fragile nats port assignment loop
This resolves observed race conditions when running test suites that
utilize the launcher. It also reduces test times considerably, by
eliminating a slow loop to find a port.
2020-11-13 09:13:48 +11:00
Paul Hummer 047d3b0874 build(flux): update Flux to v0.94.0 2020-11-09 09:08:01 -07:00
Paul Hummer fd95506e75 build(flux): update Flux to v0.93.0 2020-11-02 11:49:11 -07:00
Yiqun (Ethan) Zhang 17fcd2dce2
feat: make sure the query plan nodes have unique ids (#19879) 2020-11-02 11:15:39 -06:00
jl fbe85ef548 feat: enable window pushdowns 2020-10-30 18:09:38 -07:00
Stuart Carnie 6bc4158a46 feat(authorization): Add bcrypt password support to v1 authorizations
This commit extends the `v1/authorization` package to support
passwords associated with a token.

The summary of changes include:

* authorization.Service implements influxdb.PasswordsService
* Setting passwords for authorizations
* Verifying (comparing) passwords for a given authorization
* A service to cache comparing passwords, using a weaker hash
  that will live in memory only. This implementation is copied
  from InfluxDB 1.x
* Extended HTTP service to set a password using
  /private/legacy/authorizations/{id}/password

Closes #
2020-10-28 13:03:42 -07:00
Paul Hummer 5884b26d38 build(flux): update Flux to v0.91.0 2020-10-26 13:00:21 -06:00
Paul Hummer 1a81ca4401 build(flux): update Flux to v0.90.0 2020-10-19 11:30:28 -06:00
Paul Hummer 4da32637ed build(flux): update Flux to v0.89.0 2020-10-14 10:51:01 -06:00
Faith Chikwekwe 2acb8b897a feat(values): add window mean array cursor 2020-10-07 13:17:50 -07:00
Pavel Závora a8c7254281
Merge pull request #19660 from influxdata/19335/rate_limit
feat(cmd/influx/write): allow to limit write rate
2020-10-05 17:01:15 +02:00
Faith Chikwekwe a68fc740b7 feat(query/stdlib): unskip agg window median test 2020-10-02 13:45:24 -07:00
Pavel Zavora b2a51593b3 feat(cmd/influx/write): allow to limit write rate 2020-10-02 02:31:49 +02:00
Gershon Shif d8a10e5311
chore: update circleci config to use golang:1.15 images (#19624)
* chore: update circleci config to use golang:1.15 images

* fix: Update Go version and use temporary override for Arrow

The Arrow override is to fix race detection problem. Once the
Arrow PR merges, this override can be removed.

Co-authored-by: Stuart Carnie <stuart.carnie@gmail.com>
2020-09-23 14:07:13 -07:00
Roger Peppe 3803bd8e26 fix: storage: close PointsWriter when Engine is closed
The PointsWriter has a Close method which seems like it should
be called when the Engine is shut down.
2020-09-22 15:42:50 +01:00
Christopher M. Wolff e7cbbaa722
feat: upgrade Flux to v0.83.2 (#19569) 2020-09-16 17:59:15 -07:00
Stuart Carnie a71b43ff17
refactor: remove redundant files
* retention will be enforced by the InfluxDB 1.x engine
* storage will be a shim for `tsdb`, so don't need tests here
2020-08-03 09:20:50 -07:00
Edd Robinson 5f426195bf
refactor: start inserting tsdb store into engine 2020-08-03 09:17:24 -07:00
Yiqun (Ethan) Zhang 8a27388601
feat: log query plan in metadata (#19100) 2020-07-27 17:14:49 -05:00
Paul Hummer aa33f440a0 build(flux): update Flux to v0.74.0 2020-07-21 09:05:26 -06:00
Paul Hummer 4264f63822 build(flux): update Flux to v0.73.0 2020-07-13 11:48:19 -06:00
Jonathan A. Sternberg 3c291455aa
build(flux): update Flux to v0.72.1 (#18899) 2020-07-09 14:43:50 -05:00
Nathaniel Cook f6659cfad3
chore(flux): update Flux to v0.71.1 (#18857)
Includes patch fix to negative window every values
2020-07-03 11:29:55 -06: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
Jonathan A. Sternberg 849927158e
build(flux): update Flux to v0.70.0 (#18783) 2020-06-29 15:39:18 -05:00
Jonathan A. Sternberg 93856910b9
chore(tools): remove goreleaser from the tools.go file (#18775)
Goreleaser was causing conflict issues with our dependencies. The
version we relied on used an old go module that we needed to update, but
the module had been split in a backwards incompatible way so we needed
to update goreleaser at the same time.

The update then upgraded our protobuf dependency which we don't want at
the moment.

Since goreleaser is used as a tool rather than a formal dependency,
resolving these conflicts isn't really needed. We also do not use the
version listed in the go.mod file as we do not use `go run` to execute
goreleaser so this removes that dependency from `go.mod` since it is
unused.
2020-06-29 11:07:53 -05:00
Jacob Marble dd902d89f7
chore: update some dependencies (#18757)
Helps #18528

This change bumps a couple of dependencies to prepare for something like #17814 which
updates many dependencies at once. Turns out that change is based on an
old commit, so several things have already been updated.

After this, we should do a separate commit to update prometheus per #18528
2020-06-29 07:58:24 -07:00
Jonathan A. Sternberg 5aeca082c8
chore: update staticcheck and fix newly identified lint checks (#18737) 2020-06-26 18:54:09 -05:00
Brett Buddin 1f422b9b94
fix(dbrp): Delete DBRP mappings when their target Bucket is deleted. (#18699) 2020-06-24 13:40:54 -04:00
Brett Buddin ebbc331297
chore: Go toolchain insists on updating these. 2020-06-17 13:13:58 -04:00
Paul Hummer 3cd67c7b09 chore: update pkg-config 2020-06-12 10:41:38 -06:00
Johnny Steenbergen 1a89e49086 fix(pkger): capture and fix panics converting tasks 2020-06-11 17:44:52 -07:00