Browse Source

Merge pull request #3354 from guo-sj/correct_comment

pull/3356/head
Chris Lu 2 years ago
committed by GitHub
parent
commit
578eb8f39a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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