Chris Lu
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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)) |
|
|
util.Uint32toBytes(idxEntryBytes[8:12], uint32(offset/NeedlePaddingSize)) |
|
|
} else { //deleted needle
|
|
|
} else { //deleted needle
|
|
|
//fakeDelNeedle 's default Data field is nil
|
|
|
|
|
|
|
|
|
//fakeDelNeedle's default Data field is nil
|
|
|
fakeDelNeedle := new(needle.Needle) |
|
|
fakeDelNeedle := new(needle.Needle) |
|
|
fakeDelNeedle.Id = key |
|
|
fakeDelNeedle.Id = key |
|
|
fakeDelNeedle.Cookie = 0x12345678 |
|
|
fakeDelNeedle.Cookie = 0x12345678 |
|
|