Commit Graph

2279 Commits (1.8)

Author SHA1 Message Date
Cody Shepherd 94ab39b839
build: add daily job to automate changelog generation (#22625) 2021-10-12 09:29:26 -07:00
Cody Shepherd 688e697c51
chore: update changelog for v1.8.10 release (#22648) 2021-10-11 08:01:24 -07:00
Cody Shepherd e490a6fdef
chore: update changelog (#22555) 2021-09-22 14:24:14 -07:00
Cody Shepherd dfd2f9934a
fix: influxdb packages should depend on curl (#22253)
* fix: influxdb packages should depend on curl bc of use in systemd script

* chore: update changelog
2021-09-01 07:29:08 -07:00
Cody Shepherd 115e24083d
fix: systemd service -- handle 40x and block indefinitely (#22076)
* chore: update pkg_run_test to test auth-enabled

* fix: fixes to systemd startup script

* accept 40x responses as evidence that API is up and running
* block indefinitely while waiting for API

* chore: update changelog

* chore: move pkg_run tests into discrete bash scripts; avoid swallowing errors
2021-08-10 13:09:35 -07:00
Cody Shepherd d9b56321d5
chore: update changelog for v1.8.9 release (#22057) 2021-08-04 14:14:38 -07:00
Cody Shepherd 7e0e2465e3
fix: error instead of panic when enterprise tries to restore with OSS (#22039)
* fix: error instead of panic when enterprise tries to restore with OSS (#22019)

* chore: update changelog

Co-authored-by: Sam Arnold <sarnold@influxdata.com>
2021-08-03 13:39:46 -07:00
Cody Shepherd e9866c1b94
chore: update changelog for v1.8.8 release (#22021) 2021-08-03 12:56:36 -07:00
Cody Shepherd b0b7af7f3f
fix: handle https in systemd wrapper, and prevent it from looping forever (#22026)
* fix: handle https in systemd wrapper, and prevent it from looping forever

* chore: update pkg install test to check https

* chore: update changelog
2021-08-03 11:52:14 -07:00
Cody Shepherd df8d3d32c3
fix: systemd-start script should be executable by group and others (#21987)
* chore: add test to install and run deb package

* fix: systemd start script should be executable for group and others

* chore: update changelog
2021-08-03 08:21:35 -07:00
Sam Arnold 16fbef3ffd
fix: restore portable backup bug (#21991)
* fix: read exact length data when restore meta

* test: cover updating meta

* test: replace metaclient's data with pointer

* docs: update change log

* test: remove extra code

* chore: fix changelog

Co-authored-by: ricky <rickif@qq.com>
2021-07-30 14:18:33 -04:00
Daniel Moran 33d6e6fe5e
fix: prevent silently dropped writes with overlapping shards (#21953)
Co-authored-by: Geoffrey Wossum <gwossum@influxdata.com>
2021-07-27 20:37:35 -04:00
Cody Shepherd 4b59eadb28
chore: changelog update for v1.8.7 release (#21906) 2021-07-21 11:51:01 -07:00
Sam Arnold 51600c8300
chore: update protobuf library versions and remove influx_tsm (#21882) (#21891)
* chore: update protobuf library versions and remove influx_tsm (#21882)

* chore: update protobufs

* fix: run codegen during build

* fix: fully remove influx_tsm

* fix: codegen works

* fix: add tools.go for 1.8
2021-07-20 15:16:19 -04:00
Cody Shepherd 4f30e2029c
fix: systemd unit should block on startup until http endpoint is ready (#21865)
* fix: systemd unit should block on startup until http endpoint is ready

* chore: update changelog
2021-07-20 11:18:12 -07:00
Cody Shepherd e7cdaecd02
fix: convert arm arch names for rpms during builds via docker (#21775)
* fix: convert arm arch names for rpms during builds via docker

* chore: update changelog
2021-07-02 08:23:38 -07:00
Cody Shepherd 600b39abb4
fix: rename arm rpms with yum-compatible names (#21749) 2021-06-29 08:02:25 -07:00
Cody Shepherd 3631a486d9
chore: Update changelog for 1.8.6 release (#21527) 2021-05-20 12:05:09 -07:00
Sam Arnold a7c879409d
fix: FGA enablement (#21518)
Closes #21515
2021-05-19 17:05:07 -04:00
davidby-influx bf45841359
chore(ae): add more logging (#21381)
tsdb.Engine.IsIdle and tsdb.Engine.Digest now return a reason string for why the engine & shard are not idle.
Callers can then use this string for logging, if desired. The returned reason does not allocate memory, so the
caller may want to add the shard ID and path for more information in the log. This is intended to be used in
calls from the anti-entropy service in Enterprise.
2021-05-07 12:55:58 -07:00
davidby-influx e234aa7ff0
fix: Anti-Entropy loops endlessly with empty shard (#21275) (#21290)
The anti-entropy service will loop trying to copy an empty shard to a
data node missing that shard.  This fix is one of two changes that
correctly create an empty shard on a new node. This fix will set the
LastModified date of an empty shard directory to the modification time
of that directory, instead of to the Unix epoch.

Fixes: https://github.com/influxdata/influxdb/issues/21273
(cherry picked from commit 7f300dc248)
2021-04-26 10:13:49 -07:00
Cody Shepherd 3d16c6318c
chore: Update Changelog for v1.8.5 release (#21254) 2021-04-19 14:13:03 -07:00
Sam Arnold ad06a9cda4
fix: fix help test for influx_inspect (#21052) (#21053)
Closes #21007

(cherry picked from commit db38959b7a)
2021-03-23 19:54:52 -04:00
davidby-influx 75612264e7
feat: Log query text for POST requests (#20993) (#21021)
The HTTP handler logs URLs, but not body values for POST requests.
This means that queries sent by GET are logged, because the query
is in the URL, but queries sent by POST have no query text in the
log.  This feature prints all the key-value pairs in the post body,
which includes the query text, except passwords, which are redacted.

Closes https://github.com/influxdata/influxdb/issues/20653

(cherry picked from commit 70755bf42c)

Closes https://github.com/influxdata/influxdb/issues/21000
2021-03-22 20:28:38 -07:00
davidby-influx 67e2fcb6a8
feat: influx_inspect export to standard out (#20977) (#20989)
Add a special value to the -out flag, a hyphen, to write to stdout.
While writing to stdout, send status messages to stderr instead of
stdout (the current behavior).

Closes https://github.com/influxdata/influxdb/issues/20974

(cherry picked from commit 642726e898)

Closes https://github.com/influxdata/influxdb/issues/20976
2021-03-17 10:49:03 -07:00
Sam Arnold e95a6a4a4b
feat(inspect): Add report-disk for disk usage by measurement (#20917)
* feat(inspect): Add report-disk for disk usage by measurement

(cherry picked from commit a6152e8ac1)

* fix(inspect): bad pattern matching

(cherry picked from commit 3a31e2370e)

* chore: fix goimports

* chore: update changelog
2021-03-11 14:25:55 -05:00
davidby-influx 8a31b0ebdc
fix: infinite recursion bug (#20862) (#20914)
* fix: infinite recursion bug (#20862)

* Revert "fix(error): unsupported value: +Inf" error not handled gracefully (#20250)"

This reverts commit 6ac0bb3fe3.

* fix: No infinite recursion on write error

If there is some error writing to the response writer, we
would previous have infinite recursion.

Re-closes https://github.com/influxdata/influxdb/issues/20249

(cherry picked from commit d6f7716924)

* chore: update CHANGELOG.md

Co-authored-by: Sam Arnold <sarnold@influxdata.com>
2021-03-10 09:19:49 -08:00
davidby-influx 283ea0e1ec
fix(tsdb): minimize lock contention when adding new fields or measure (#20912)
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.

Fixes https://github.com/influxdata/influxdb/issues/20500

(cherry picked from commit fe3af66c54)
2021-03-09 16:10:08 -08:00
Daniel Moran 55fefdd2e4
fix(tsm1): fix data race when accessing tombstone stats (#20909) 2021-03-09 18:07:18 -05:00
Hercules Mango Churchill f0edf1d9f6 Update changelog 2021-03-09 22:41:08 +00:00
davidby-influx 9c6e401372
feat: Make meta queries respect QueryTimeout values (#20910)
Meta queries (SHOW TAG VALUES, SHOW TAG KEYS, SHOW SERIES CARDINALITY, etc.) do not respect
the QueryTimeout config parameter. Meta queries should check the query context when possible
to allow cancellation and timeout. This will not be as frequent as regular queries, which
use iterators, because meta queries return data in batches.

Add a context.Context to
(*Store).MeasurementNames()
(*Store).MeasurementsCardinality()
(*Store).SeriesCardinality()
(*Store).TagValues()
(*Store).TagKeys()
(*Store).SeriesSketches()
(*Store).MeasurementsSketches()
which is tested for timeout or cancellation
to allow limitation of time spent in meta queries

https://github.com/influxdata/influxdb/issues/20736
(cherry picked from commit 092c7a9976)

* chore: move context.Context to first argument in methods per convention

(cherry picked from commit a8b2129df5)
2021-03-09 14:40:50 -08:00
davidby-influx b2cb862484
fix(error): SELECT INTO doesn't return error with unsupported value (#20429) (#20432)
* fix(error): SELECT INTO doesn't return error with unsupported value (#20429)

When a SELECT INTO query generates an illegal value that cannot be inserted,
like +/- Inf, it should return an error, rather than failing silently.
This adds a boolean parameter to the [data] section of influxdb.conf:
* strict-error-handling
When false, the default, the old behavior is preserved.  When true,
unsupported values will return an error from SELECT INTO queries

Fixes https://github.com/influxdata/influxdb/issues/20426

(cherry picked from commit 9e33be2619)

Fixes https://github.com/influxdata/influxdb/issues/20427
2020-12-30 19:18:58 -08:00
davidby-influx 35ae464ddd
chore: update CHANGELOG.md for typo and community PR (#20389) 2020-12-18 14:56:32 -08:00
davidby-influx 8ecf0d2a36
fix: cp.Mux.Serve() closes all net.Listener instances silently on error (#20295)
* fix: cp.Mux.Serve() closes all net.Listener instances silently on error. (#20278)

A customer has seen a rash of "connection refused" errors to the meta node.
This fix ensures that when net.Listener instances are closed because of an
error in Accept(), influxdb logs the error which caused the closures, as well
as any errors in closing the Listeners.

Fixes https://github.com/influxdata/influxdb/issues/20256

(cherry picked from commit 5b98166b05)+
2020-12-09 11:21:29 -08:00
Hercules Mango Churchill 7a58271d29 Update changelog 2020-12-08 23:14:08 +00:00
Gershon Shif 2e9fcaf6e5
chore: fix CHANGELOG formating (#20286) 2020-12-08 15:13:48 -08:00
Hercules Mango Churchill a4e1dd6f14 Update changelog 2020-12-08 00:35:19 +00:00
davidby-influx 5a84f77c34
fix(query): Group By queries with offset that crosses a DST boundary can fail (#20277)
Customer reported that a GROUP BY query with an offset that caused an interval
to cross a daylight savings change inserted an extra output row off by one hour.
This fix ensured that the start time for the interval of a GROUP BY operator is
correctly set before calculating the time zone offset for that date and time.

Add TestGroupByIterator_DST() in query/iterator_test.go
for regression testing of this bug.

Fixes https://github.com/influxdata/influxdb/issues/20238

(cherry picked from commit df39b1e71c)

Fixes https://github.com/influxdata/influxdb/issues/20252
2020-12-07 16:34:55 -08:00
Hercules Mango Churchill 5b3668db0f Update changelog 2020-12-07 21:55:37 +00:00
davidby-influx 0212d3c6db
fix(error): unsupported value: +Inf" error not handled gracefully (#20276)
* fix(error): unsupported value: +Inf" error not handled gracefully

JSON marshalling errors should be returned properly formatted in JSON
like other errors. This fix formats marshalling errors the same way
influxdb formats other query errors.

Fixes https://github.com/influxdata/influxdb/issues/20249

(cherry picked from commit 2407077576)

* chore(changelog): update CHANGELOG.md for PR #20276
2020-12-07 13:55:13 -08:00
Hercules Mango Churchill 61cd56f184 Update changelog 2020-11-30 19:04:32 +00:00
Yun Zhao a3a07fb2d1
feat: Optimize shard lookups in groups containing only one shard (#20118) 2020-11-30 14:04:11 -05:00
Hercules Mango Churchill b95fbde094 Update changelog 2020-11-20 23:13:30 +00:00
davidby-influx bf6992af07 chore: update CHANGELOG.md correctly 2020-11-20 09:06:28 -08:00
davidby-influx 6125bfa44a chore: update CHANGELOG.md 2020-11-19 08:41:51 -08:00
Hercules Mango Churchill 729a8801f5 Update changelog 2020-10-13 18:00:02 +00:00
Christopher M. Wolff 25fb1077e2
fix(flux): add durations to Flux logging (#19697) 2020-10-13 10:59:39 -07:00
Gershon Shif 563e6c3d1a
chore: update CHANGELOG for 1.8.3GA (#19670) 2020-09-30 11:15:37 -07:00
Gershon Shif 6a1299e8c6
chore: update CHANGELOG (#19329) 2020-08-13 16:55:23 -07:00
Hercules Mango Churchill af0237819a Update changelog 2020-07-08 23:37:34 +00:00