Commit Graph

35233 Commits (8ed55e72b85b0807c97d3d1d7d12e9f07c9737e9)

Author SHA1 Message Date
Chunchun Ye 8ed55e72b8
build(flux): update flux to v0.192.0 (#24028) 2023-01-13 10:22:57 -06:00
Jeffrey Smith II 6b60728843
fix: Update UI to resolve Dashboard crash and All Access Token creati… (#24017)
* fix: Update UI to resolve Dashboard crash and All Access Token creation (#24014)

* chore: update docs around ui releases
2023-01-04 09:49:21 -05:00
Jeffrey Smith II 24a2b621ea
fix: Pin UI to older version to address Dashboard issues (#23980) 2022-12-15 11:49:43 -05:00
Jeffrey Smith II ffd069a8a5
fix: handle NaN in scraper (#23944)
* fix: handle NaN values in scraper

* chore: a converted int will never be NaN
2022-12-13 15:58:50 -05:00
Brandon Pfeifer ade21ad9a1
fix: restrict file permissions by default (#23959)
Most of these changes can be overridden by the system
maintainer with environment variables or systemd
override snippets.
2022-12-13 11:00:50 -05:00
Jamie Strandboge cee487fe21
chore: update Go to 1.18.9 (#23973) 2022-12-07 15:25:06 -06:00
Brandon Pfeifer 853d6157e3
feat: perform basic package validation (#23863)
* chore: remove unused build/ci scripts

* feat: validate packages during build

* chore: test CentOS aarch64 package

* fix: remove x86_64 from parameterized workflow

* fix: don't upgrade packages

Since some unrelated packages break during upgrade, this
no longer upgrades the system before installing
influxdb.
2022-12-01 10:58:33 -05:00
Manuel de la Peña 26daa86648
chore: bump testcontainers to latest released version (#23858)
* chore: bump testcontainers to v0.15.0

* chore: run go mod tidy

* chore: update test to latest version of testcontainers

* chore: update package

* fix: use collectors.NewGoCollector instead

SA1019 detected by staticcheck
2022-11-23 13:18:10 -05:00
Jeffrey Smith II ef098ac65f
chore: cleanup codeowners file (#23940) 2022-11-22 10:28:40 -05:00
Jeffrey Smith II c2eac86131
feat: port report-db command from 1.x (#23922)
* feat: port report-db command from 1.x

* chore: fix linting

* chore: rename db to bucket

* chore: fix linting
2022-11-21 11:23:13 -05:00
Jeffrey Smith II 77081081b5
feat: port check-schema and merge-schema from 1.x (#23921)
* feat: add check-schema and merge-schema commands to influx inspect

* chore: fix linting

* fix: add warning if fields.idxl is encountered
2022-11-21 10:39:50 -05:00
Jeffrey Smith II 9bf8840a63
fix: update me and users routes to match cloud/documentation (#23837)
* fix: update me and users routes to match cloud/documentation

* fix: handle errors in user routes properly
2022-11-21 10:39:30 -05:00
Jeffrey Smith II f026d7bdaf
fix: Fixes migrating when a remote already exists (#23912)
* fix: handle migrating with already defined remotes

* test: add test to verify migrating already defined remotes

* fix: properly handle Up
2022-11-17 14:23:10 -05:00
Ole Kristian (Zee) 666cabb1f4
fix: fix wrong max age transformation from seconds (#23684)
* fix: fix wrong max age transformation from seconds

* refactor: clarify max age intent

* refactor: remove unnecessary duration
2022-11-16 16:18:43 -05:00
davidby-influx 7ad8fbad22
chore: fix trace message text (#23918) 2022-11-16 08:40:26 -05:00
Nathaniel Cook 07e6ef2839
build(flux): update flux to v0.191.0 (#23913) 2022-11-15 12:57:16 -07:00
Sam Arnold 4de89afd37
refactor: remove dead iterator code (#23887)
* fix: codegen without needing goimports

* refactor: remove dead code
2022-11-09 19:26:12 -05:00
Jeffrey Smith II 46464f409c
fix: Optimize SHOW FIELD KEY CARDINALITY (#23886)
Use the _fieldKeys system iterator
2022-11-09 14:51:41 -05:00
Jeffrey Smith II 8f936e9e6a
Revert "fix: set limited permissions on package installs (#23683)" (#23855)
This reverts commit 8d5f0b52f3.
2022-11-04 15:56:56 -04:00
Jeffrey Smith II 61870e5202
chore: update 2.5 changelog (#23848)
* chore: update 2.5 changelog

* chore: release 2.5.1 influxdb
2022-11-04 15:56:07 -04:00
Christopher M. Wolff 86207fe46a
build(flux): update flux to v0.189.0 (#23853) 2022-11-03 11:03:33 -07:00
Jamie Strandboge e62c8abaa9
chore: upgrade to Go 1.18.8 (#23852) 2022-11-02 17:18:42 -05:00
Dane Strandboge 6fc66acb0a
fix: do not require remoteOrgID in remote config/creation request (#23838) 2022-11-01 09:47:45 -05:00
Christopher M. Wolff 8c23f927b5
build(flux): update flux to v0.188.1 (#23844) 2022-10-31 10:37:46 -07:00
Jeffrey Smith II 9582826b3f
fix: handle a potential nil iterator leading to a panic (#23520)
* fix: handle a potential nil iterator leading to a panic

* chore: cleanup
2022-10-31 08:54:57 -04:00
Sunil Kartikey 1033334482
build(flux): update flux to v0.188.0 (#23836) 2022-10-25 17:56:52 +01:00
Jeffrey Smith II e61485a847
fix: only the latest scraper being run (#23813)
* fix: only the latest scraper being run

This is due to the Golang for-loop variable problem.

* chore: improve code readability
2022-10-20 13:33:41 -04:00
Cyril Bonté 81e2ec617d
fix: enable gzipped responses with the legacy handler (#23805) (#23806)
re-enable gzip compression on the legacy handler, as it was supported in
influxdb 1.x.

Co-authored-by: Cyril Bonté <cyril.bonte@fr.clara.net>
2022-10-20 09:24:05 -04:00
charlesmahler fa393ccb59
chore(readme): add resource links and logo (#23735) 2022-10-20 09:04:22 -04:00
Dane Strandboge 55b7d29e4f
fix: sql scan error on remote bucket id when replication to 1.x (#23826) 2022-10-19 14:51:48 -05:00
Jeffrey Smith II 3ac7a10aa9
fix: downgrading to 2.3 was broken (#23814) 2022-10-19 15:13:39 -04:00
Jamie Strandboge 0389d51429
chore: upgrade to Go 1.18.7 (#23818) 2022-10-18 14:28:33 -05:00
Brandon Pfeifer 89d9207761
chore: update to use scheduled pipeline (2.x) (#23811)
* chore: update to use scheduled pipeline

* chore: add documentation to scheduled pipelines
2022-10-18 12:21:47 -04:00
Sean Brickley a0c3703a49
build(flux): update flux to v0.187.0 (#23812) 2022-10-17 13:46:35 -04:00
Jeffrey Smith II 2ad8995355
fix: improve delete speed when a measurement is part of the predicate (#23786)
* fix: improve delete speed when a measurement is part of the predicate

* test: add test for deleting measurement by predicate

* chore: improve error messaging and capturing

* chore: set goland to use the right formatting style
2022-10-14 15:09:32 -04:00
Jeffrey Smith II 4ed184dd82
fix: fixes an error querying virtual dbrps (#23731)
* fix: fixes an error querying virtual dbrps

When the virtual pointer was set to false, the mappings were being ignored.

* fix: missed part in a rebase

* test: add test for shard mapping virtual dbrps

* fix: do not create virtual mappings for equivalent physical mappings
2022-10-13 14:58:07 -04:00
Jeffrey Smith II a0f1184bb3
fix: manually scheduled task runs now run when expected (#23664)
* fix: run manually scheduled tasks at their scheduled time

* fix: actually use it

* fix: get tests building

* fix: fix tests

* fix: lint
2022-10-13 14:57:57 -04:00
Jonathan A. Sternberg 34254ee040
build(flux): update flux to v0.186.0 (#23784) 2022-10-11 14:38:54 -05:00
Owen Nelson d8553c002e
test(flux): use vanilla flagger for fluxtest (#23762)
* test(flux): set flux flagger in launcher

* test(flux): use default flagger from vanilla

* test(flux): unskip vectorized float tests

* test(flux): remove redundant skips for already-tagged integration tests

* test(flux): remove skips requiring `removeRedundantSortNodes` flag

* test(flux): remove skips requiring `labelPolymorphism` flag
2022-10-05 13:42:38 -07:00
Nathaniel Cook a321e72d15
build(flux): update flux to v0.185.0 (#23775) 2022-10-05 08:25:58 -06:00
Jason Stirnaman aa5c1c0bae
docs: cleanup CONTRIBUTING.md - clarify instructions and output. (#23743)
* docs(contributing): cleanup CONTRIBUTING.md, clarify instructions and output.

* docs(contributing): add more explanation in sequence.

* docs(CONTRIBUTING): revise pull request section

* docs: CONTRIBUTING.md - cleanup.
2022-09-27 14:21:40 -05:00
Jeffrey Smith II f36646d68d
feat: bump to latest UI (#23733) 2022-09-27 15:19:34 -04:00
Owen Nelson eada36bd97
test: remove group skips (#23720)
* test: remove group skips

* test: inline previously extended testcases that broke with added sort

Some tests had a sort added so they'd pass in cloud, vanilla, and OSS.
This also broke some extended testcases here in OSS since pushdown rules
no longer match the plan.

This diff "inlines" the testcase body for each of these so we get our
coverage back, but leaves a FIXME to note that it would be better if we
could somehow thread the needle and retain the extension.
2022-09-27 12:04:36 -07:00
Christopher M. Wolff 635f8d80d5
build(flux): update flux to v0.184.2 (#23758)
* build(flux): update flux to v0.184.2

* chore: skip more Flux acceptance tests

There are issues for each skip detailed in test-flux.sh.
2022-09-27 07:29:43 -07:00
Brandon Pfeifer 43c2e08cf5
chore: upgrade to Go 1.18.6 (#23750) 2022-09-26 10:11:18 -04:00
Jeffrey Smith II 663d43d210
fix: allow backup of all buckets (#23719)
* fix: allow backup of all buckets

* Revert "fix: allow backup of all buckets"

This reverts commit 256ec2f591a36b946f5c46014f378b2b76c9a8de.

* fix: remove 20 item limit in several of the data stores

* test: add a test for 20 item limit
2022-09-20 10:30:38 -04:00
Jamie Strandboge c40ad64604
feat(security): set SameSite=strict on session cookie (#23723)
* feat(security): set SameSite=strict on session cookie

Use SameSite=Strict as a hardening measure against cross-origin attacks.
While browsers have been moving to default to SameSite=Lax, explicitly
setting SameSite ensures that all browsers enforce it consistently.
While 'lax' is a reasonable hardening choice, the cookie is only
required for requests to '/api/...' and we don't expect 3rd party links
into '/api/...', so this stricter setting should be safe in terms of
usability. Furthermore, while our GET APIs are not state-changing, using
'strict' future-proofs us in case we add a state-changing GET API ('lax'
allows cross-origin 'GET' requests for increased usability for read-only
requests).

Also add a comment to SetCORS() lack of Access-Control-Allow-Credentials
as a reminder that its omission is intentional for defense in depth on
when to attach the cookie to a request.

* chore: mention that Lax sends the cookie with other safe HTTP methods
2022-09-15 15:30:19 -05:00
davidby-influx b72848d436
feat: optimize saving changes to fields.idx (#23701) (#23728)
Instead of writing out the complete fields.idx
file when it changes, write out incremental
changes that will be applied to the file on
close and startup.

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

(cherry picked from commit 80c10c8c04)

closes https://github.com/influxdata/influxdb/issues/23703
2022-09-15 12:15:14 -07:00
Cemre Mengu 91623ddc21
docs(logger): fix incorrect doc string (#23442)
Co-authored-by: Jeffrey Smith II <jsmith@influxdata.com>
2022-09-13 11:00:52 -05:00
Abirdcfly c433342830
chore: remove duplicate word in comments (#23685)
Signed-off-by: Abirdcfly <fp544037857@gmail.com>

Signed-off-by: Abirdcfly <fp544037857@gmail.com>
2022-09-13 11:00:52 -05:00