Commit Graph

1091 Commits (a78729b2ff5d7bca967efac8e63a2a6aed7b9e51)

Author SHA1 Message Date
mcfarlm3 3b86c32468
feat: port `influxd inspect dump-wal` ()
* feat: porting influxd inspect dump-wal from 1.x

* refactor: adapted 1.x logic to cobra command syntax

* refactor: improved clarity of printed output and help documentation

* chore: ran make fmt

* chore: updated CHANGELOG.md

* refactor: made small changes suggested in code review
2021-07-21 09:15:37 -07:00
Dane Strandboge 0136c7e63d
feat: port `influx inspect report-tsm` to 2.x () 2021-07-20 12:08:30 -05:00
Faith Chikwekwe 9ff953c400
build(flux): update flux to v0.123.0 ()
* build(flux): update flux to v0.123.0

* fix(cmd/influxd/launcher): modify selector aggregate tests to use create empty false

Co-authored-by: Jonathan A. Sternberg <jonathan@influxdata.com>
2021-07-19 13:20:32 -07:00
mcfarlm3 5d8c0b4b17
feat: port `influxd inspect report-tsi` to 2.x ()
* feat: port influxd inspect report-tsi

* chore: restored tsi1.IsIndexDir() functionality

* refactor: changed inspect report-tsi to work with 2.x file system structure

* chore: fixed output tab alignment

* chore: ran make fmt

* chore: ran make fmt on changed file after resolving merge conflicts

* refactor: made changes based on code review

* refactor: avoiding defer build-up in loop

* refactor: replaced path with filepath and added shardIdx closures

* chore: updated changelog

* refactor: handled shardIdx closures in error case

Co-authored-by: Michelle McFarland <michellemcfarland@Michelles-MacBook-Pro.local>
2021-07-19 08:37:28 -07:00
Dane Strandboge c62d4cdc24
refactor: move to `filepath.WalkDir` for slight performance gain in Go 1.16 () 2021-07-16 09:11:11 -05:00
Dane Strandboge 31780ba845
feat: create `influxd inspect verify-wal` command () 2021-07-15 11:38:20 -05:00
Daniel Moran fa1c352132
fix: don't assume bash when displaying interactive CLI prompts () 2021-07-14 18:12:56 -04:00
Sam Arnold 962b9d7d02
fix: simplify file set, remove series file member () 2021-07-12 10:43:20 -04:00
Dane Strandboge 60de82e40a
chore: move to os/io over ioutil for `influx inspect` code () 2021-07-09 15:12:00 -05:00
William Baker 0cb0da2060
chore: modify/delete some chronograf refs ()
* chore: modify/delete some chronograf refs

* chore: update CHANGELOG
2021-07-08 09:14:03 -05:00
Daniel Moran 06b403ca57
build: delete `influx` CLI code, remove it from build () 2021-07-07 09:29:20 -04:00
Dane Strandboge 6a99416ab2
feat: port `influxd inspect deletetsm` to 2.x () 2021-07-06 12:20:30 -05:00
Dane Strandboge ba31a0e260
feat: port `influx inspect dumptsi` subcommand () 2021-07-06 11:40:21 -05:00
Dane Strandboge 7c529d929a
feat: port `influxd inspect dump-tsm` ()
This differs from the 1.x implementation as the blocks and index in-depth printout will now only happen if explicitly stated, instead of being printed with filterKey set
2021-07-02 15:51:36 -05:00
Dane Strandboge 8e8953f2c5
refactor: reorganize inspect subcommands for better package hierarchy () 2021-06-30 11:46:47 -05:00
Dane Strandboge 3c715d6851
feat: Port influxd inspect verify-tombstone subcommand () 2021-06-28 15:14:30 -05:00
Daniel Moran ab589cc326
chore: delete deprecated PostSetupUser API () 2021-06-22 09:09:52 -04:00
Daniel Moran b1b076f600
refactor: delete old backup/restore CLI commands, replace with dependency on new CLI repo () 2021-06-17 09:18:55 -04:00
William Baker 235366a603
feat: enable annotations backend ()
* feat: enable annotations backend
2021-06-16 12:41:23 -04:00
William Baker 40c7d69415
feat: use go embed for sqlite migrations () 2021-06-10 18:40:57 -04:00
Dane Strandboge 8b90d23088
feat: Port influxd inspect verify-tsm ()
* feat: port tsm-inspect command to dbv2

* test: add test code for tsm-verify

* chore: delete old tsm-verify code stubs

* docs: update changelog

* chore: test for broken checksums more thoroughly
2021-06-09 10:38:51 -05:00
Daniel Moran d747e7ec4e
feat: add config parameters to toggle WAL concurrency and timeouts ()
* feat: add context parameter to Take() method on fixed limiter
* refactor: plumb context through to uses of Take()
* test: update tests to pass context as needed
* feat: add config toggles for setting WAL write concurrency & timeout
2021-06-09 11:03:53 -04:00
Dane Strandboge c665c749fe
feat: Port influxd inspect verify-seriesfile ()
* feat: Port influxd inspect verify-seriesfile

* chore: clean up logic, use zaptest logger

* chore: better error handling

* chore: generic error return statement

* chore: collapse nil check into if-block

Co-authored-by: Daniel Moran <danxmoran@gmail.com>

* chore: update changelog

Co-authored-by: Daniel Moran <danxmoran@gmail.com>
2021-06-08 15:19:21 -05:00
William Baker 34a4a8e60e
feat: metadata backup returns bucket manifests ()
* fix: properly omit empty time.Time that are optional

* fix: optimize slice creation in manifest fns
2021-06-04 09:26:17 -04:00
William Baker b0ea3b6675
feat: backup and restore sqlite database ()
* feat: new metadata backup endpoint

* feat: added restore/sql API endpoint

* fix: content-type is multipart/mixed, part names are kv and sql

* fix: changed multipart manifest to buckets and made it .json

* feat: added lock for backing up sqlite and bolt dbs

* fix: use read lock instead of write lock on kv during backup

* fix: use filepath.Join for temp dirs
2021-06-02 19:07:53 -04:00
Stuart Carnie d165d76fc3
feat: influx CLI Packager support for explicit schema buckets ()
This commit adds the minimal requirements to process specs containing
explicit schema buckets, so they may be exported and applied from
Cloud 2.
2021-05-31 10:01:29 +10:00
William Baker ed629bfebe
feat(notebooks): notebooks database implementation () 2021-05-28 09:29:00 -04:00
William Baker c267b31232
chore: move notebook service interface to root () 2021-05-26 12:27:56 -04:00
William Baker 19b0470ed7
feat: integrated sqlite db for metadata () 2021-05-25 12:12:07 -04:00
Daniel Moran 00420fb54c
fix(influxql): make meta queries respect query timeout ()
Co-authored-by: davidby-influx <dbyrne@influxdata.com>
2021-05-24 21:10:53 -04:00
Daniel Moran b1e1125376
fix(cmd/influxd): Add logging work-around for absolute file paths on Windows () 2021-05-24 16:52:58 -04:00
William Baker 40897b9a98
feat(notebooks): authorization for notebooks ()
* feat(notebooks): auth changes to top-level authz

* feat(notebooks): added authorization

* chore(notebooks): added tests for authz
2021-05-17 19:01:27 -04:00
William Baker cc4ebe231d
feat: notebooks api handlers & fake store ()
* feat(notebooks): demo store functionality

* feat: demo store with context and middleware

* refactor: without context

* fix: update endpoint and status code for delete

* chore: changed name

* chore: added some tests

* fix: address review comments
2021-05-17 12:07:48 -04:00
Daniel Moran 6bdcbaa141
fix(cmd/influx): accept `--input` flag in `restore` command ()
* feat(cmd/influx): accept --input flag in `restore` command.
* fix(restore): make it an error if no backup manifests are found
2021-05-14 15:07:58 -04:00
Daniel Moran 4343d5ce07
fix: add logging to NATS streaming server () 2021-05-05 14:25:39 -04:00
Daniel Moran e28377f05c
fix: deprecate PostSetupUser and `influx setup user` () 2021-04-30 15:30:35 -04:00
Daniel Moran 942f7095e7
fix(query): make config validation for query controller less strict ()
* fix(query): accept queue-size > 0 when concurrency = 0
* fix(influxd): revert defaults for query settings to avoid validation err
* test: lower the default query concurrency used by test launchers
2021-04-28 17:27:37 -04:00
Daniel Moran 91d59d9588
fix(upgrade): ensure query config written by `influxd upgrade` is valid ()
* test: refactor upgrade test to cover the config upgrade
* fix: ensure upgraded query config is valid
2021-04-28 15:41:44 -04:00
William Baker 0106de9fa7
feat: notebooks HTTP handlers ()
* feat: notebooks HTTP handlers
2021-04-28 11:06:13 -04:00
Timmy Luong 0c88854486
feat: add StaticLegend () 2021-04-15 15:06:01 -07:00
William Baker 1d431e8bc3
feat: structured logging for HTTP server ErrorLog ()
* feat: structured logging for HTTP server ErrorLog

* chore: update CHANGELOG
2021-04-15 17:08:12 -04:00
Sam Arnold 7b2e122869
refactor: refactor for tasks backport ()
* chore: remove dead code

* refactor: move FluxLanguageService interface to fluxlang

* chore: run fmt

* refactor: move task.go from top level to task/taskmodel

* chore: run formatter

* chore: fix up import ordering with gci
2021-04-07 14:42:55 -04:00
Daniel Moran ff6b55aca4
feat(flux): allow values of 0 to disable controller limits ()
Co-authored-by: Sam Arnold <sarnold@influxdata.com>
2021-04-05 16:58:27 -04:00
Daniel Moran 00afd95cb7
refactor: automated move of errors and id from root to kit ()
Co-authored-by: Sam Arnold <sarnold@influxdata.com>
2021-03-30 14:10:02 -04:00
Russ Savage 1b7d5f3156
feat: add profiler to query command in cli () 2021-03-23 15:47:52 -04:00
Daniel Moran 4ef09e1ccb
feat(cmd/inflxud): add support for writing to stdout in `export-lp` () 2021-03-23 14:59:16 -04:00
Daniel Moran 8ab90d335f
fix(cmd/influx): add limits to task and run filters in retry-failed () 2021-03-23 07:53:58 -04:00
Daniel Moran 3420ed53d3
refactor: modularize backup/restore behavior so it's possible to test using `go test` () 2021-03-23 07:28:38 -04:00
Daniel Moran c5edd9092f
feat(http): add config parameters for HTTP timeouts () 2021-03-16 16:54:46 -04:00
Daniel Moran 9922863185
fix(tls): Update TLS strict cipher suite to actually work () 2021-03-16 10:45:27 -04:00