ld.← ALL FIELD NOTESTHE RELATED CASE STUDY ↗
FIELD NOTES / 15RELIABILITY   ·   THE QDRANT SERIES

Why the write-ahead log matters.

A durable write path is more than an API response: it includes the log, update processing, storage, and recovery plan.

Log before segment updates

Qdrant writes incoming operations to a shard’s write-ahead log before applying them to segments. The log supports recovery of operations that have not yet been fully applied after an interruption.

Acknowledgement and visibility depend on request options and deployment configuration. A timeout or broken connection can leave the outcome uncertain, so clients should use appropriate retry and idempotency strategies rather than assuming failure or promising unconditional durability.

THE WRITE PATH
REQUESTA write arrives
WALOperation recorded
SEGMENTUpdate applied

Make room for the work

During an initial setup, we sized disk for vectors and payloads but did not leave enough room for a large re-upload. WAL and other write activity consumed the remaining capacity, and we had to resize the disk.

Now I think about headroom for logs, indexes, optimizer temporary files, and growth—not just the final vector data. The right margin depends on workload, retention, and recovery needs.

Continue the conversation

Further reading

KEEP READING / 14Shards, replicas, and what I’m still learning.

Another note from the notebook.