Commit Graph

14730 Commits (1.9)

Author SHA1 Message Date
Brandon Pfeifer 73fcd81283
chore: remove circleci config and associated scripts (#25071) 2024-06-18 12:54:03 -04:00
Brandon Pfeifer 74c117650b
chore: upload artifacts to another bucket (#24489) 2023-11-27 17:21:37 -05:00
Brandon Pfeifer f738f0d859
chore: upgrade golang 1.19.10 -> 1.20.10 (#24409) 2023-10-12 12:45:47 -04:00
Ivan Kudibal 2aee15ed53
chore: upgrade to Go 1.19.10 - 1.9 (#24296)
* chore: upgrade to Go 1.19.10

* chore: shorten the SHA down to 40 chars

* chore: fix sha
2023-06-20 10:04:36 -05:00
Brandon Pfeifer 98ff730c33
chore: generate "influxdb.${CIRCLE_TAG}.digests" for each release (#24273) 2023-06-08 06:21:56 -04:00
Brandon Pfeifer a9c94b1a2a
chore: use remote package signing (#24208) 2023-04-18 22:22:45 -04:00
Jamie Strandboge 0707109b4f
chore: upgrade to Go 1.19.8 (#24201) 2023-04-12 15:57:01 -05:00
Jeffrey Smith II d21a38370e
chore: update to go 1.19.6 (#24118)
* chore: update to go 1.19.6

* chore: gofmt

* test: fix tests for sort order change

* chore: generate pb
2023-03-03 09:47:22 -05:00
Jamie Strandboge 482d537cbf
chore: update Go to 1.18.9 (#23968) 2022-12-07 15:33:17 -06:00
Brandon Pfeifer 81aef2d263
chore: upgrade to Go 1.18.7 (1.9) (#23747)
* build: upgrade to go1.18 (#23250)

* chore: upgrade to Go 1.18.6

* fix: remove unused directory

* chore: upgrade to Go 1.18.7

Co-authored-by: Dane Strandboge <dstrandboge@influxdata.com>
2022-10-19 12:49:57 -04:00
Brandon Pfeifer 0d0afa0864
chore: add protoc-gen script to releng (#23695) 2022-08-31 16:42:41 -04:00
Brandon Pfeifer a3c5100b05
feat: enable static-pie builds (1.9) (#23641)
* feat: enable static pie builds

* fix: update cross-builder to fix 'rdynamic'
2022-08-19 12:34:49 -04:00
Brandon Pfeifer f1af8a8f96
chore: use 1.x signing key (#23610) 2022-08-10 13:37:54 -04:00
Brandon Pfeifer 627e4dbeb2
feat: upgrade musl to 1.2.3 (#23602) 2022-08-02 12:10:03 -04:00
Brandon Pfeifer 395f08cab5
chore: upgrade cross-builder for parity (#23583) 2022-07-22 14:33:32 -04:00
Brandon Pfeifer 5183a415a7
build: upgrade to Go 1.17.12 (#23569) 2022-07-20 12:19:04 -04:00
Brandon Pfeifer 46375c94cf
chore: Publish Packages and CHANGELOG.md to S3 (1.9) (#23547)
* chore: split workflow into "release" and "snapshot"

* feat: sign release packages

* feat: publish changelog to S3

* feat: publish packages to S3
2022-07-14 14:57:34 -04:00
Brandon Pfeifer 3fc87a4638
feat: use new changelogger (#23510)
This also regenerates CHANGELOG_frozen.md (from version 1.8.0 - 1.9.7)
so that it is compatible with the new changelogger.
2022-07-01 12:37:32 -04:00
Geoffrey Wossum 7afeb3c313
fix: eliminate race condition on Monitor.globalTags (#23469)
closes #23468

(cherry picked from commit dd356e0bcc)
2022-06-16 19:03:09 -05:00
davidby-influx 1c5b711e36
fix: lost TSI reference / close TagValueSeriesIDIterator in error case (#23461) (#23464)
(cherry picked from commit 8bd4fc502d)

closes https://github.com/influxdata/influxdb/issues/23460

Co-authored-by: Dane Strandboge <dstrandboge@influxdata.com>
2022-06-16 12:06:12 -07:00
Dane Strandboge 6ecfacfc94
build: upgrade to Go 1.17.11 (#23409) 2022-06-07 13:09:16 -05:00
davidby-influx d42182cd47
fix: replace unprintable and invalid characters in errors (#23387) (#23394)
Replace unprintable and invalid characters with '?'
in logged errors.  Truncate consecutive runs of them to
only 3 repeats of '?'

closes https://github.com/influxdata/influxdb/issues/23386

(cherry picked from commit 0ae0bd6e2e)

closes https://github.com/influxdata/influxdb/issues/23391
2022-06-01 14:17:14 -07:00
Jamie Strandboge 7bb774ad3c
chore: update yaml.v3 to 3.0.1 (#23393) 2022-06-01 13:36:30 -05:00
Geoffrey Wossum 0164e8a6bd
fix: MeasurementsCardinality should not be less than 0 (#23289)
* fix: MeasurementsCardinality should not be less than 0 (#23286)

Clamp the value of Store.MeasurementsCardinality so that it can not be less
than 0. This primarily shows up as a negative `numMeasurements` value in
/debug/vars under some circumstances.

refs #23285

(cherry picked from commit 160cf678d5)
2022-05-18 14:27:54 -05:00
J. Emrys Landivar f49c5ec880
fix(flux): inject sane defaults dependency for flux (#23309)
This is to prevent an error and also to remove the size limit for
queries.
2022-04-27 15:09:21 -05:00
Geoffrey Wossum 39faef2b6d
fix(restore): fix race condition which causes restore command to fail (#22796) (#23290)
* fix(restore): fix race condition which causes restore command to fail

Fixes a race condition in the restore code path that causes shard data restores
to fail. When the bug occurs, `Error while freeing cold shard resources`
appears in the log files.

fixes issue #15323

(cherry picked from commit 91609fdd3f)
2022-04-21 21:54:26 -05:00
Dane Strandboge 715975d6d0
build: upgrade Go to 1.17.9 (#23274)
- Go upgrade from 1.17.2 -> 1.17.9
- Rust upgrade from 1.53 -> 1.58.1
2022-04-13 14:46:45 -05:00
Brandon Pfeifer 47f209fa5b
chore: update flux to latest version (#23249)
* chore: update flux to latest version

* fix: backport "convert allocator to interface"

* fix: construct `span` during dependency injection
2022-04-01 14:19:34 -04:00
davidby-influx 107807ceb5
fix: return underlying error creating a subscription (#23217) (#23221)
When creating a subscription, return the wrapped error
on failure

closes https://github.com/influxdata/influxdb/issues/23216

(cherry picked from commit c3a958cb5f)

closes https://github.com/influxdata/influxdb/issues/23220
2022-03-22 13:39:18 -07:00
Sam Arnold 33e48e96ac
chore: upgrade flux to v0.159.0 (#23192) (#23199)
* chore: upgrade flux to v0.159.0

* chore: skip flux database connection tests

(cherry picked from commit ba1c573115)
2022-03-18 10:38:22 -04:00
davidby-influx 72989c5a78
fix: add database to MaxSeriesPerDatabase error message (#23113) (#23115)
To simplify debugging, print the database name when the
max-series-per-database limit is exceeded in InMem indices.

closes https://github.com/influxdata/influxdb/issues/23112

(cherry picked from commit 7d182158f4)

closes https://github.com/influxdata/influxdb/issues/23114
2022-02-08 12:09:03 -08:00
davidby-influx f04ccfd2ea
fix: add additional testing for MaxSeriesPerDatabase (#23094) (#23095)
Added test to ensure new code path taken for inmem index

(cherry picked from commit f27df39c03)
2022-02-02 13:58:08 -08:00
davidby-influx 85580fa8c1
fix: correctly handle MaxSeriesPerDatabaseExceeded (#23091) (#23093)
Check for the correctly returned PartialWriteError
in (*shard).validateSeriesAndFields, allow partial
writes.

closes https://github.com/influxdata/influxdb/issues/23090

(cherry picked from commit 0c3dca883e)

closes https://github.com/influxdata/influxdb/issues/23092
2022-02-01 21:51:26 -08:00
Brandon Pfeifer d7f910cbda
build: enable version 1.x builds in circleci (#23087)
* wip: oss build first try

* build: remove unused release-engineering files

* build: update alpine and fpm versions

* build: remove static package builds

* fix: allow for ubuntu and centos package builds

* fix(build): supply INFLUXDB_VERSION to go and package buildsystems

rebaseme

* build: test debian and rpm packages

Co-authored-by: Sam Arnold <sarnold@influxdata.com>
2022-01-31 16:26:32 -05:00
pierwill 7b9b4e885f
fix: Fix typo in sample config (#23066)
See https://github.com/influxdata/plutonium/issues/3765
2022-01-19 13:33:32 -06:00
davidby-influx a9e321cdf9
feat: configurable DELETE concurrency (#23055) (#23059)
Currently, deletion of series or measurements are
serialized. This new feature will add
max-concurrent-deletes to the [data] section of the
 configuration file. Legal values are any positive
 number, defaulting to 1, the current behavior.

 closes https://github.com/influxdata/influxdb/issues/23054

(cherry picked from commit eb3bc7069f)

closes https://github.com/influxdata/influxdb/issues/23056
2022-01-13 11:30:11 -08:00
Sam Arnold 30d6aec839
fix: allow limiting shards during flux iterator reads (#23052) (#23053)
(cherry picked from commit 3ce6cb45aa)
2022-01-12 19:43:30 -05:00
J. Emrys Landivar 367b0c2a2d
build: bigger stack for musl builds (#23044) 2022-01-07 12:32:55 -06:00
Dane Strandboge 0541db5b72
chore: upgrade Flux, restore `rules_test.go` (#22948)
* chore: upgrade Flux, restore `rules_test.go` (#22931)

Upgrade Flux to v0.140.0
2021-11-30 14:46:41 -06:00
davidby-influx 547dc3f217
chore: upgrade Go to 1.17 (#22947)
* chore: upgrade Go to 1.17

* fix: update circleci container to go1.17

* fix: correct unsafe conversion of []byte to string

Co-authored-by: Sam Arnold <sarnold@influxdata.com>
(cherry picked from commit 08a4a710eb)

* chore: format for Go 1.17
2021-11-30 11:59:19 -08:00
davidby-influx d899617bda
fix: log at Debug level in influx_tools compact-shard (#22848) (#22849)
Closes https://github.com/influxdata/influxdb/issues/22846

(cherry picked from commit 3f7192ab3c)

closes https://github.com/influxdata/influxdb/issues/22847
2021-11-08 17:09:02 -08:00
davidby-influx 2b1074539c
fix: detect misquoted tag values and return an error (#22754) (#22781)
SHOW TAG KEYS FROM "foo" where bar="misquoted" is
erroneous, because the tag value must be enclosed
in single, not double, quotes. Although this
correctly returns no tag keys, it is very
inefficient and has cause out-of-memory failures
at a customer. This fix short-circuits the query.

closes https://github.com/influxdata/influxdb/issues/22755

(cherry picked from commit af9e89a4d4)

closes https://github.com/influxdata/influxdb/issues/22756
2021-10-27 11:47:37 -07:00
Sam Arnold 2a7cf82943
chore: auto-generate changelog (#22769)
* chore: changelog automation (#22758)

(cherry picked from commit 0c0c8de001)

* chore: temporarily enable changelog on merge to master-1.x (#22759)

* chore: temporarily enable changelog on merge to master-1.x

* fix: changelog generation improvement

(cherry picked from commit 19f7fccebe)

* chore: fix frozen changelog path (#22760)

(cherry picked from commit 5f07c101ba)

* chore: usage newer container for changelogger (#22761)

(cherry picked from commit d9bf99d493)

* chore: changelog location for 1.9 branch

* chore: finalize changelog automation (#22770)

(cherry picked from commit 312a3a7a69)
2021-10-27 11:13:33 -04:00
Dane Strandboge b6fcbbb835
chore: restore "fix(tsdb): sync series segment to disk after writing (#22565)" (#22731) 2021-10-21 15:59:34 -05:00
davidby-influx effd948c1e
fix: extend snapshot copy to filesystems that cannot link (#22703) (#22730)
If os.Link fails with syscall.ENOTSUP, then the file
system does not support links, and we must make copies
to snapshot files for backup. We also automatically make
copies instead of link on Windows, because although it
makes links, their semantics are different from Linux.

closes https://github.com/influxdata/influxdb/issues/16739

(cherry picked from commit d9b9e86db9)

closes https://github.com/influxdata/influxdb/issues/22700
2021-10-21 13:51:38 -07:00
Dane Strandboge 159776d081
chore: upgrade `influx_tools` to new protobuf library (#22727) 2021-10-21 14:18:14 -05:00
Dane Strandboge 834632d3ca
chore: increase timeout timers for `TestMonitor` tests (#22726) 2021-10-21 14:08:53 -05:00
Dane Strandboge 68e2455805
chore: fix deadlock in `influx_inspect dumptsi` (#22714) 2021-10-20 13:08:34 -05:00
Sam Arnold 6448e166a9
fix: test runner uses gotestsum for better junit test capture (#22698) (#22707)
(cherry picked from commit 3a739948a6)
2021-10-20 10:39:51 -04:00
Dane Strandboge 74631f0d27
build: upgrade protobuf library (#22681) 2021-10-15 15:15:37 -05:00