diff options
| author | chrislu <chris.lu@gmail.com> | 2025-10-24 00:48:24 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2025-10-24 00:48:24 -0700 |
| commit | 64a4ce93580258b8d5537416dfb5d9a1a8f14ee2 (patch) | |
| tree | b65e88a6193457c63d50f146346b326b6f7c74b7 /weed/util/log_buffer/log_read_stateless.go | |
| parent | 832df5265f6bcf0c71ee2256cfe9acb8be99ea86 (diff) | |
| download | seaweedfs-64a4ce93580258b8d5537416dfb5d9a1a8f14ee2.tar.xz seaweedfs-64a4ce93580258b8d5537416dfb5d9a1a8f14ee2.zip | |
fix reading
Gap detection and skipping to earliest memory time
Time-based reads that include events at boundary times for first reads (offset ≤ 0)
Aggregated subscriber wake-up via ListenersWaits signaling
Diffstat (limited to 'weed/util/log_buffer/log_read_stateless.go')
| -rw-r--r-- | weed/util/log_buffer/log_read_stateless.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/util/log_buffer/log_read_stateless.go b/weed/util/log_buffer/log_read_stateless.go index b48413bc8..abc7d9ac0 100644 --- a/weed/util/log_buffer/log_read_stateless.go +++ b/weed/util/log_buffer/log_read_stateless.go @@ -121,7 +121,7 @@ func (logBuffer *LogBuffer) ReadMessagesAtOffset(startOffset int64, maxMessages logBuffer.RUnlock() // Data not in memory - attempt disk read if configured - // CRITICAL FIX: Don't return error here - data may be on disk! + // Don't return error here - data may be on disk! // Fall through to disk read logic below glog.V(2).Infof("[StatelessRead] Data at offset %d not in memory (buffer: %d-%d), attempting disk read", startOffset, bufferStartOffset, currentBufferEnd) |
