Commit Graph

9 Commits (1df5948c97c29cc34da4e530364a8e07a614ab9b)

Author SHA1 Message Date
Marco Neumann 50ab9afd5e
feat: add schema+batch serde for ingester->querier V2 (#8498)
* feat: `PartitionIdentifier` serde

* fix: typo

* refactor: use `Bytes` for V2 protocols

* feat: add schema+batch serde for i->q V2

---------

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-08-22 13:30:47 +00:00
Marco Neumann b11f999806
feat: gRPC interface for ingester->querier v2 (#8443)
* feat: gRPC interface for ingester->querier v2

Note that the actual "to/from bytes" conversion for the schema and
batches will be implemented in #8347.

Closes #8346.

* fix: typo

Co-authored-by: Carol (Nichols || Goulding) <193874+carols10cents@users.noreply.github.com>

---------

Co-authored-by: Carol (Nichols || Goulding) <193874+carols10cents@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-08-11 09:52:05 +00:00
Carol (Nichols || Goulding) 641324b261
docs: Explain TransitionPartitionId more thoroughly
Co-authored-by: Dom <dom@itsallbroken.com>
2023-08-02 10:17:24 -04:00
Carol (Nichols || Goulding) a9b0daef8e
fix: Make partition identifier a oneof protobuf field 2023-08-02 10:17:23 -04:00
Carol (Nichols || Goulding) 13d51f40df
fix: Make partition_id optionally sent from ingesters to queriers 2023-08-02 10:17:21 -04:00
Carol (Nichols || Goulding) d991e12fbb
feat: Send PartitionHashId from ingesters to queriers 2023-06-22 09:01:22 -04:00
Dom Dwyer 928a4d163e
build: remove unused dependencies from crates
This commit fixes loads of crates (47!) had unused dependencies, or
mis-configured dependencies (test deps as normal deps).

I added the "unused_crate_dependencies" to all crates to help prevent
this mess from growing again!

    https://doc.rust-lang.org/beta/nightly-rustc/rustc_lint_defs/builtin/static.UNUSED_CRATE_DEPENDENCIES.html

This has the minor downside of false-positives when specifying
dev-dependencies for test/bench binaries - these are files in /test or
/benches (not normal tests). This commit includes a workaround,
importing them in lib.rs (gated by a feature flag). I think the
trade-off of better dependency management is worth it!
2023-05-23 14:55:43 +02:00
Dom Dwyer 456cf2160b
ci: add missing lints to ingester_query_grpc
This crate was missing some of the common lints we use everywhere else.
2023-05-23 14:55:36 +02:00
Carol (Nichols || Goulding) 1770d0f4d8
fix: Move ingester-querier gRPC communication to its own crate 2023-05-12 13:28:30 -04:00