Commit Graph

5920 Commits (b5a7bf03daae67081d43f58ecb57a1432d1aa685)

Author SHA1 Message Date
Andrew Lamb b5a7bf03da
feat: Add kafka write buffer consumer metrics (#3129)
* feat: Add kafka write buffer consumer metrics

* refactor: use unwrap_or_else

* fix: Update bucket boundaries
2021-11-17 14:35:40 +00:00
Andrew Lamb 47acd181c5
chore: Update datafusion + arrow/parquet/arrow-flight 6.2.0 (#3136)
* chore: Update datafusion and arrow

* chore: update arrow/parquet/arrow-flight to 6.2.0

* refactor: Add table_exists to SchemaProvider impl

* fix: clippy

* fix: clippy 2

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-11-17 14:04:49 +00:00
Dom da61966858
build: remove proc-macro2 pin (#3137)
Seems unused, builds without it!

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-11-17 13:55:39 +00:00
Andrew Lamb d6c6e9a6c7
fix: Default kafka timeout to be shorter than gRPC timeout (60 sec --> 10 sec) (#3131)
* fix: Default kafka timeout to be shorter than gRPC timeout

* docs: fix link style
2021-11-17 12:19:53 +00:00
kodiakhq[bot] a87a320eb3
Merge pull request #3134 from influxdata/crepererum/bullseye
ci: update CI images from docker buster to bullseye
2021-11-17 09:46:11 +00:00
Marco Neumann 640cd88df3 ci: update CI images from docker buster to bullseye
This will break `perf_image` until the new CI image is built due to the
newly required `--all-tags` parameter to `docker push` that isn't
available for the docker version we run on buster.
2021-11-17 10:00:31 +01:00
kodiakhq[bot] 76790cadd8
Merge pull request #3135 from influxdata/crepererum/tokio140
chore: upgrade tokio to 1.14.0 to fix RUSTSEC-2021-0124
2021-11-17 08:58:18 +00:00
Marco Neumann 04d8133227 chore: upgrade tokio to 1.14.0 to fix RUSTSEC-2021-0124 2021-11-17 09:44:52 +01:00
Andrew Lamb 38ca9e1339
fix: capture all panic messages in logs (#3130) 2021-11-16 21:59:05 +00:00
kodiakhq[bot] 35f5725a3a
Merge pull request #3120 from influxdata/crepererum/issue3100
feat: emit Kafka stats as metrics instead of logs
2021-11-16 16:26:19 +00:00
Marco Neumann 79929c8cf4 feat: add more Kafka metrics 2021-11-16 17:18:41 +01:00
Marco Neumann 9ee004946e fix: do not overload rdkafka w/ statistics 2021-11-16 17:18:41 +01:00
Marco Neumann e6fdd79a0f feat: emit Kafka stats as metrics instead of logs
This maps a subset of Kafka stats as metrics. The set can -- of course
-- be changed in the future depending on our needs.

Fixes #3100.
2021-11-16 17:18:41 +01:00
Raphael Taylor-Davies 553e412226
refactor: DMLOperation write path (#2731) (#3121)
* refactor: DMLOperation write path (#2731)

* chore: fmt

* chore: review feedback
2021-11-16 12:42:19 +00:00
kodiakhq[bot] f3fd94148c
Merge pull request #3113 from influxdata/crepererum/issue3063
fix: ensure `ConsistenHasher` is consistent
2021-11-16 08:49:53 +00:00
kodiakhq[bot] 88de603fc2
Merge branch 'main' into crepererum/issue3063 2021-11-16 08:41:55 +00:00
Carol (Nichols || Goulding) bc11244828
feat: Rename database disown/adopt to release/claim (#3111)
* fix: Rename 'disown' to 'release' database

Connects to #3110

* fix: Rename 'adopt' to 'claim' database

Fixes #3110.
2021-11-15 20:28:09 +00:00
kodiakhq[bot] 2a9d840161
Merge pull request #3090 from influxdata/cn+jpg/adopt
feat: Add an Adopt Database API
2021-11-15 19:40:43 +00:00
Carol (Nichols || Goulding) d759d98612
fix: Update new code with API that changed since branching from main 2021-11-15 14:32:50 -05:00
kodiakhq[bot] cc693a780e
Merge branch 'main' into cn+jpg/adopt 2021-11-15 19:22:07 +00:00
Carol (Nichols || Goulding) 3545f6d65a
fix: Pass through error for already-owned database 2021-11-15 14:15:56 -05:00
kodiakhq[bot] 1cfbbf0245
Merge pull request #3115 from influxdata/crepererum/issue3020a
refactor: clarify `ServerType` background worker handling
2021-11-15 17:45:25 +00:00
Marco Neumann 1d68980e4f
fix: typo
Co-authored-by: Raphael Taylor-Davies <1781103+tustvold@users.noreply.github.com>
2021-11-15 18:37:31 +01:00
Marco Neumann c88930a6a5 refactor: clarify `ServerType` background worker handling
Ref #3020.
2021-11-15 18:28:32 +01:00
Marco Neumann 4e71de508e fix: ensure `ConsistenHasher` is consistent
The std `DefaultHasher` is NOT guaranteed to stay the same, so let's
directly use the `SipHasher13` which at the moment (2021-11-15) is used
by the standard lib.

Fixes #3063.
2021-11-15 17:39:17 +01:00
Raphael Taylor-Davies 3cd7d2eda2
refactor: improve usability of proto conversion traits (#3109)
* refactor: improve usability of proto conversion traits

* chore: review feedback
2021-11-15 16:10:29 +00:00
Jake Goulding af28cfa2a6
feat: Add an adopt database API
Fixes #2679.
2021-11-15 09:26:06 -05:00
Raphael Taylor-Davies 58f3e2e559
refactor: move delete predicate proto serialization to generated_types (#3108)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-11-15 12:02:14 +00:00
kodiakhq[bot] 60eaf704a9
Merge pull request #3107 from influxdata/crepererum/improve_router_client_errors
feat: improve `RouterClient` errors
2021-11-15 11:45:07 +00:00
kodiakhq[bot] 236edc0e7e
Merge branch 'main' into crepererum/improve_router_client_errors 2021-11-15 11:36:57 +00:00
kodiakhq[bot] 5d2ae89f82
Merge pull request #3091 from influxdata/crepererum/fix_server_id_on_router_startup
fix: server IDs for routers on startup + improve client error handling
2021-11-15 10:36:57 +00:00
kodiakhq[bot] 9868430c12
Merge branch 'main' into crepererum/fix_server_id_on_router_startup 2021-11-15 10:29:21 +00:00
Raphael Taylor-Davies 3d091208af
refactor: move delete predicate into data_types (#2731) (#3094)
* refactor: move delete predicate into dml (#2731)

* refactor: move DeletePredicate to data_types

* chore: fix doc

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-11-15 10:28:58 +00:00
Raphael Taylor-Davies a6d83a3026
feat: WriteBufferReader use DmlOperation (#2731) (#3096)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-11-15 10:19:54 +00:00
Marco Neumann 48d0388ea0 feat: improve `RouterClient` errors 2021-11-15 11:18:46 +01:00
kodiakhq[bot] 5a237e2bc6
Merge pull request #3103 from influxdata/dependabot/cargo/serde_json-1.0.70
chore(deps): bump serde_json from 1.0.69 to 1.0.70
2021-11-15 08:57:48 +00:00
dependabot[bot] 3485d70409
chore(deps): bump serde_json from 1.0.69 to 1.0.70
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.69 to 1.0.70.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.69...v1.0.70)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-15 08:48:44 +00:00
kodiakhq[bot] 080385e360
Merge pull request #3102 from influxdata/dependabot/cargo/nom-7.1.0
chore(deps): bump nom from 7.0.0 to 7.1.0
2021-11-15 08:46:43 +00:00
dependabot[bot] 7fb967d088
chore(deps): bump nom from 7.0.0 to 7.1.0
Bumps [nom](https://github.com/Geal/nom) from 7.0.0 to 7.1.0.
- [Release notes](https://github.com/Geal/nom/releases)
- [Changelog](https://github.com/Geal/nom/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Geal/nom/commits)

---
updated-dependencies:
- dependency-name: nom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-15 08:34:55 +00:00
kodiakhq[bot] 9c365a1aae
Merge pull request #3099 from influxdata/jpg/unused-deps
fix: Remove unused dependencies
2021-11-15 08:32:48 +00:00
kodiakhq[bot] 641ee156ce
Merge branch 'main' into jpg/unused-deps 2021-11-15 08:25:04 +00:00
kodiakhq[bot] c3c8b3e3ee
Merge pull request #3086 from influxdata/crepererum/issue3075b
refactor: align HTTP error handling w/ cloud 2
2021-11-15 08:24:46 +00:00
kodiakhq[bot] d5d07b6eeb
Merge branch 'main' into crepererum/issue3075b 2021-11-15 08:17:16 +00:00
Jake Goulding d20b7ca390 fix: Remove unused dependencies
Thanks, `cargo udeps`!
2021-11-12 16:42:02 -05:00
kodiakhq[bot] b46bb867b7
Merge pull request #3038 from influxdata/cn/disown
feat: Database disown API
2021-11-12 20:01:01 +00:00
Carol (Nichols || Goulding) 48f36fab1f
fix: Box an error so the enum variants don't differ greatly in size 2021-11-12 14:53:07 -05:00
kodiakhq[bot] 376471591f
Merge branch 'main' into cn/disown 2021-11-12 19:31:03 +00:00
Carol (Nichols || Goulding) 46c96940f0
feat: Improve log messages to be more specific
Co-authored-by: Andrew Lamb <alamb@influxdata.com>
2021-11-12 14:21:44 -05:00
Carol (Nichols || Goulding) 63ee5b8317
fix: Shut down databases before deleting or disowning them 2021-11-12 13:37:24 -05:00
Carol (Nichols || Goulding) 56c16414a1
fix: Use shared application time rather than passing in a timestamp 2021-11-12 11:32:02 -05:00