Commit Graph

11642 Commits (970371929492d6c1557368cb48dd0bc5c24339ea)

Author SHA1 Message Date
Dom Dwyer 9703719294 test(router): constify test namespace
Define the namespace as a const to make the purpose/magic clear.
2023-04-10 12:59:20 -07:00
dependabot[bot] 52daacb395
chore(deps): Bump getrandom from 0.2.8 to 0.2.9 (#7479)
Bumps [getrandom](https://github.com/rust-random/getrandom) from 0.2.8 to 0.2.9.
- [Release notes](https://github.com/rust-random/getrandom/releases)
- [Changelog](https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-random/getrandom/compare/v0.2.8...v0.2.9)

---
updated-dependencies:
- dependency-name: getrandom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Andrew Lamb <alamb@influxdata.com>
2023-04-10 18:00:18 +00:00
dependabot[bot] b66b178f50
chore(deps): Bump rustix from 0.37.7 to 0.37.11 (#7484)
Bumps [rustix](https://github.com/bytecodealliance/rustix) from 0.37.7 to 0.37.11.
- [Release notes](https://github.com/bytecodealliance/rustix/releases)
- [Commits](https://github.com/bytecodealliance/rustix/compare/v0.37.7...v0.37.11)

---
updated-dependencies:
- dependency-name: rustix
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-04-10 17:53:33 +00:00
dependabot[bot] f0fcbdd6bf
chore(deps): Bump chrono-tz from 0.8.1 to 0.8.2 (#7485)
Bumps [chrono-tz](https://github.com/chronotope/chrono-tz) from 0.8.1 to 0.8.2.
- [Release notes](https://github.com/chronotope/chrono-tz/releases)
- [Changelog](https://github.com/chronotope/chrono-tz/blob/main/CHANGELOG.md)
- [Commits](https://github.com/chronotope/chrono-tz/commits)

---
updated-dependencies:
- dependency-name: chrono-tz
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-04-10 17:46:44 +00:00
kodiakhq[bot] 7c96731a9c
Merge pull request #7482 from influxdata/cn/remove-old-ingester
fix: Remove old ingester and ioxd_ingester
2023-04-10 17:39:36 +00:00
Andrew Lamb db08d2549c
Merge branch 'main' into cn/remove-old-ingester 2023-04-10 13:33:07 -04:00
dependabot[bot] 6399d2b861
chore(deps): Bump uuid from 1.3.0 to 1.3.1 (#7483)
Bumps [uuid](https://github.com/uuid-rs/uuid) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/uuid-rs/uuid/releases)
- [Commits](https://github.com/uuid-rs/uuid/compare/1.3.0...1.3.1)

---
updated-dependencies:
- dependency-name: uuid
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-10 17:32:37 +00:00
Andrew Lamb a519c94279
chore: Update crossbeam-channel to 0.5.8 (#7488) 2023-04-10 16:15:44 +00:00
kodiakhq[bot] 3a8b9d9ae2
Merge branch 'main' into cn/remove-old-ingester 2023-04-10 13:37:01 +00:00
Stuart Carnie b629023f45
feat: Add `FILL(linear)` support (#7466)
* feat: Add FILL(linear) support

Closes #6916

* chore: Remove old test output

* chore: Fix `FILL(linear)` test
2023-04-08 21:34:30 +00:00
Stuart Carnie b9479a2b3c
refactor: `limit` function supports multiple measurements and tag sets (#7464)
* fix: Add sort operator after window aggregate operator

Closes #7460

* fix: Refactor `LIMIT` and `OFFSET` implementation

These changes should allow the `limit` function to be used
generically with any plan following the same conventions.

* chore: No need to reorder this

* chore: Add documentation to the `limit` function
2023-04-08 21:22:54 +00:00
Carol (Nichols || Goulding) 6c2ce01f1e
fix: Remove old ingester and ioxd_ingester 2023-04-07 11:06:37 -04:00
kodiakhq[bot] 250b7a0cd6
Merge pull request #7473 from influxdata/cn/remove-old-compactor
fix: Remove old compactor and ioxd_compactor
2023-04-06 21:26:06 +00:00
Carol (Nichols || Goulding) 004a264d93
test: Remove a moot test for removed compactor command 2023-04-06 16:58:04 -04:00
Carol (Nichols || Goulding) a5769a461b
fix: Remove old compactor and ioxd_compactor 2023-04-06 16:49:52 -04:00
Joe-Blount 1a4c58b86f
Merge pull request #7474 from influxdata/jrb_27_adjust_split_time_selection
chore: adjust how many splits are applied in backlogged cases
2023-04-06 14:22:22 -05:00
Phil Bracikowski a99da831e1
Merge branch 'main' into jrb_27_adjust_split_time_selection 2023-04-06 12:07:07 -07:00
Marco Neumann 5f43f2a719
refactor: remove old query planning code (#7449)
Closes #7406.

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-04-06 16:05:08 +00:00
Joe-Blount dcdf253a7a chore: insta updates for split count adjustment 2023-04-06 09:37:05 -05:00
Joe-Blount abde5aa543 chore: adjust how many splits applied in backlogged cases 2023-04-06 09:36:37 -05:00
Marco Neumann 612f2451ee
fix: don't panic for unsupported features (#7472)
This happens rarely but I've spotted this in prod, so let's fix this
because panics are bad and increase monitoring noise.
2023-04-06 14:32:27 +00:00
Marco Neumann c03a5c7c14
fix: tracing span hierarchy in querier (#7469)
The span for the individual chunk creations should be under
"create individual chunks".
2023-04-06 10:01:39 +00:00
Marco Neumann 30b1878171
test: `ChunkTableProvider::scan` + fix "not dedup" (#7448)
1. Add loads of tests for `ChunkTableProvider::scan` (= the naive phys.
   plan before running any phys. optimizers)
2. Fix interaction of "no de-dup" and predicate pushdown. This might
   be used by the ingester at some point and I would like to have this
   correct before someone silently introduces a bug by pushing field
   predicates into the ingester.

This is mostly prep-work for #7406 so I know that test coverage is
sufficient.
2023-04-06 08:39:53 +00:00
Stuart Carnie 9f5fec42b8
feat: Teach InfluxQL how to plan `LIMIT` and `OFFSET` with `GROUP BY` (#7447)
* feat: Support LIMIT and OFFSET with GROUP BY

* fix: Compile error

* chore: Improve function name and comment

* chore: rustfmt

* chore: fix clippy warnings

Allowing the too-many-arguments warning for project_select,
as it will require some refactoring after this PR has already
been reviewed. It may be refactored in the future when subqueries are
implemented
2023-04-05 23:01:56 +00:00
Joe-Blount e4b4f79c6b
feat: expand 'vertical splitting' to improve compaction efficiency (#7450)
* feat: expand vertical splitting and coordinate compactions

* chore: insta updates for prior commit

* chore: pr review nits
2023-04-05 21:02:16 +00:00
dependabot[bot] 4dc1f94d6a
chore(deps): Bump rustix from 0.37.6 to 0.37.7 (#7457)
Bumps [rustix](https://github.com/bytecodealliance/rustix) from 0.37.6 to 0.37.7.
- [Release notes](https://github.com/bytecodealliance/rustix/releases)
- [Commits](https://github.com/bytecodealliance/rustix/compare/v0.37.6...v0.37.7)

---
updated-dependencies:
- dependency-name: rustix
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-04-05 19:23:08 +00:00
dependabot[bot] 065422e2ca
chore(deps): Bump libc from 0.2.140 to 0.2.141 (#7456)
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.140 to 0.2.141.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.140...0.2.141)

---
updated-dependencies:
- dependency-name: libc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-04-05 19:15:05 +00:00
dependabot[bot] 4a1f1c0000
chore(deps): Bump zstd-sys from 2.0.7+zstd.1.5.4 to 2.0.8+zstd.1.5.5 (#7453)
Bumps [zstd-sys](https://github.com/gyscos/zstd-rs) from 2.0.7+zstd.1.5.4 to 2.0.8+zstd.1.5.5.
- [Release notes](https://github.com/gyscos/zstd-rs/releases)
- [Commits](https://github.com/gyscos/zstd-rs/commits)

---
updated-dependencies:
- dependency-name: zstd-sys
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-04-05 19:07:26 +00:00
dependabot[bot] 2c001f29bf
chore(deps): Bump zstd-safe from 6.0.4+zstd.1.5.4 to 6.0.5+zstd.1.5.4 (#7455)
Bumps [zstd-safe](https://github.com/gyscos/zstd-rs) from 6.0.4+zstd.1.5.4 to 6.0.5+zstd.1.5.4.
- [Release notes](https://github.com/gyscos/zstd-rs/releases)
- [Commits](https://github.com/gyscos/zstd-rs/commits)

---
updated-dependencies:
- dependency-name: zstd-safe
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-04-05 18:59:51 +00:00
dependabot[bot] 996078123f
chore(deps): Bump filetime from 0.2.20 to 0.2.21 (#7454)
Bumps [filetime](https://github.com/alexcrichton/filetime) from 0.2.20 to 0.2.21.
- [Release notes](https://github.com/alexcrichton/filetime/releases)
- [Commits](https://github.com/alexcrichton/filetime/compare/0.2.20...0.2.21)

---
updated-dependencies:
- dependency-name: filetime
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-05 18:51:54 +00:00
Andrew Lamb e8b7d69b0f
chore: Update datafusion again (#7442)
* chore: Update datafusion

* chore: Fix up plans for datafusion API change

* chore: Run cargo hakari tasks

---------

Co-authored-by: CircleCI[bot] <circleci@influxdata.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-04-05 18:21:53 +00:00
kodiakhq[bot] 3cd8eb56e5
Merge pull request #7415 from influxdata/savage/6824-update-namespace-service-limit-api-call
feat(namespace): Update support for namespace service protection limits
2023-04-05 14:34:55 +00:00
Fraser Savage 44478348c7
refactor(cli): Simplify namespace update-limit command code 2023-04-05 15:25:37 +01:00
Fraser Savage 9fcaee9ac9
Merge branch 'main' into savage/6824-update-namespace-service-limit-api-call 2023-04-05 14:52:44 +01:00
Fraser Savage b53b8c7d76
refactor(namespace): Flatten service protection limits in Namespace proto definition
This commit also cleans up the code formatting for the gRPC handler and
simplifies some of the gRPC handler tests for the new update service
limit API.
2023-04-05 14:46:30 +01:00
dependabot[bot] ba16511c15
chore(deps): Bump io-lifetimes from 1.0.9 to 1.0.10 (#7446)
Bumps [io-lifetimes](https://github.com/sunfishcode/io-lifetimes) from 1.0.9 to 1.0.10.
- [Release notes](https://github.com/sunfishcode/io-lifetimes/releases)
- [Commits](https://github.com/sunfishcode/io-lifetimes/compare/v1.0.9...v1.0.10)

---
updated-dependencies:
- dependency-name: io-lifetimes
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-04-05 13:03:00 +00:00
Andrew Lamb 94d390f31e
test: Add additional tests for reorg plans (#7444)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-04-05 11:15:23 +00:00
Joe-Blount e27a8e815d
chore: add tracking of bytes written in simulator (#7445)
* chore: add tracking of bytes written in simulator; display in final output header

* chore: insta output churn corresponding to tracking bytes written

* chore: address comment
2023-04-04 20:58:50 +00:00
Christopher M. Wolff d57a4f8947
refactor: make null-as-missing default behavior for LOCF (#7443)
* refactor: make null-as-missing default behavior for LOCF

* test: update InfluxQL test

---------

Co-authored-by: Christopher Wolff <cwolff@athena.tail244ec.ts.net>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-04-04 18:03:09 +00:00
Joe-Blount 099b33871b
Merge pull request #7430 from influxdata/jrb_24_backlogged_test_case
fix: address panic with single L0 overlapping multiple L1s
2023-04-04 11:31:16 -05:00
Joe-Blount 80a91142b5
Merge branch 'main' into jrb_24_backlogged_test_case 2023-04-04 11:21:54 -05:00
Andrew Lamb badc8865ef
chore: Update datafusion again (#7440)
* chore: Update DataFusion

* chore: Update for new API

* chore: Run cargo hakari tasks

* fix: cargo doc

---------

Co-authored-by: CircleCI[bot] <circleci@influxdata.com>
2023-04-04 15:45:46 +00:00
dependabot[bot] 4a9317dfdb
chore(deps): Bump libc from 0.2.140 to 0.2.141 (#7439)
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.140 to 0.2.141.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/commits)

---
updated-dependencies:
- dependency-name: libc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-04 11:51:33 +00:00
dependabot[bot] 66982f988b
chore(deps): Bump object_store from 0.5.5 to 0.5.6 (#7433)
Bumps [object_store](https://github.com/apache/arrow-rs) from 0.5.5 to 0.5.6.
- [Release notes](https://github.com/apache/arrow-rs/releases)
- [Changelog](https://github.com/apache/arrow-rs/blob/master/CHANGELOG-old.md)
- [Commits](https://github.com/apache/arrow-rs/commits)

---
updated-dependencies:
- dependency-name: object_store
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dom <dom@itsallbroken.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-04-04 08:43:34 +00:00
dependabot[bot] 4429319b8a
chore(deps): Bump rustix from 0.37.6 to 0.37.7 (#7434)
Bumps [rustix](https://github.com/bytecodealliance/rustix) from 0.37.6 to 0.37.7.
- [Release notes](https://github.com/bytecodealliance/rustix/releases)
- [Commits](https://github.com/bytecodealliance/rustix/compare/v0.37.6...v0.37.7)

---
updated-dependencies:
- dependency-name: rustix
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dom <dom@itsallbroken.com>
2023-04-04 08:36:29 +00:00
Marco Neumann e9bdf96457
refactor: remove DF-clean-DF phys. optimizer pass hack (#7428)
As discussed in https://github.com/influxdata/influxdb_iox/pull/7250#discussion_r1155684471

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-04-04 08:09:35 +00:00
Stuart Carnie a1b29b3ebb
fix: Incorrect results when planning aggregate expressions (#7431)
* fix: Incorrect results when mixing non-existent fields in aggregates

* chore: Improve comments around aggregates
2023-04-04 00:19:50 +00:00
Joe-Blount cd708183db chore: update large backfill case to suppress output of runs 2023-04-03 15:02:36 -05:00
Joe-Blount 48407e78da chore: add option to simulator to optionally suppress the output of compaction runs 2023-04-03 15:02:04 -05:00
Joe-Blount 711ccc153e fix: address panic with single L0 overlapping multiple L1s 2023-04-03 14:09:55 -05:00