mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00: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 a new issue