Browse Source

correct comment

pull/3354/head
guosj 2 years ago
parent
commit
cc7a4b0a6e
  1. 2
      weed/storage/volume_vacuum.go

2
weed/storage/volume_vacuum.go

@ -297,7 +297,7 @@ func (v *Volume) makeupDiff(newDatFileName, newIdxFileName, oldDatFileName, oldI
}
util.Uint32toBytes(idxEntryBytes[8:12], uint32(offset/NeedlePaddingSize))
} else { //deleted needle
//fakeDelNeedle 's default Data field is nil
//fakeDelNeedle's default Data field is nil
fakeDelNeedle := new(needle.Needle)
fakeDelNeedle.Id = key
fakeDelNeedle.Cookie = 0x12345678

Loading…
Cancel
Save