Retention policies and the CLI
Per-series retention, a driftdb command-line tool and 2x faster appends.
Features
- Retention policies per series with
set_retention. Old blocks are dropped in the background. - New
driftdbCLI withstats,exportandcompactcommands. Install it withcargo install driftdb-cli. - Appends are about 2x faster thanks to a lock-free write buffer.
Fixes
- Opening a database on a read-only filesystem now returns an error instead of panicking.