Commit Graph

35274 Commits (8576cad9e5080cf3e57f83b53bb2d97d4fb87bea)

Author SHA1 Message Date
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
Jonathan A. Sternberg f94783e016
build(flux): update flux to master and change renamed structs (#22281) 2021-08-26 10:07:02 -05:00
Daniel Moran 5aa91f0524
refactor: delete unused FileSet methods, clean up some errors (#22309) 2021-08-26 10:48:59 -04:00
Daniel Moran fdcb87069c
refactor: make remote HTTP connection / validation internal (#22300) 2021-08-25 13:13:18 -04:00
William Baker 227ff3c58a
chore: update `CHANGELOG` to reflect 2.0.8 release (#22280)
* chore: update `CHANGELOG` to reflect 2.0.8 release
2021-08-24 14:18:13 -06:00
mcfarlm3 337169f1fd
chore: added unit test coverage to inspect build-tsi 2.x command (#22262)
* chore: add test coverage for inspect build-tsi command

* refactor: moved repeated code into separate functions

* refactor: minor variable naming change

* refactor: added manifest check for index files and made minor flag naming changes to build-tsi

* fix: changed check from NotNil to NotZero
2021-08-24 12:46:02 -07:00
mcfarlm3 115822aeda
refactor: small changes to usage and flag naming for consistency (#22292) 2021-08-24 12:45:20 -07:00
Daniel Moran b37ad79e20
feat: add logging and metrics middlewares to replications API (#22291) 2021-08-24 14:56:56 -04:00
Daniel Moran 11c97470a5
fix: add created_at and updated_at columns to replications table (#22293) 2021-08-24 14:56:47 -04:00
Daniel Moran 641c02f9a8
feat: add APIs for management of replication streams (#22287) 2021-08-24 14:19:03 -04:00