Skip to content

Commit

Permalink
clean up logs
Browse files Browse the repository at this point in the history
  • Loading branch information
chrislusf committed Mar 22, 2024
1 parent 26e24db commit 03f18e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion weed/util/log_buffer/log_buffer.go
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ func (logBuffer *LogBuffer) ReadFromBuffer(lastReadPosition MessagePosition) (bu
}
}
if tsMemory.IsZero() { // case 2.2
println("2.2 no data")
// println("2.2 no data")
return nil, -2, nil
} else if lastReadPosition.Before(tsMemory) && lastReadPosition.BatchIndex+1 < tsBatchIndex { // case 2.3
if !logBuffer.lastFlushDataTime.IsZero() {
Expand Down

0 comments on commit 03f18e4

Please sign in to comment.