Revert "fix reading"

This reverts commit 64a4ce9358.
This commit is contained in:
chrislu
2025-10-24 00:49:14 -07:00
parent 64a4ce9358
commit d220875ef4
6 changed files with 58 additions and 182 deletions

View File

@@ -121,7 +121,7 @@ func (logBuffer *LogBuffer) ReadMessagesAtOffset(startOffset int64, maxMessages
logBuffer.RUnlock()
// Data not in memory - attempt disk read if configured
// Don't return error here - data may be on disk!
// CRITICAL FIX: 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)