mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-04-05 20:52:50 +08:00
fix wrong logic about reader isRandomMode()
This commit is contained in:
parent
d3d52b1818
commit
928d29af9e
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user