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
Daniel Moran
25738db42c
feat(http): allow for disabling pprof ( #20827 )
...
And translate pprof-enabled config during upgrade
2021-03-04 09:28:03 -05:00
Yun Zhao
265c1f311e
fix(tsm1): fix wal's totalOldDiskSize statistics ( #20811 )
2021-03-03 15:20:24 -05:00
Jincheng Sun
12b1dc6c2c
fix(ui): correct the default port used in UI examples ( #20809 )
2021-03-02 11:59:10 -05:00
Bucky Schwarz
9bda089627
fix: single stats with thresholds won't crash with negative values
2021-03-02 08:01:26 -08:00
Daniel Moran
d4a0c34c39
fix(onboarding): deprecate misleading `retentionPeriodHrs` key ( #20798 )
2021-03-01 09:55:39 -05:00
Daniel Moran
3abd65a1a1
fix(tsm1): fix data race and validation in cache ring ( #20797 )
...
Co-authored-by: Yun Zhao <zhaoyun2316@gmail.com>
2021-02-24 16:28:30 -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
efd766d60f
fix(tsm1): fix data race when accessing tombstone stats ( #20773 )
2021-02-18 20:23:57 -05:00
Timmy Luong
084abc3040
chore: update CHANGELOG
2021-02-17 10:48:22 -08: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
Tristan Su
1a00f2f123
fix(tsm): should not check write-ahead-log size against default size ( #20585 )
...
it should check against the local saved SegmentSize instead of the
default const DefaultSegmentSize.
2021-02-10 10:32:53 -05:00
Tristan Su
c9965e56ca
fix(tsi): close series id iterator after merging ( #19936 )
...
This use-after-free bug may lead to segfault. The iterators that have
reference to the underlying index files were closed too early while
the bitmaps were still used afterwards. If a compaction occurs
concurrently and removes the index files, it would result in accessing
unmap'd memory address.
2021-02-10 10:13:07 -05:00
Jakub Bednář
262cdbaec2
feat(clientLibs): add Swift library to UI ( #20621 )
...
Signed-off-by: Jakub Bednar <jakub.bednar@gmail.com>
Co-authored-by: Russ Savage <russ@influxdata.com>
2021-02-09 14:58:13 -05:00
Pavel Zavora
7fadc6cd81
chore: update changelog
2021-02-09 16:58:17 +01:00
Daniel Moran
9a0339f397
chore: update CHANGELOG to reflect final status of 2.0.4 ( #20717 )
2021-02-08 17:28:27 -05:00
Daniel Moran
1ad8f8d23d
fix(kit/cli): fix loading config from directories with '.' in the name ( #20702 )
2021-02-05 10:56:12 -05:00
Daniel Moran
b01db56738
build: update naming conventions for nightly builds to prefer hyphens ( #20699 )
2021-02-05 10:04:24 -05:00
Daniel Moran
2920b55e19
fix(http): fix passing of bucket ID by write-handler client ( #20679 )
2021-02-02 17:34:40 -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
Daniel Moran
5ce5814382
chore: update CHANGELOG ( #20670 )
2021-02-02 10:59:55 -05:00
Russ Savage
7f65b71657
feat(ui): update data sources page with latest telegraf plugins ( #20604 )
...
Co-authored-by: Dan Moran <dmoran@influxdata.com>
2021-01-26 15:44:47 -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
Daniel Moran
10fcc2bf1d
fix(influxql): set correct Content-Type on v1 query responses ( #20565 )
2021-01-22 07:31:52 -08: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
1d3fa70928
fix(influxql): Prevent extra output row from GROUP BY crossing DST boundary ( #20539 )
...
Co-authored-by: davidby-influx <dbyrne@influxdata.com>
2021-01-19 08:33:24 -08:00
Daniel Moran
743aef4a98
fix(tsdb): allow backups during snapshotting, and don't leak tmp files ( #20527 )
...
Co-authored-by: davidby-influx <dbyrne@influxdata.com>
2021-01-18 19:02:26 -08:00
Daniel Moran
4239d037d6
fix(kit/cli): fix loading of .yml config files ( #20522 )
2021-01-15 17:04:20 -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
Palak Bhojani
a08ab7d41f
chore: Update changelog to include geo widget changes
2021-01-13 11:24:51 -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
1fa321d85c
fix: inject more specific error message for bolt on shared FS ( #20489 )
2021-01-11 13:08:47 -08:00
Daniel Moran
c708eea118
fix(dbrp): improve DBRP API validation errors ( #20409 )
2021-01-07 09:08:06 -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
52692ba7d4
build: extend goreleaser to produce multi-arch docker builds ( #20449 )
2021-01-06 16:33:44 -08:00
Daniel Moran
1494840fb9
fix(http): don't return 500 errors for partial writes ( #20442 )
2021-01-05 07:06:25 -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
1b48c32b43
fix: don't duplicate text in task errors ( #20380 )
2020-12-21 10:21:26 -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
c99eaee5ec
fix: ensure init.d-style install sees our default environment variables ( #20349 )
2020-12-15 18:15:00 -08:00
Daniel Moran
a16f2a0dee
fix: adjust post-install logic to only display upgrade notice when needed ( #20348 )
2020-12-15 15:12:23 -08:00
Daniel Moran
37ffc4bde9
fix: add upgrade helper script to nfpms manifest ( #20339 )
2020-12-15 13:09:05 -08:00
Daniel Moran
08009d1d3e
chore: update CHANGELOG to reflect final diff from 2.0.3 ( #20331 )
2020-12-14 16:33:51 -08:00
Phillip Steinbachs
be1e7a429b
fix: Improve v2 packaging
2020-12-14 14:41:48 -08:00
Phillip Steinbachs
f896a49ec5
fix: Improve v2 packaging
2020-12-14 14:41:48 -08:00
Daniel Moran
ccbaf4e883
build: add ARM64 support to release ( #20260 )
...
* Create Dockerfile for running build & release in CI
* Update CircleCI config to use new Docker image
* Update goreleaser to add a linux ARM64 release
2020-12-10 13:03:45 -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
1329a22099
chore: update CHANGELOG ( #20219 )
2020-12-01 12:53:20 -05:00