davidby-influx
5251c85412
fix: Do not close connection twice in DigestWithOptions ( #21659 ) ( #21662 )
...
tsm1.DigestWithOptions closes its network connection
twice. This may cause broken pipe errors on concurrent
invocations of the same procedure, by closing a reused
i/o descriptor. This fix also captures errors from TSM
file closures, which were previously ignored.
Closes https://github.com/influxdata/influxdb/issues/21656
(cherry picked from commit bce6553459
)
Closes https://github.com/influxdata/influxdb/issues/21660
2021-06-10 13:32:36 -07:00
Timmy Luong
354c385ee7
fix: change static legend's hide property to show ( #21648 )
2021-06-10 09:20:59 -07:00
Daniel Moran
9b02820a0f
build: upgrade to go1.16 ( #21642 )
...
* build: bump to go 1.16
* build: go mod tidy & update godeps CI step
2021-06-09 12:59:05 -04:00
Dane Strandboge
8b90d23088
feat: Port influxd inspect verify-tsm ( #21615 )
...
* 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 ( #21621 )
...
* 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 ( #21635 )
...
* 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
Daniel Moran
a187292632
chore: update CHANGELOG to reflect 2.0.7 release ( #21632 )
2021-06-08 10:47:36 -04:00
davidby-influx
d10a727157
fix: avoid rewriting fields.idx unnecessarily ( #21592 ) ( #21610 )
...
Under heavy write load creating new fields and measurements
the rewrite of the fields.idx file is a bottleneck. This
enhancement combines multiple writes into a single one and
shares any error return value with all of the combined
invocations. MeasurementFieldSet and the new
MeasurementFieldSetWriter must both now be explicitly
closed.
Closes #21577
(cherry picked from commit f64be286be
)
Closes https://github.com/influxdata/influxdb/issues/21598
2021-06-04 13:17:53 -07:00
William Baker
b0ea3b6675
feat: backup and restore sqlite database ( #21584 )
...
* 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
Timmy Luong
b0d62f0c72
feat: add legendHide for the tooltip ( #21547 )
2021-05-25 10:31:50 -07:00
William Baker
19b0470ed7
feat: integrated sqlite db for metadata ( #21543 )
2021-05-25 12:12:07 -04:00
Daniel Moran
0099897c35
chore: add missed lines to CHANGELOG ( #21550 )
2021-05-25 09:57:35 -04:00
Timmy Luong
3f3670fa1c
feat: remove ui feature flags for permanent features ( #21531 )
2021-05-21 16:40:35 -07:00
William Baker
fee3c46023
fix: add telemetry slug for additional file exts ( #21522 )
...
* fix: add telemetry slug for more exts
* chore: update CHANGELOG
2021-05-20 08:58:18 -04:00
davidby-influx
5ef6b837b0
chore: remove erroneous dependency on istio ( #21486 )
...
Use same logging functions as the rest of the points code.
2021-05-17 12:06:06 -07:00
Daniel Moran
fc3beb7d0a
fix: last-modified of empty shard directory shouldn't be Unix epoch. ( #21481 )
...
Co-authored-by: davidby-influx <72418212+davidby-influx@users.noreply.github.com>
2021-05-17 13:36:36 -04:00
Daniel Moran
6bdcbaa141
fix(cmd/influx): accept `--input` flag in `restore` command ( #21477 )
...
* 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
Jakub Bednář
4becb6d01a
feat(users): list users via the API now supports `offset`, `limit` or `after` parameter ( #21367 )
2021-05-12 14:09:52 +02:00
Daniel Moran
4343d5ce07
fix: add logging to NATS streaming server ( #21375 )
2021-05-05 14:25:39 -04:00
William Baker
912ece0d2d
fix: add limits to delete api start and stop times ( #21369 )
...
* fix: add limits to delete api start and stop times
* chore: update CHANGELOG
* fix: use min and max time limits from models package
2021-05-05 11:01:32 -04:00
Timmy Luong
b66079f084
feat: update Static Legend properties to allow hiding without nulling ( #21364 )
2021-05-04 11:17:37 -07:00
Sam Arnold
8124973e0f
fix: disable MergeFiltersRule until it is more stable ( #21356 )
...
Add a test to make sure this stays fixed.
2021-05-03 14:25:44 -04:00
Daniel Moran
e28377f05c
fix: deprecate PostSetupUser and `influx setup user` ( #21345 )
2021-04-30 15:30:35 -04:00
Daniel Moran
c9a4bd436f
chore: update CHANGELOG to match 2.0.6 ( #21338 )
2021-04-30 11:46:32 -04:00
Daniel Moran
942f7095e7
fix(query): make config validation for query controller less strict ( #21324 )
...
* 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 ( #21321 )
...
* test: refactor upgrade test to cover the config upgrade
* fix: ensure upgraded query config is valid
2021-04-28 15:41:44 -04:00
Daniel Moran
32f24e33e8
chore: update CHANGELOG to match 2.0.5 ( #21317 )
2021-04-28 10:32:01 -04:00
Timmy Luong
0c88854486
feat: add StaticLegend ( #21218 )
2021-04-15 15:06:01 -07:00
William Baker
1d431e8bc3
feat: structured logging for HTTP server ErrorLog ( #21235 )
...
* feat: structured logging for HTTP server ErrorLog
* chore: update CHANGELOG
2021-04-15 17:08:12 -04:00
Daniel Moran
7b1763e791
fix(tsdb): minimize lock contention when adding new fields or measurements ( #21228 )
...
fields.idx frequent writes cause lock contention and fields.idx is recreated
when a field or measurement is added in a WritePointsWithContext()
This eliminates locking during the actual file rewrite, and limits it to
the times when the MeasurementFieldSet is actually being read or written
in memory and when the new file is being renamed.
Test verification of correct behavior by checking the fields.idx
file matches the in-memory copy after heavily parallel measurement addition.
Co-authored-by: davidby-influx <72418212+davidby-influx@users.noreply.github.com>
2021-04-15 14:08:28 -04:00
William Baker
540bb66e13
feat(telemetry): replace unique ids for resources with a slug ( #21158 )
...
* feat(telemetry): replace unique ids for resources with a slug
* chore: update CHANGELOG
2021-04-08 09:57:47 -04:00
Daniel Moran
ff6b55aca4
feat(flux): allow values of 0 to disable controller limits ( #21127 )
...
Co-authored-by: Sam Arnold <sarnold@influxdata.com>
2021-04-05 16:58:27 -04:00
Daniel Moran
61d1ee45b3
build: add windows to cross-build ( #21109 )
2021-03-31 18:52:20 -04:00
William Baker
4237dda205
feat: synchronize ui folder with ui repository ( #21090 )
...
* feat: synchronize ui folder with ui repository
* docs: updated README in /ui to reflect new UI asset build process
* chore: update CHANGELOG
* chore: re-worded CHANGELOG message and added trailing newline to fetch_ui_assets.sh script
* fix: leveraged queryBuilder test code from ui repo to fix flaky queryBuilder test on chrome
* docs: added comments to fetch_ui_assets script explaining where the assets come from
* chore: empty commit to trigger CI
2021-03-31 10:55:49 -04:00
Russ Savage
1b7d5f3156
feat: add profiler to query command in cli ( #21006 )
2021-03-23 15:47:52 -04:00
Daniel Moran
4ef09e1ccb
feat(cmd/inflxud): add support for writing to stdout in `export-lp` ( #21046 )
2021-03-23 14:59:16 -04:00
Daniel Moran
85c1bb8cd6
chore: update CHANGELOG ( #21047 )
2021-03-23 14:46:58 -04:00
Russ Savage
f377b51250
feat: adding task ids to the ui ( #20894 )
2021-03-22 15:33:40 -04:00
Russ Savage
49a72fce07
fix: escape regex meta characters in user input ( #20925 )
2021-03-22 14:44:16 -04:00
Russ Savage
080341b865
feat: updating telegraf plugins for latest release ( #20861 )
2021-03-22 14:10:48 -04:00
Daniel Moran
c5edd9092f
feat(http): add config parameters for HTTP timeouts ( #20971 )
2021-03-16 16:54:46 -04:00
Daniel Moran
9922863185
fix(tls): Update TLS strict cipher suite to actually work ( #20921 )
2021-03-16 10:45:27 -04:00
Daniel Moran
316eaa24b4
feat(http): add config option to disable metrics endpoint in influxd ( #20963 )
2021-03-15 15:11:23 -04:00
J. Emrys Landivar
5df737cbc7
fix(cmd/influx): log error details when `influxd upgrade` fails to migrate databases ( #20929 )
...
Co-authored-by: Dan Moran <dmoran@influxdata.com>
2021-03-15 14:32:50 -04:00
Timmy Luong
feb61b774d
fix: prevent time field names from being formatted ( #20932 )
2021-03-15 11:02:22 -07:00
Tecker.Yu
643acd4ab1
feat(influxql): rewrite regex conditions in subqueries ( #20882 )
...
Co-authored-by: Daniel Moran <danxmoran@gmail.com>
2021-03-15 13:04:38 -04:00
Daniel Moran
ba4099ddb9
feat(cmd/influx): allow setting shard-group durations for buckets via API and CLI ( #20911 )
...
Co-authored-by: Alexander Savinykh <asavinykh@nbrx.de>
2021-03-11 14:51:03 -05:00
Daniel Moran
b6842d676e
fix(cmd/influx): delete unsupported `influx transpile` command ( #20913 )
2021-03-11 14:28:58 -05:00
Daniel Moran
e86ee475b2
fix: make AST-based option parsing the default, remove feature flag ( #20875 )
2021-03-08 09:51:21 -05:00
Timmy Luong
b775e1c51f
fix(ui): respect 24 hour clock format and allow more choices ( #20856 )
2021-03-04 17:11:53 -08:00