Commit Graph

35233 Commits (8ed55e72b85b0807c97d3d1d7d12e9f07c9737e9)

Author SHA1 Message Date
William Baker 84776d7428
fix: manual task runs are scheduled asyncronously (#22702) 2021-10-20 09:12:57 -06:00
Jonathan A. Sternberg 05e6dc65c5
build(flux): update flux to v0.135.0 (#22691) 2021-10-18 15:53:41 -05:00
William Baker d8430aa7dd
build: update script to run ui e2e tests (#22670)
* build: update script to run ui e2e tests

* chore: update comments for missing env var descriptions
2021-10-18 10:27:17 -06:00
Paul Hummer 2433e00e1c
build(flux): update flux to v0.134.0 (#22671) 2021-10-15 08:45:14 -06:00
Daniel Moran a6d4dc250c
feat: list-bucket API supports pagination when filtering by org (#22674) 2021-10-14 15:09:28 -07:00
William Baker 42ac916253
feat: enable new dashboard autorefresh (#22669) 2021-10-13 16:17:03 -06:00
Russ Savage 1ba6581e74
feat: Add Bearer token auth (#22498)
* feat: add bearer token support

* fix: updating to use equalfold
2021-10-13 12:02:32 -07:00
Dane Strandboge ca992e9fff
chore: use io/os over ioutil (#22656) 2021-10-12 16:55:07 -05:00
Daniel Moran cac4b42898
build: bump to go1.17.2 (#22652) 2021-10-12 10:23:17 -07: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
Stuart Carnie 0700cc8582
chore: Add subquery tests for compatibility checks with Cloud 2 (#22621) 2021-10-12 10:49:01 +11:00
Daniel Moran 7b7d4f3856
fix(upgrade): don't drop shard-group durations when upgrading DBs (#22650)
Add KV migration to repair missing shard-group durations
2021-10-11 14:43:57 -07:00
Cody Shepherd e75d023eba
build: the update-changelog script should not produce side-effects (#22624) 2021-10-11 09:31:30 -07:00
Sam Arnold 2ecbb68fc3
test: fix DiskSizeBytes flakiness (#22639) 2021-10-08 09:46:58 -04: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
Daniel Moran e12e78aa69
fix: change session cookie name used by UI to avoid conflict with incompatible 2.0.x cookie (#22632) 2021-10-07 15:53:55 -04: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
Daniel Moran 15a32a0860
refactor: consolidate session-handling code (#22626) 2021-10-06 22:37:02 -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 a4ee58e451
build: refactor lint and race-test jobs to use cross-builder executor (#22584) 2021-10-05 16:27:00 -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
Daniel Moran 2795c600c1
feat: add `--storage-write-timeout` flag to set write request timeouts (#22617) 2021-10-04 15:38:09 -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
Sam Arnold 0a6f562a44
fix: do not allow shard creation to create overlapping shards (#22604) 2021-10-01 08:07:34 -04: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
Jamie Strandboge 81cf5d76af
chore(Makefile): allow specifying -gcflags via env (#22440)
Various make targets call '$(GO_BUILD)' but there is no facility for
specifying arguments to 'go build'. As a first step, introduce the
GCFLAGS Makefile variable that when unset, operates as always, but when
set, adds '-gcflags "$(GCFLAGS)"' to go build. Eg, when unspecified,
maintain the current behavior:

$ make
...
env GO111MODULE=on go build -tags ... -ldflags ...

When specified, add the specified -gcflags:

$ GCFLAGS="all=-N -l" make
...
env GO111MODULE=on go build -tags ... -gcflags "all=-N -l" -ldflags ...

This could be useful in various situations such as producing unoptimized
builds (like in the above).

In addition, remove the now unused (since cmd/influx was removed)
GO_BUILD_SM environment variable.
2021-09-24 12:38:10 -05:00
Daniel Moran 1e9a31a675
build: add CI jobs to natively test ARM64, Mac, and Windows (#22539) 2021-09-24 11:03:56 -04:00
Daniel Moran d5b6f8e8a4
fix: allow empty reqeust bodies to write API (#22574) 2021-09-24 09:51:39 -04:00
pierwill 22fa31640b
ci: Verify checksum of goreleaser install script (#22570) 2021-09-23 16:32:27 -05:00
Daniel Moran 4de57500a5
test: add ungrouped-agg case to perf test suite (#22567) 2021-09-23 16:24:33 -04:00
Tristan Su 0f6614ffa7
fix(tsdb): sync series segment to disk after writing (#22545)
Co-authored-by: Tristan Su <suqing.sq@alibaba-inc.com>
2021-09-23 12:09:16 -05:00
davidby-influx 47007f6988
fix: for Windows, copy snapshot files being backed up (#22551) (#22562)
On Windows, make copies of files for snapshots, because
Go does not support the FILE_SHARE_DELETE flag which
allows files (and links) to be deleted while open. This
causes temporary directories to be left behind after
backups.

closes https://github.com/influxdata/influxdb/issues/16289

(cherry picked from commit 3702fe8e76)

closes https://github.com/influxdata/influxdb/issues/22557
2021-09-22 13:06:28 -07:00
Daniel Moran e06e34aa56
test: sleep between 2nd and 3rd checks of engine last-modified time (#22554)
And rewrite the test to use testify
2021-09-22 14:14:46 -04:00
Daniel Moran 75b9398e1a
fix: suggest setting flux Content-Type when query fails to parse as JSON (#22537) 2021-09-22 09:35:06 -04:00
Sam Arnold 7dfd7de81f
feat: set X-Influxdb-Version and X-Influxdb-Build headers (#22535)
Closes #20224
Also a forward port of #22038 since I saw the same test failing on 2.x
2021-09-22 07:30:45 -04:00
Daniel Moran 233f277c07
test: check post-compaction series file sizes before reopening (#22534) 2021-09-21 16:48:44 -04: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
Timmy Luong 8657a48f6d
chore: add check for procstat (#22511) 2021-09-20 09:39:01 -07:00
Daniel Moran 02246a8c3e
test: wait until time.Now changes before checking timing stats in query controller tests (#22479)
This allows the tests to pass on Windows, where time.Now doesn't update as frequently as it does on other systems
2021-09-20 08:26:16 -04:00
Daniel Moran 1291b1a218
test: update various tests to pass on Windows (#22484)
* Generalize checks for no-such-file errors to pass on Windows
* Close temp tombstone file before trying to delete it in test
* Generalize upgrade tests to work on Windows
2021-09-20 08:25:11 -04:00
William Baker 0c59cd79e3
build: series cardinality perf test (#22509)
* build: series cardinality perf test
2021-09-17 15:14:41 -06:00
Cody Shepherd c44931a06e
build: changelog job should use aws domain to avoid CDN caching (#22502) 2021-09-17 10:43:09 -07: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
William Baker 33afff378c
build: run perf test queries only on specific datasets (#22480)
* build: run perf test queries only on specific datasets

* fix: use new aliases to fix group window transpose
2021-09-16 09:41:06 -06:00
Sean Brickley c66a059101
build(flux): update flux to v0.130.0 (#22486) 2021-09-15 11:47:38 -04:00
Timmy Luong 73043f94da
feat: allow new telegraf input plugins and update toml (#22476) 2021-09-14 14:43:59 -07:00
Daniel Moran 140148edfb
test: close temp sfile before running buildtsi compaction test (#22481) 2021-09-14 17:34:55 -04:00