New issue 45 by hieu.hcmus@gmail.com: [Compact issue] Offset overflow
http://code.google.com/p/weed-fs/issues/detail?id=45
You are using uint32(Maximum 4Gb) to store needle offset(Maximum 32Gb)
when compacting.
Currently It is ok if the volume size is < 4gb
Change variable "offset" in ScanVolumeFile function to uint64 to fix the
issue.
Reported by hieu.hcmus, Today (24 minutes ago)
What steps will reproduce the problem?
1.Create 2 volumes server same rack, replication type = 001
2.Upload a file
3.Delete file
What is the expected output? What do you see instead?
Expected output: File is deleted in both volume server
But: file is only deleted in one volume server
What version of the product are you using? On what operating system?
0.36
Please provide any additional information below.
After remove NeedleValue from NeedleMap, the size = 0 and it causes the
error.
I uploaded the patch to fix this error