influxdb/ingester
Fraser Savage 3133f9c2eb
fix(ingester): Skip empty writes with no data during WAL replay
In very rare cases a panic mid-write can result in a partially completed
write to the WAL which contains no table data. This is now not replayed
(as there is nothing to replay) and does not panic when encountered,
but tracks the occurence into the WAL replayed ops metric and logs a
warning.
2023-07-26 10:43:10 +01:00
..
benches test(bench): ingester query partition pruning 2023-07-24 17:26:48 +02:00
src fix(ingester): Skip empty writes with no data during WAL replay 2023-07-26 10:43:10 +01:00
tests test(bench): ingester query partition pruning 2023-07-24 17:26:48 +02:00
Cargo.toml chore(deps): Bump thiserror from 1.0.43 to 1.0.44 (#8315) 2023-07-24 10:18:44 +00:00
README.md fix: Rename router2 to router 2023-05-09 22:01:39 -04:00

README.md

ingester

Quick run

Set up empty catalog db:

mkdir -p /tmp/iox/{wal,obj}

createdb iox_shared
./target/debug/influxdb_iox catalog setup --catalog-dsn postgres:///iox_shared

Run ingester:

./target/debug/influxdb_iox run ingester --api-bind=127.0.0.1:8081 --grpc-bind=127.0.0.1:8042 --wal-directory /tmp/iox/wal  --catalog-dsn postgres:///iox_shared --object-store=file --data-dir=/tmp/iox/obj -v

Run router:

./target/debug/influxdb_iox run router --api-bind=127.0.0.1:8080 --grpc-bind=127.0.0.1:8085 --ingester-addresses=127.0.0.1:8042 --catalog-dsn postgres:///iox_shared -v

Run querier:

./target/debug/influxdb_iox run querier --ingester-addresses=http://127.0.0.1:8042 --api-bind 127.0.0.1:8083 --grpc-bind 127.0.0.1:8082 --catalog-dsn postgres:///iox_shared --object-store=file --data-dir=/tmp/iox/obj -v