Files
seaweedfs/weed/util/log_buffer
Copilot afc8ab3425 fix: SubscribeMetadata stream blocked with slow consumers (#8730)
When a slow consumer's read position falls behind the in-memory buffer
window, LoopProcessLogData would block indefinitely in waitForDataFn
because ReadFromDiskFn is nil for MetaAggregator.MetaLogBuffer. The
consumer could never return to the caller's outer loop which has its
own disk-read path (ReadPersistedLogBuffer).

Now, when ReadFromDiskFn is nil and the buffer has data the consumer
can't reach, return ResumeFromDiskError to the caller instead of
blocking. The callers already handle this error correctly.
2026-03-23 14:04:30 -07:00
..
2025-10-13 18:05:17 -07:00