mirror of
https://github.com/elastic/logstash.git
synced 2025-04-22 21:57:26 -04:00
* pq: avoid blocking writer when queue is precisely full
A PQ is considered full (and therefore needs to block before releasing the
writer) when its persisted size on disk _exceeds_ its `queue.max_bytes`
capacity.
This removes an edge-case preemptive block when the persisted size after
writing an event _meets_ its `queue.max_bytes` precisely AND its current
head page has insufficient room to also accept a hypothetical future event.
Fixes: elastic/logstash#16172
* docs: PQ `queue.max_bytes` cannot be less than `queue.page_capacity`
(cherry picked from commit
|
||
---|---|---|
.. | ||
include | ||
static | ||
gs-index.asciidoc | ||
index.asciidoc | ||
index.x.asciidoc |