influxdb/mutable_batch_pb
Dom Dwyer 47214ec9a0
fix: prevent panics in partitioning logic
Changes the partitioning logic to be fallible. This prevents an invalid
partition template from causing a panic, previously possible through two
known code paths:

    * TagValue formatter referencing a non-tag column
    * Time formatter using an invalid strftime format string

If either occurs, the write attempt is now aborted and an error returned
to the user with a HTTP 500 status code.

Additionally unexpected partitioner errors now map to a catch-all error
instead of panicking.
2023-06-01 17:44:44 +02:00
..
src build: remove unused dependencies from crates 2023-05-23 14:55:43 +02:00
tests fix: prevent panics in partitioning logic 2023-06-01 17:44:44 +02:00
Cargo.toml chore: Rerun cargo hakari manage-deps 2023-02-27 11:56:15 +01:00