Commit Graph

5940 Commits (d1c6f76a0ea1838faacf49b11bcb4ff9eaf1f85a)

Author SHA1 Message Date
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
Carol (Nichols || Goulding) 315cc3836b
fix: Combine checks of the database state 2021-11-12 11:17:17 -05:00
Carol (Nichols || Goulding) 8bdfb253ce
fix: Remove context from disown operation 2021-11-12 11:10:20 -05:00
kodiakhq[bot] 76d12f6916
Merge pull request #3093 from influxdata/crepererum/fix_perf_image
fix: `perf_image` docker ignore
2021-11-12 15:13:53 +00:00
kodiakhq[bot] 41e74f0d43
Merge branch 'main' into crepererum/fix_perf_image 2021-11-12 15:05:09 +00:00
Carol (Nichols || Goulding) 815347b18a
fix: Disown in the disown tests, not delete 2021-11-12 09:47:25 -05:00
Marco Neumann fd9834f8bc fix: `perf_image` docker ignore 2021-11-12 12:50:01 +01:00
kodiakhq[bot] f12153a93e
Merge pull request #3092 from influxdata/crepererum/fix_router_client_exports
fix: also export `write_buffer` gRPC types from router client
2021-11-12 11:39:37 +00:00
kodiakhq[bot] 91667c7637
Merge branch 'main' into crepererum/fix_router_client_exports 2021-11-12 11:31:48 +00:00
kodiakhq[bot] 6dada5f215
Merge pull request #3081 from influxdata/crepererum/smaller_binaries
chore: faster and smaller IOx binaries
2021-11-12 11:24:43 +00:00
kodiakhq[bot] 49cfa046bb
Merge branch 'main' into crepererum/smaller_binaries 2021-11-12 11:17:09 +00:00
Marco Neumann f3d4b27358 fix: also export `write_buffer` gRPC types from router client
This is required to construct a write-buffer-based router config.
2021-11-12 12:13:50 +01:00
Marco Neumann 3220970fea fix: server IDs for routers on startup 2021-11-12 11:31:52 +01:00
Marco Neumann f2c90d9259 tests: allow creation of test servers w/ server IDs set on startup 2021-11-12 11:31:52 +01:00
Marco Neumann c1827cf2c3 refactor: `s/writer_id/server_id/g` 2021-11-12 11:31:52 +01:00
Marco Neumann 7f021f556d tests: improve `TestConfig` to better support server types 2021-11-12 11:31:52 +01:00
Marco Neumann 8c1cf00164 feat: improve and test handling of updating a server ID a 2nd time 2021-11-12 11:31:52 +01:00
Marco Neumann 7ef762a88e tests: add `test_serving_readiness_router` 2021-11-12 11:31:52 +01:00
kodiakhq[bot] a746aa05bc
Merge pull request #3088 from influxdata/crepererum/server_mode_per_env_var
chore: allow image server mode to be chosen via env var
2021-11-12 09:46:38 +00:00
Marco Neumann 053afac5e9 chore: allow image server mode to be chosen via env var 2021-11-12 09:55:44 +01:00
Carol (Nichols || Goulding) 84a5df44e3
fix: Let structopt handle parsing Uuid 2021-11-11 14:37:19 -05:00
kodiakhq[bot] 5247fee979
Merge pull request #3085 from influxdata/er/docs/readme
docs: add build instructions for Apple Silicon
2021-11-11 18:26:21 +00:00
kodiakhq[bot] f6d8bc03bf
Merge branch 'main' into er/docs/readme 2021-11-11 18:18:46 +00:00
Edd Robinson ec992eb2cd docs: fix markdown style issues 2021-11-11 18:16:40 +00:00
Raphael Taylor-Davies da7ba511b2
feat: remove legacy per-line partitioning logic (#3087)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-11-11 16:50:42 +00:00
Carol (Nichols || Goulding) 2b8f0b7eeb
fix: Don't hardcode timestamp in restore code 2021-11-11 11:44:19 -05:00
kodiakhq[bot] a54828fdcd
Merge pull request #3048 from influxdata/jpg/restore-uuid-bytes
fix: Store the restore database UUID as bytes instead of as a string
2021-11-11 15:42:00 +00:00
kodiakhq[bot] 95c46e58bc
Merge branch 'main' into jpg/restore-uuid-bytes 2021-11-11 15:34:23 +00:00
Carol (Nichols || Goulding) 19d5200d1c
test: Make assertion more concise and avoid an allocation, thank you clippy 2021-11-11 09:56:43 -05:00
Raphael Taylor-Davies 79497b7961
refactor: remove unused once (#3083)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-11-11 13:59:03 +00:00
Marco Neumann 3667cb36fa refactor: align HTTP error handling w/ cloud 2
Streamline HTTP error by using the same representation as cloud 2. Also
ensure that only internal server errors result in an error-level log
entry.

Fixes #3075.
2021-11-11 14:48:50 +01:00