Commit Graph

915 Commits (e405398ac1095248f6ac7a281156f850f70caf28)

Author SHA1 Message Date
Stuart Carnie 78d0262217 fix: Remove incorrect implementation of delete APIs and disable HTTP API
This commit removes incorrect implementations of the `DeleteBucket`
and `DeleteBucketRangePredicate` APIs from the storage package,
which remained after the transition to the tsdb 1.x storage engine.

Secondly, this PR utilizes the `ENotImplemented` error code to inform
users which call the `/api/v2/delete`
2020-09-24 11:11:46 -07:00
greg linton 724de9d0d1 chore: fix typo in cli flag 2020-09-22 11:49:26 -06:00
greg linton 13cb2927bb Merge branch 'master' into feat/18733 2020-09-21 17:21:06 -06:00
Stuart Carnie 46db75d9a9 fix: ShardGroupDuration is updated for retention period updates
Fixes #19518
2020-09-18 07:31:48 -07:00
Christopher M. Wolff e7cbbaa722
feat: upgrade Flux to v0.83.2 (#19569) 2020-09-16 17:59:15 -07:00
Gershon Shif af0c328095
chore(packaging): build rpm and deb packages (#19567)
- Update CIrcleCI configuration to start release process on an RC build
- Update .goreleaser.yml:
   - Start building armel and armhf binaries and rpm and debian packages.
   - Generate sha256 checksum file.
- launcher.go: do not use `max` module to escape integeroverflow problem for armel and armhf builds
- Start using `v0.142.0` of goreleaser
- Added pre and post install/uninstall scripts for rpm amd deb packages
2020-09-16 12:36:44 -07:00
greg linton 6dc785e894 chore: address feedback 2020-09-15 09:33:44 -06:00
Russ Savage 7c76efd6ea
fix(cli): update annotation order to match UI (#19503) 2020-09-14 10:18:29 -07:00
Pavel Zavora 0718c9a53f chore(cmd/influx/write): update option description 2020-09-12 11:13:27 +02:00
Pavel Zavora 90a3a7c8d8 feat(cmd/influx/write): add --errors-file option #18742 2020-09-12 11:13:27 +02:00
greg linton 53b325c7d0 Merge branch 'master' into feat/18733 2020-09-11 14:23:24 -06:00
greg linton 0eb53e0e0b chore: revert notificationEndpoints to be name unique 2020-09-10 17:55:22 -06:00
Stuart Carnie 6f0cf049ca feat: Port shard precreation service from InfluxDB 1.x
Provides new configuration parameters:

```
--storage-shard-precreator-advance-period
--storage-shard-precreator-check-interval
```

Closes #19520
2020-09-09 13:34:22 -07:00
Stuart Carnie e265f60b55 fix: Improvements in response to PR feedback
* Pass context.Context to Service.Open
* Remove redundant comments
* Bind to retention.Config configuration to be consistent with 1.x
2020-09-09 10:32:06 -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 feb2596f3a feat: Expose a subset of InfluxQL coordinator tuning options
Closes #19507
2020-09-05 09:44:34 -07:00
Stuart Carnie 111f39c8b1 feat: Add TSM 1.x storage options as flags
Closes #19505
2020-09-04 15:56:57 -07:00
Stuart Carnie 4266eb5935 chore: Remove page-fault-rate flag, which is not available 2020-09-04 15:56:57 -07:00
Stuart Carnie 4b5ac0871d
Merge pull request #19494 from influxdata/port-change
feat: Changing the default port from 9999 to 8086
2020-09-04 11:58:41 -07:00
Stuart Carnie 7964f86ffc
fix: switch port to 8086
fix(readme): update the port and setup
2020-09-03 14:40:29 -07:00
Stuart Carnie 0f1b7fdafb
feat: Create initial stubs for influxd upgrade command
Includes some example sub commands for dumping v1 and v2 metadata

* `influxd upgrade v1-dump-meta`
* `influxd upgrade v2-dump-meta`

Closes #19495
2020-09-03 14:23:51 -07:00
Stuart Carnie b3138d2ead
fix: Ensure TemporaryEngine returns new inner TSDB store 2020-09-01 10:50:44 -07:00
Stuart Carnie a7239c007e
fix: separate flag to always permit initial user setup
This is not required for e2e tests
2020-08-31 16:38:54 -07:00
Stuart Carnie a607ac30b9
chore: Re-enable `TemporaryEngine` via `--e2e-testing` 2020-08-31 13:50:20 -07:00
greg linton 4e1bc7ceb2 feat(pkger): add ability to export dashboards by name 2020-08-27 15:32:04 -06:00
Brett Buddin b917d8d9b0
chore(influxdb): Placate the linter. 2020-08-27 15:46:32 -04:00
Brett Buddin 09b0258ab4
chore(master): Merge branch 'master' into sgc/tsm1 2020-08-27 14:43:50 -04:00
Greg 80b85162e0
feat(cli): add option to dump the raw flux response from query (#19433) 2020-08-26 12:12:17 -06:00
Stuart Carnie dee8977d2c
chore: move v2/v1/tsdb → v2/tsdb 2020-08-26 10:46:47 -07:00
Yiqun (Ethan) Zhang 6f805cbc2b
feat: flux query profiler (#19359) 2020-08-25 18:00:02 -05:00
Stuart Carnie 06fac044e5
fix(storage): Implement SeriesCardinality, which is per-bucket
Fixed unit tests
2020-08-25 14:52:00 -07:00
Stuart Carnie 7ec178f54c
feat(influxd): Perform checks to determine if prior version exists
Closes #19408
2020-08-24 15:40:25 -07:00
Stuart Carnie cfd089b77a
revert(storage): Revert changes from 1501351
Reverted 1501351623
2020-08-24 10:08:46 -07:00
Stuart Carnie 6474c8c9fa
Merge remote-tracking branch 'origin/master' into sgc/tsm1
# Conflicts:
#	storage/engine.go
#	storage/engine_test.go
#	storage/wal/wal_test.go
#	tsdb/tsm1/engine_delete_prefix.go
#	tsdb/tsm1/engine_delete_prefix_test.go
#	tsdb/tsm1/engine_test.go
#	v1/tsdb/engine/tsm1/wal.go
2020-08-24 09:56:18 -07:00
Ben Johnson 1501351623 feat(influxql): Implement DELETE & DROP MEASUREMENT 2020-08-21 13:32:47 -06:00
Stuart Carnie c01a62d5d4
chore(task): Remove unused code 2020-08-20 16:59:26 -07:00
Stuart Carnie f46e36b6ac
Merge remote-tracking branch 'origin/master' into sgc/tsm1 2020-08-17 09:27:00 -07:00
Stuart Carnie 80428fe2a9
fix(influx): httpClient global is cached, resulting in flaky tests 2020-08-14 15:10:24 -07:00
Johnny Steenbergen c0b593ec7d feat(influx): add active-config flag to override config on single command call
closes: #19318
2020-08-14 13:33:14 -07:00
Stuart Carnie b3734695c5
Merge remote-tracking branch 'origin/master' into sgc/tsm1 2020-08-14 12:37:41 -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
Johnny Steenbergen 99ab43fb91 fix(influx): add missing description field to auth output
this PR also extends the create auth to include ability to
set the auth description

closes: #19156
2020-08-14 12:05:55 -07:00
Stuart Carnie 56e27b8893
Merge remote-tracking branch 'origin/master' into sgc/tsm1
# Conflicts:
#	go.mod
#	go.sum
#	query/promql/internal/promqltests/go.mod
2020-08-12 09:07:30 -07:00
George 2636e976b9
chore(query): use dbrp v2 service in flux influx.v1 dependencies (#19108)
* chore(query): use dbrp v2 service in flux influx.v1 dependencies

* chore: update transpiler to use dbrp mapping service v2
2020-08-12 11:08:25 +01:00
Stuart Carnie 057285e23a
Merge remote-tracking branch 'origin/master' into sgc/tsm1
# Conflicts:
#	query/logging.go
#	query/logging_test.go
#	query/stdlib/influxdata/influxdb/rules.go
#	query/stdlib/influxdata/influxdb/rules_test.go
#	query/stdlib/testing/testing.go
#	storage/flux/reader.go
#	storage/flux/table.gen.go
#	storage/flux/table.gen.go.tmpl
#	storage/flux/table.go
#	storage/flux/table_test.go
2020-08-11 10:25:01 -07:00
Jonathan A. Sternberg d83fae37f6
fix(cmd/influx): query cli should not explicitly request gzipped content (#19250)
The `net/http` package default transport will request content gzipped
automatically if `DisableCompression` is set to false (which is the
default). If the transport does it automatically, it will decompress it
automatically which is what was the original intention of the code. But,
if it is requested explicitly, then go will not decompress the data
automatically.
2020-08-07 11:30:03 -07:00
Johnny Steenbergen 536e2c9811 feat(pkger): parameterize task queries
references: #18237
2020-08-05 16:14:06 -07:00
jlapacik 46c7345dae
feat: enable pushdowns for sum, count, min, and max by default (#19227) 2020-08-05 12:06:35 -07:00
Johnny Steenbergen efd82a2483 feat(influx): add support for dashboards 2020-08-05 09:14:01 -07:00
Faith Chikwekwe d48dc690a6
feat(query/stdlib): add min and max to ReadGroup (#19158)
Enables the mix and max aggregates for the ReadGroupAggregte pushdown behind a feature flag.

Co-authored-by: Jonathan A. Sternberg <jonathan@influxdata.com>
2020-08-05 09:40:26 -05:00