Commit Graph

34857 Commits (4ba5550a5d23ac1a870fcfbc5f5f35694d7bffb7)

Author SHA1 Message Date
Cody Shepherd 4ba5550a5d
chore: pin base Debian image in Docker builds (#22222) 2021-08-17 09:43:10 -07:00
William Baker 2bf5f8ef3e
build: add multi measurement query benchmarks (#22217)
* build: add multi measurement query benchmarks

* chore: add comment for default match of query interval
2021-08-17 10:35:05 -06:00
William Baker d677fa1eeb
build: add perf tests for group-window-transpose (#22199)
* build: add perf tests for group-window-transpose
2021-08-13 14:38:58 -06:00
Daniel Moran 72de805106
refactor: use updated API in restore service (#22198) 2021-08-13 16:15:18 -04:00
Dane Strandboge 1f5f927d74
build: add perf test for sorted-pivot (#22192) 2021-08-13 14:07:58 -05:00
Daniel Moran 85c38bb77a
feat(replication): add feature flag for replication-stream backend (#22196) 2021-08-13 10:55:43 -04:00
Daniel Moran 891e7d4782
feat: port durable queue from InfluxDB enterprise (#22187) 2021-08-12 17:59:11 -04:00
Cody Shepherd 8e5a0705a3
fix: systemd service -- handle 40x and block indefinitely (#22174)
* fix: systemd service -- handle 40x and block indefinitely

* chore: update changelog

* chore: add pkg_run_test to CI

* chore: fix curl syntax for auth setup in pkg_run_test
2021-08-12 12:45:29 -07:00
Daniel Moran 07d897d2f2
fix: switch flux formatter to one that preserves comments (#22186) 2021-08-12 14:17:18 -04:00
mcfarlm3 a160a1d47c
chore: add unit test coverage to inspect report-tsi command (#22153)
* chore: add unit test coverage to inspect report-tsi command

* chore: add additional test cases and data for inspect report-tsi command

* refactor: made small changes based on code review

* chore: added line protocol files for tsi test data

Co-authored-by: Michelle McFarland <michellemcfarland@Michelles-MacBook-Pro.local>
2021-08-12 08:55:42 -07:00
William Baker 9e8f47a472
build: don't include host tag on perf test results (#22183)
* build: dont report host for perf tests
2021-08-12 09:48:44 -06:00
Dane Strandboge d044c585ac
build: add perf test for aggregate-keep (#22175) 2021-08-11 16:53:23 -05:00
William Baker 7c8a5ab68f
build: add perf test for filtered queries (#22159)
* build: add perf test for filtered queries

* chore: run only on master
2021-08-11 14:22:21 -06:00
Bucky Schwarz de1bd90f3f
chore: remove annotations and rangeAnnotations flags (#22146) 2021-08-11 11:48:23 -07:00
Paul Hummer 3b4a1e1873
build(flux): update flux to v0.125.0 (#22158) 2021-08-11 09:59:54 -06:00
William Baker 53d2d7c3ef
build: add perf test for fast query (#22148)
* build: add fast iot query perf test
2021-08-10 15:38:08 -06:00
Dane Strandboge c2f6705008
chore: remove some flaky checks from `dump_tsm_test` (#22144)
* comment out and link to issue #22145
2021-08-10 14:43:52 -05:00
Greg 7aaba338b2
feat: add route to return platform known resources (#22135) 2021-08-10 09:18:06 -06:00
Daniel Moran 43f5aefe6c
build: include query-format in EC2 perftest instance names (#22134) 2021-08-09 15:42:27 -04:00
Dane Strandboge c960e11dc7
chore: fix dump_tsm test failing (#22130)
* chore: fix dump_tsm test missing flag
* chore: flush written data with multiple tested keys
2021-08-09 14:24:06 -05:00
Daniel Moran b4170a9d34
build: parallelize flux and influxql perf tests (#22118) 2021-08-09 14:07:01 -04:00
Daniel Moran 34d73cfd88
build: remove file_tag from perf-test telegraf config (#22122) 2021-08-09 14:05:11 -04:00
Daniel Moran 817fae2a9a
build: replace general perf tests with aggregate tests, refactor script (#22068) 2021-08-09 10:23:06 -04:00
Daniel Moran 22c6b78c62
build: fix generation when vendoring dependencies (#22089) 2021-08-06 15:06:36 -04:00
Daniel Moran 8282fbac77
build: revert renaming of influxd-only release artifacts (#22086) 2021-08-06 14:45:29 -04:00
Daniel Moran e15b15b9c2
build: re-add branch as a tag in perftest results (#22050) 2021-08-05 11:59:45 -04:00
William Baker 886dfee91b
chore: add metaquery perf tests (#22008)
* build: metaquery perf tests

* fix: add scale string and seed to data file name

* fix: adjust telegraf outputs

* fix: fix force_compaction func

* fix: dont overwrite existing result files
2021-08-05 09:03:39 -06:00
davidby-influx 16b737dea4
fix: copy names from mmapped memory before closing iterator (#22040) (#22059)
This fix ensures that memory-mapped files are not released
before pointers into them are copied into heap memory.
MeasurementNamesByExpr() and MeasurementNamesByPredicate() can
cause panics by copying memory from mmapped files that have been
released. The functions they call use iterators to files which
are closed (releasing the mmapped files) before the memory is
safely copied to the heap.

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

(cherry picked from commit a989f8f8b6)

closes https://github.com/influxdata/influxdb/issues/22002
2021-08-04 15:58:20 -07:00
William Baker 2339432132
chore: remove duplicate flux test (#22035)
* chore: remove duplicate flux test

* test: convert to a pushdown test
2021-08-04 08:38:43 -06:00
Paul Hummer b6966de6c3
build(flux): update flux to v0.124.0 (#22023) 2021-08-03 11:47:56 -06:00
Cody Shepherd 693f3212d3
chore: set rust version to the same as latest tag from flux (#21996)
* chore: set rust version to the same as latest tag from flux

* chore: parse rust version from flux tag targeted by go.mod
2021-08-03 07:23:01 -07:00
William Baker 3f7b996a10
chore: delete the rest of chronograf (#21998)
* chore: deleted the rest of chronograf

* chore: tidy
2021-08-02 09:02:54 -06:00
mcfarlm3 3c1d841df6
chore: add unit test coverage to inspect dump-wal (#21994)
* chore: add unit test coverage to inspect dump-wal

* chore: ran make fmt

* refactor: small styling change in conditional statement

* refactor: passed cobra cmd as pointer instead of an object

Co-authored-by: Michelle McFarland <michellemcfarland@Michelles-MacBook-Pro.local>
2021-07-30 15:32:46 -07:00
Daniel Moran 568c564182
build: update name of new CLI deb/rpm package (#21975) 2021-07-30 10:06:57 -04:00
William Baker 11e5ce0dd3
feat: enable notebooks and annotations (#21972)
* feat: remove notebooks feature flags

* feat: turn on annotations feature flag

* chore: removed unused UI feature flags

* docs: add line to CHANGELOG about notebooks and annotations

* chore: update CHANGELOG
2021-07-29 16:32:12 -06:00
Dane Strandboge 09f5f48aeb
chore: add test cases for `inspect dump-tsm` (#21956) 2021-07-29 16:35:01 -05: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
William Baker 8e80798c33
fix: field metaqueries take fast path if predicate is only on `_measurement` (#21962)
* fix: field metaqueries take fast path if predicate is only on `_measurement`

* chore: update CHANGELOG

* test: add test for fields with measurement predicate
2021-07-29 13:57:06 -06:00
Dane Strandboge 52ccb238af
chore: deletetsm command tests (#21949) 2021-07-29 13:32:06 -05:00
William Baker 4db7978b32
feat(telemetry): Do not record telemetry data for invalid requests; replace invalid static asset paths with a slug (#21958)
* feat: record telemetry data only on successful response codes

* feat: re-write request path in file handler

* fix: use a slug for the replacement path

* chore: update CHANGELOG

* fix: report for 5XX also

* fix: address review comments
2021-07-29 10:22:11 -06:00
Daniel Moran 5d84c602c8
build: upgrade staticcheck, fix new linter warnings (#21957) 2021-07-27 20:37:23 -04:00
William Baker 096a478ff6
fix: return 404 instead of links page on bad /api/v2 requests (#21950)
* fix: return 404 instead of links page on bad /api/v2 requests

* chore: update CHANGELOG
2021-07-27 11:35:29 -06:00
Daniel Moran 9d81f4a096
fix: prevent silently dropped writes with overlapping shards (#21946)
Co-authored-by: Geoffrey Wossum <gwossum@influxdata.com>
2021-07-27 12:15:08 -04:00
mcfarlm3 9f13f1c309
feat: port influxd inspect build-tsi (#21936)
* feat: port influxd inspect build-tsi

* refactor: changes based on code review, not including logging changes

* refactor: improved logging based on code review

* chore: updated CHANGELOG.md

Co-authored-by: Michelle McFarland <michellemcfarland@Michelles-MacBook-Pro.local>
2021-07-27 08:26:22 -07: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
Daniel Moran 8dc74f1132
build: update deb and rpm names to match 2.0.8 (#21940) 2021-07-23 15:01:25 -04:00
Greg f9914e8908
chore: add route to delete individual secret (#21938) 2021-07-23 12:44:41 -06:00
Daniel Moran eeeb886d65
build: recommend influx-cli in packaging, add section to README (#21875) 2021-07-23 12:05:02 -04:00
Cody Shepherd 035e11e3ca
chore: perftests should use API instead of influx cli (#21909) 2021-07-22 11:04:47 -07:00
pierwill d8611bfcd9
build: verify checksum of Go download in CI (#21911) 2021-07-22 11:47:59 -05:00