Details
-
Sub-task
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
0.5.0
Description
Chunk checksum verification fails for (almost) any file. This is caused by computing checksum for the entire buffer, regardless of the actual size of the chunk.
byte[] buffer = new byte[cData.getBytesPerChecksum()]; ... v = fs.read(buffer); ... bytesRead += v; ... ByteString actual = cal.computeChecksum(buffer) .getChecksums().get(0);
This results in marking all closed containers as unhealthy.
Attachments
Issue Links
- links to