Browse Source

remove comments

pull/2/head
Chris Lu 12 years ago
parent
commit
01f2fcf72d
  1. 2
      weed-fs/src/pkg/storage/needle_map.go

2
weed-fs/src/pkg/storage/needle_map.go

@ -44,7 +44,7 @@ func LoadNeedleMap(file *os.File) *NeedleMap {
size := util.BytesToUint32(bytes[i+12 : i+16]) size := util.BytesToUint32(bytes[i+12 : i+16])
if offset > 0 { if offset > 0 {
nm.m.Set(Key(key), offset, size) nm.m.Set(Key(key), offset, size)
log.Println("reading key", key, "offset", offset, "size", size)
//log.Println("reading key", key, "offset", offset, "size", size)
nm.fileCounter++ nm.fileCounter++
} else { } else {
nm.m.Delete(Key(key)) nm.m.Delete(Key(key))

Loading…
Cancel
Save