Daniel Moran
1e50418535
refactor: reduce duplication in setup logic ( #20794 )
2021-02-22 17:01:26 -05:00
Daniel Moran
58ae51d2d0
feat(cmd/influx): support reading GZIP data in `influx write` ( #20763 )
...
Co-authored-by: davidby-influx <dbyrne@influxdata.com>
2021-02-19 12:31:09 -05:00
Daniel Moran
6515a79413
fix: update doc links to point at new site ( #20754 )
2021-02-16 12:37:56 -05:00
Arnav Aggarwal
afbe31dddc
feat(cmd/influx): add command to find and retry failed task runs ( #20307 )
...
Co-authored-by: Brett Buddin <brett@buddin.org>
Co-authored-by: Daniel Moran <danxmoran@gmail.com>
2021-02-11 13:25:40 -05:00
Daniel Moran
727a7b58c1
test: replace influxlogger with zaptest logger ( #20589 )
2021-02-11 10:12:39 -05:00
Daniel Moran
a3fa943a0a
refactor(cmd/influx): clean up existing tests for `influx write` ( #20666 )
2021-02-04 14:24:45 -05:00
Daniel Moran
9566892022
fix(cmd/influx): allow for creating users without initial passwords in `influx user create` ( #20657 )
2021-02-02 11:53:24 -05:00
Jonathan A. Sternberg
719c8495f2
feat(fluxtest): add support for testing/expect planner rules ( #20662 )
2021-02-01 15:53:05 -06:00
Sam Arnold
781fa0e846
chore: add goimports
2021-01-29 14:06:52 -05:00
Daniel Moran
552646d81c
fix(cmd/influx): improve logging consistency in `influxd upgrade` ( #20640 )
2021-01-28 10:42:07 -08:00
Daniel Moran
a668a9ed0a
feat(cmd/influxd): add `influxd inspect export-lp` command to export LP ( #20467 )
2021-01-25 14:28:36 -08:00
Daniel Moran
3be8e498b4
fix(cmd/influx): respect --skip-verify in `influx query` ( #20578 )
2021-01-25 11:15:51 -08:00
Jonathan A. Sternberg
f6669f7512
feat(internal/cmd): add internal command for influxdb flux test harness ( #20508 )
...
The internal command can be used to execute flux tests using the same
internals as the `flux test` command, but it will invoke these tests
against a test influxdb instance that is launched in-process.
2021-01-25 10:31:23 -06:00
Daniel Moran
e77c4670d6
feat(cmd/influxd): add `nats-max-payload-bytes` config option to influxd ( #20564 )
2021-01-20 12:44:43 -08:00
Daniel Moran
d8a4b4d6cb
feat(cmd/influxd): add `nats-port` config option to influxd server ( #20561 )
2021-01-20 10:53:56 -08:00
Daniel Moran
c62d3f2d8d
fix(cmd/influxd): prevent panic on upgrade with V1 users and no V1 conf ( #20548 )
2021-01-19 13:26:44 -08:00
Daniel Moran
e970aae778
feat(cmd/influxd): add `print-config` subcommand to support automation ( #20524 )
2021-01-19 12:34:12 -08:00
Daniel Moran
fdc0fdb92b
feat(cmd/influxd): add --overwrite-existing-v2 flag to influxd upgrade ( #20473 )
2021-01-15 08:20:48 -08:00
Daniel Moran
78af2e7317
fix(kit/cli): don't ignore failures to mark CLI options as required ( #20490 )
2021-01-13 07:25:16 -08:00
Daniel Moran
30306e5b10
fix(cmd/influxd): improve `influxd upgrade` logging, and require manual confirmation of data copy ( #20440 )
2021-01-07 07:34:48 -08:00
Daniel Moran
d05a79d13d
fix: ignore a harmless error to avoid a confusing log message ( #20448 )
2021-01-06 08:00:51 -08:00
Daniel Moran
9aefa6f868
fix(tsdb): never use an inmem index ( #20313 )
...
And fix the logging setup for the TSDB storage engine
2020-12-23 07:46:57 -08:00
Daniel Moran
afdcb18655
refactor: simplify how we set the top-level influxd logger ( #20374 )
2020-12-21 11:15:08 -08:00
Daniel Moran
68f4df204f
fix(cmd/influx): improve CLI error returned on org-not-found ( #20387 )
2020-12-21 08:44:50 -08:00
Daniel Moran
6ed1922681
fix: don't use a finished context for graceful shutdown ( #20355 )
2020-12-16 18:56:21 -08:00
Greg
0a28e7be99
fix(cli): don't overwrite stack name/desc on stack update ( #20362 )
2020-12-16 18:09:22 -07:00
Daniel Moran
b5bbc503a0
fix(onboarding): don't ignore failures to set initial password ( #20317 )
2020-12-16 06:43:43 -08:00
Daniel Moran
1058a8e3f1
fix(upgrade): add DB URL to log message at end up upgrade ( #20274 )
2020-12-08 11:12:31 -05:00
Ben Johnson
7dafc2cf34
feat(tsdb): Implement delete with predicate.
2020-12-02 14:55:02 -07:00
Adrian Thurston
e0543e6e3a
fix: various improvements to setup command ( #20155 )
...
When checking for existing configs, check the length of the array after
parsing. There could be an empty config file present.
If --name was specified then use that as the configuration name, regardless of
whether or not there are existing configs.
Allow a 0 (infinite) retention to be specified with --retention when in
interactive mode.
Co-authored-by: Dan Moran <dmoran@influxdata.com>
2020-12-02 10:39:56 -05:00
Daniel Moran
5fa60878d9
feat(cmd/influx): add hints to ID-related errors in DBRP CLI commands ( #20204 )
2020-12-01 10:52:54 -05:00
Daniel Moran
4235c12d64
refactor(cmd/influxd): parse log-level CLI opts directly to correct type ( #20196 )
2020-11-30 13:59:06 -05:00
Daniel Moran
81a671894d
refactor(cmd/influxd): separate CLI parsing from core launcher ( #20109 )
2020-11-30 09:38:27 -05:00
Dan Moran
bbb008acd3
refactor: use explicit int64s for remaining query CLI args
2020-11-24 13:36:27 -05:00
Dan Moran
295d89ba22
fix: limit query queue size to an int32 to avoid panic
2020-11-24 13:36:27 -05:00
Dan Moran
4540645276
fix: limit query concurrency quota to an int32 to avoid panic
2020-11-24 13:36:27 -05:00
Daniel Moran
89764adabd
feat(cmd/influxd): use a better default for upgraded V2 config, and allow users to override it ( #20110 )
2020-11-23 13:05:48 -05:00
Daniel Moran
cfca0cc85f
feat(cmd/influx): allow for setting v1 passwords via CLI args ( #20123 )
2020-11-20 15:09:23 -05:00
Dan Moran
4541ab936f
chore: adjust help text based on PR feedback
2020-11-18 10:54:19 -05:00
Stuart Carnie
d5becff970
fix: UX improvements and bug fixes to dbrp commands
...
Closes #20085
2020-11-18 10:54:19 -05:00
Daniel Moran
1e324b6a63
fix(cmd/influxd): remove internal subcommands of `upgrade` from help text ( #20076 )
2020-11-17 15:37:43 -05:00
J. Emrys Landivar
478d25e774
feat(cmd/influx): Add DBRP cli commands as `influx v1 dbrp` ( #20067 )
...
Co-authored-by: Dan Moran <dmoran@influxdata.com>
2020-11-17 15:14:55 -05:00
Daniel Moran
632e8f11ed
fix(cmd/influxd): don't validate unused paths in `upgrade` ( #20052 )
2020-11-17 00:38:53 -05:00
Daniel Moran
b732f3663c
feat(cmd/influxd): export 1.x continuous queries as part of upgrade ( #20039 )
2020-11-16 16:37:47 -05:00
Stuart Carnie
1cd9d0b04a
feat: Port pipeline tests package from Cloud
...
This package provides essentially the same API as the Cloud tests
package, utilising the `TestLauncher` type.
Additional With functional options were added to the `Launcher`
in order to expose type-safe configuration of InfluxQL configuration.
Additional With options may be added in the future as the need arises.
2020-11-17 08:14:17 +11:00
Daniel Moran
693d153195
feat(cmd/influxd): warn if auth wasn't enabled and users were upgraded ( #20036 )
2020-11-16 09:05:40 -05:00
George MacRorie
5954db8c4d
chore(documents): reinstate minimal read-only document store for dashboard templates
2020-11-16 12:41:26 +00:00
George MacRorie
16d916a952
refactor(kv): delete deprecated kv service code
...
This includes removal of a lot of kv.Service responsibilities. However,
it does not finish the re-wiring. It removes documents, telegrafs,
notification rules + endpoints, checks, orgs, users, buckets, passwords,
urms, labels and authorizations. There are some oustanding pieces that
are needed to get kv service compiling (dashboard service urm
dependency). Then all the call sites for kv service need updating and
the new implementations of telegraf and notification rules + endpoints
needed installing (along with any necessary migrations).
2020-11-16 12:41:26 +00:00
Daniel Moran
4efb8515b8
fix(cmd/influxd): validate all input paths to `upgrade` up-front ( #20012 )
2020-11-13 09:25:57 -05:00
Stuart Carnie
fab99c9512
chore: Remove fragile nats port assignment loop
...
This resolves observed race conditions when running test suites that
utilize the launcher. It also reduces test times considerably, by
eliminating a slow loop to find a port.
2020-11-13 09:13:48 +11:00