mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-22 07:27:25 +08:00
fix
This commit is contained in:
@@ -162,7 +162,7 @@ func (m *LogBuffer) ReadFromBuffer(lastReadTime time.Time) (ts time.Time, buffer
|
||||
fmt.Printf("l=%d, h=%d\n", l, h)
|
||||
*/
|
||||
|
||||
for {
|
||||
for l <= h {
|
||||
mid := (l + h) / 2
|
||||
pos := m.idx[mid]
|
||||
t := readTs(m.buf, m.idx[mid])
|
||||
|
Reference in New Issue
Block a user