Commit Graph

428 Commits (355d32b0cf7370fb361c882dd9a92a797c68d449)

Author SHA1 Message Date
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
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
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
Mark Rushakoff 10c32e4079 chore: remove unreferenced kit/grpc package 2020-10-28 12:38:01 -04: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 7c2be6e780 feat: Port 1.x retention policy enforcement service
Configuration of the check interval is available via

```
--storage-retention-check-interval
```

Closes #19309
2020-09-09 10:32:06 -07:00
Stuart Carnie 44c86a9911 chore: Remove redundant replace directives 2020-09-04 15:56:57 -07:00
Stuart Carnie 8a7dcc21fb
feat(influxql): Initial implementation of InfluxQL query engine
* Some tests are broken or do not pass; follow up PRs will resolve that
2020-08-14 12:37:30 -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
Stuart Carnie a97ec1f34e
feat: Initial commit with working reads 2020-08-03 09:18:34 -07:00
Stuart Carnie 92efddbfbe
chore(tsdb): Initial commit of tsdb package
* pulls in 1.x tsdb, compiles and passes test
2020-08-03 09:17:23 -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
Yiqun (Ethan) Zhang 07c01cf79d
chore: update flux to v0.69.2 (#18441) 2020-06-10 15:36:17 -05:00
Jonathan A. Sternberg 077949cd96
chore(flux): downgrade flux to v0.68.0 (#18413)
* revert: "feat: add feature flag for fill() (#18386)"

This reverts commit 8f9e73af27.

* chore(flux): downgrade flux to v0.68.0
2020-06-09 11:38:55 -05:00
Yiqun (Ethan) Zhang 78526a2210
chore: update flux to v0.69.1 (#18403) 2020-06-08 20:57:56 -05:00
jlapacik baf400c4d4 chore: update flux to v0.68.0 2020-05-28 14:18:54 -07:00
Jonathan A. Sternberg 0bb847b7e7
Merge branch 'master' into feat/use-algo-w 2020-05-21 10:33:13 -05:00
Jacob Marble c2ba1ad48a refactor(goreleaser): remove goreleaser from go.mod
This untangles goreleaser dependencies from influxdb dependencies.
2020-05-20 19:08:20 +01:00
Jonathan A. Sternberg 0c8d19e896
Merge branch 'master' into feat/use-algo-w 2020-05-18 13:25:26 -05:00
Jonathan A. Sternberg 09b8e40933
fix(query/stdlib): update to function to use the refactored row functions (#18086)
The row functions were refactored to remove state from the dynamic
function. This updates the code that invoked row functions.
2020-05-13 14:11:14 -05:00
Pavel Zavora 234eac85eb feat(pkg/csv2lp): add csv to line protocol conversion library 2020-05-12 21:32:29 +02:00
jlapacik 20a583dbcf chore: update flux to latest revision 2020-05-12 11:22:37 -07:00
jlapacik 9a1e31a12f chore: update flux to latest revision 2020-05-07 10:46:29 -07:00
jlapacik 6dd385d3b4 chore: update flux to latest revision 2020-05-06 10:00:00 -07:00
jlapacik 02c8e02c58 chore: update flux to latest revision 2020-05-05 09:46:19 -07:00
jlapacik f2478a1d9a chore: update flux to latest revision 2020-04-29 10:11:29 -07:00
jlapacik f5cf024c1a chore: update flux to latest algo-w revision 2020-04-28 13:06:14 -07:00
jlapacik f52391ef3e chore: update flux to v0.67.0 2020-04-28 12:23:38 -07:00