mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-09-08 15:41:15 +02:00
fix wrong logic about reader isRandomMode()
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user