Commit Graph

35233 Commits (8ed55e72b85b0807c97d3d1d7d12e9f07c9737e9)

Author SHA1 Message Date
Cody Shepherd b8a3b4ca5c
chore: persist changelog artifacts to workspace for uploading (#22478) 2021-09-14 14:16:36 -07:00
Daniel Moran e2948d875c
test: skip pkger URI test when running on Windows (#22475) 2021-09-14 10:58:35 -04:00
Daniel Moran d307e0a2dc
chore: delete miscellaneous unused code (#22465)
* Delete unused `CreateFileWithReplacement` function
* Delete unused `http/server.go`
2021-09-13 15:48:17 -04:00
Daniel Moran ccd96929c5
test: don't assume unix paths in reporttsi tests (#22461) 2021-09-13 15:24:10 -04:00
William Baker ec7841b355
feat: support for flux cardinality query (#22441)
* feat: works with custom iterator

* feat: works with existing iterators

* chore: cleanup

* test: consistent assertions for tests

* fix: better log message if trying to filter on the value of a field key

* fix: comment for handling boolean literal; handle false boolean as well

* fix: make time range checking inclusive
2021-09-13 13:20:56 -06:00
Sam Arnold 5015297d40
fix: more expressive errors (#22448)
* fix: more expressive errors

Closes #22446

* fix: server only logging for untyped errors

* chore: fix formatting
2021-09-13 15:12:35 -04:00
William Baker 3e275a123d
feat: multi-measurement query optimization (#22301)
* feat: multi-measurement query optimization
2021-09-13 13:00:08 -06:00
Daniel Moran 6f39255fc8
fix: ensure files are closed before they are deleted or moved in `deletetsm` (#22458)
* Close files before deleting parent dir in tests
* Use platform-independent function to rename output
* Close source TSM file before overwriting it
2021-09-13 14:39:50 -04:00
Daniel Moran 3053af7719
test: skip signals test on Windows (#22454)
And use os.Kill instead of syscall.SIGTERM for portability
2021-09-13 12:49:25 -04:00
Daniel Moran f36960d263
fix: detect noninteractive prompt when displaying warning in buildtsi (#22442) 2021-09-13 11:26:58 -04:00
Daniel Moran 6d4d32d6d0
build: embed tzinfo into Windows builds to avoid panics (#22447) 2021-09-13 11:11:24 -04:00
Daniel Moran 372c481278
chore: delete unused code that doesn't build on Windows (#22443) 2021-09-13 10:55:45 -04:00
Cody Shepherd 1e911cdba6
chore: fetch changelog files prior to updating (#22439) 2021-09-13 07:01:30 -07:00
Dane Strandboge bd8a1e18f4
build: upgrade to go1.17.1 (#22437) 2021-09-10 14:34:58 -05:00
Cody Shepherd 26e35ed945
chore: omit VCS commands for changelog in favor of s3-only approach (#22423) 2021-09-10 08:38:40 -07:00
Daniel Moran 153a89dba0
feat: deleting a bucket also deletes all associated replications (#22424) 2021-09-09 15:22:36 -04:00
William Baker 1482bdfa38
feat: partial support for series cardinality flux query (#22378) 2021-09-09 12:37:11 -06:00
Daniel Moran 873051865a
build: try adding curl loop before grace-daily runs (#22432) 2021-09-09 13:08:33 -04:00
Daniel Moran cc2a4fc73e
build: disable docker-layer-caching in machine executors (#22434) 2021-09-09 12:33:41 -04:00
Daniel Moran eb5f5c3c5b
test: close test SQL store before deleting its tmp dir in tests (#22421) 2021-09-08 11:12:21 -04:00
Daniel Moran a7cd53a732
build: bump machine executor image to version with upgraded docker (#22402) 2021-09-07 16:46:22 -04:00
Daniel Moran 1fa0ccf24a
refactor: move interfaces for remotes & replication services out of root package (#22417) 2021-09-07 16:21:29 -04:00
Daniel Moran 29ef6dc562
test: skip HoltWinters tests when GOARCH != amd64 (#22414) 2021-09-07 16:15:31 -04:00
Jonathan A. Sternberg 15fb8949f2
build(flux): update flux to v0.128.0 (#22416) 2021-09-07 13:56:11 -05:00
Cody Shepherd fda02b15b1
chore: update PR template post-changelog automation (#22407) 2021-09-07 11:27:20 -07:00
Daniel Moran ba4d2d4708
fix: use consistent path separator in permission string representation (#22412) 2021-09-07 13:02:07 -04:00
Daniel Moran af12281358
chore: delete pointless test for mixed-index shards (#22405) 2021-09-07 12:25:07 -04:00
Daniel Moran 6418f693f7
refactor: use new flux function to format duration literals (#22403) 2021-09-07 11:12:25 -04:00
Cody Shepherd 824e76c18d
build: generate nightly changelog from commit history (#22377)
* build: generated nightly changelog from commit history

* build: update goreleaser version
2021-09-07 08:07:04 -07:00
davidby-influx 7ad612b0d7
fix: discard excessive errors (#22379) (#22391)
The tsmBatchKeyIterator discards excessive errors to avoid
out-of-memory crashes when compacting very corrupt files.
Any error beyond DefaultMaxSavedErrors (100) will be
discarded instead of appended to the error slice.

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

(cherry picked from commit e53f75e06d)

closes https://github.com/influxdata/influxdb/issues/22381
2021-09-03 14:57:36 -07:00
Cody Shepherd e30eb3cc46
build: update goreleaser version pin (#22393) 2021-09-03 14:00:31 -07:00
William Baker 279c23a0c6
feat: add additional log to flux e2e tests (#22366) 2021-09-02 11:16:01 -06: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
Daniel Moran 12c8fd28d2
feat: implement metadata management for replications (#22302) 2021-09-01 12:01:41 -04:00
Daniel Moran dc3b501298
refactor: rename Lock/Unlock on KV stores to RLock/RUnlock (#22357) 2021-08-31 17:03:54 -04:00
Daniel Moran 01355a068c
refactor: move helper functions for setting up test stores into testing package (#22347)
* Move tenant.Service unit tests into its package
* Delete the top-level TenantService interface now that it's not used.
* Move helper funcs for setting up test stores into testing pkg
* Delete duplicate implementations scattered through the codebase
* Move error assertions into store-creation helpers
2021-08-31 16:43:45 -04:00
davidby-influx 99cfbfe8cf
fix: repair bad port dropping return value names (#22307)
Named returns were not cherry-picked correctly from
commit a989f8f8b6 in
master-1.x branch.

closes https://github.com/influxdata/influxdb/issues/22303
2021-08-31 09:24:15 -07:00
Faith Chikwekwe acc8d2e5c3
build(flux): update flux to v0.127.1 (#22331) 2021-08-31 06:52:02 -07:00
William Baker eca834cc03
build: new multi-measurement perf test (#22345)
* build: new multi-measurement test
2021-08-30 16:32:47 -06:00
Daniel Moran 12fff64760
fix: make TSI index compact old and too-large log files (#22334)
*  TSI index should compact old or too-large log files
* Old tsl files should be compacted without new writes
* Add extra logging when disk size test fails


Co-authored-by: Sam Arnold <sarnold@influxdata.com>
2021-08-30 18:27:48 -04:00
Daniel Moran cc6accf106
chore: delete old-style DBRP mapping (#22339) 2021-08-30 18:27:11 -04:00
Daniel Moran f251415a20
chore: delete unused, broken 'compspecs' testing tool (#22335) 2021-08-30 17:09:06 -04:00
William Baker 74eacf63ba
feat: add `--flux-log-enabled` flag for detailed flux logs (#22072)
* feat: add `--flux-log-enabled` flag for detailed flux logs

* feat: set query to unknown if not available
2021-08-30 14:42:05 -06:00
Daniel Moran 37088e8f53
feat(influxql): Add hyper log log operators (#22322)
In addition to helping with normal queries, this can improve the 'SHOW CARDINALITY'
meta-queries.


Co-authored-by: Sam Arnold <sarnold@influxdata.com>
2021-08-30 15:46:46 -04:00
Daniel Moran 6bb95ae6fe
refactor: clean up launcher code (#22330)
* Modify launcher shutdown to reduce field count
* Move tracing setup into its own method
* Move metastore setup into its own method
* Delete unused getter methods
* Fix imports
2021-08-30 14:46:25 -04:00
Daniel Moran 4dd2d7cc7f
fix: hard limit on field size while parsing line protocol (#22311)
Per https://docs.influxdata.com/influxdb/v2.0/reference/syntax/line-protocol/#string
we only support 64KB, but 1MB is a more realistic practical limit. Before this commit there was
no enforcement of field value size.


Co-authored-by: Sam Arnold <sarnold@influxdata.com>
2021-08-27 10:01:17 -04:00
Daniel Moran df448c654b
feat(tsi): optimize series iteration (#22316)
When using queries like 'select count(_seriesKey) from bigmeasurement`, we
should iterate over the tsi structures to serve the query instead of loading
all the series into memory up front.


Co-authored-by: Sam Arnold <sarnold@influxdata.com>
2021-08-27 09:59:23 -04:00
Christopher M. Wolff 309a05a1d3
build(flux): update flux to v0.127.0 (#22313) 2021-08-26 21:20:32 -06:00