mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-30 00:40:44 +01:00
comment out code that maybe used later
This commit is contained in:
1 parent
8b915a93ce
commit
a8a9589f80
1 file changed
+7
@@ -64,6 +64,13 @@ func (list *ChunkWrittenIntervalList) WrittenSize() (writtenByteCount int64) {
|
|||||||
|
|
||||||
func (list *ChunkWrittenIntervalList) addInterval(interval *ChunkWrittenInterval) {
|
func (list *ChunkWrittenIntervalList) addInterval(interval *ChunkWrittenInterval) {
|
||||||
|
|
||||||
|
//t := list.head
|
||||||
|
//for ; t.next != nil; t = t.next {
|
||||||
|
// if t.TsNs > interval.TsNs {
|
||||||
|
// println("writes is out of order", t.TsNs-interval.TsNs, "ns")
|
||||||
|
// }
|
||||||
|
//}
|
||||||
|
|
||||||
p := list.head
|
p := list.head
|
||||||
for ; p.next != nil && p.next.stopOffset <= interval.StartOffset; p = p.next {
|
for ; p.next != nil && p.next.stopOffset <= interval.StartOffset; p = p.next {
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user