mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
reduce log
This commit is contained in:
parent
9d93c83654
commit
5f1109f143
|
@ -47,9 +47,7 @@ func (list *IntervalLinkedList) ReadData(buf []byte, start, stop int64) {
|
||||||
|
|
||||||
nodeStart, nodeStop := max(start, t.Offset), min(stop, t.Offset+t.Size)
|
nodeStart, nodeStop := max(start, t.Offset), min(stop, t.Offset+t.Size)
|
||||||
if nodeStart < nodeStop {
|
if nodeStart < nodeStop {
|
||||||
glog.V(0).Infof("copying start=%d stop=%d t=[%d,%d) t.data=%d => bufSize=%d nodeStart=%d, nodeStop=%d",
|
// glog.V(0).Infof("copying start=%d stop=%d t=[%d,%d) t.data=%d => bufSize=%d nodeStart=%d, nodeStop=%d", start, stop, t.Offset, t.Offset+t.Size, len(t.Data), len(buf), nodeStart, nodeStop)
|
||||||
start, stop, t.Offset, t.Offset+t.Size, len(t.Data),
|
|
||||||
len(buf), nodeStart, nodeStop)
|
|
||||||
copy(buf[nodeStart-start:], t.Data[nodeStart-t.Offset:nodeStop-t.Offset])
|
copy(buf[nodeStart-start:], t.Data[nodeStart-t.Offset:nodeStop-t.Offset])
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue