mirror of
https://github.com/xcat2/confluent.git
synced 2025-01-17 13:13:18 +00:00
Jarrod Johnson
2dd6c31513
Fix deleted logs breaking partial buffer rebuild
When the read_recent_text ran off a cliff looking for buffer data, it left the current textfile handle in a bad state. This caused the buffer rebuild to fail completely in a scenario where all the current logs put together don't have enough data to satisfy the buffer. Fix this by making the handle more obviously broken, and repairing while seeking out data.
Description
Languages
Python
80.4%
Shell
15.6%
C
3.6%
Perl
0.3%