diff --git a/weed/filer/reader_pattern.go b/weed/filer/reader_pattern.go index ec73c59a2..38a51d788 100644 --- a/weed/filer/reader_pattern.go +++ b/weed/filer/reader_pattern.go @@ -25,5 +25,5 @@ func (rp *ReaderPattern) MonitorReadAt(offset int64, size int) { } func (rp *ReaderPattern) IsRandomMode() bool { - return rp.isSequentialCounter >= 0 + return rp.isSequentialCounter < 0 }