https://github.com/voldemort/voldemort
Revision 10d94a33c2b817991aa0a951862c232c983c33e3 authored by Arunachalam Thirupathi on 27 October 2015, 21:46:30 UTC, committed by Felix GV on 27 October 2015, 22:03:37 UTC
MessageDigest.digest() is read once, after it is read
the contents of the digest are reset.

Without knowing this, now started outputting checksum to stats file
which broke the normal flow.

Passing Around MessageDigest is dangerous because of this, so modified
the method to return byte arrays which are then passed around.
1 parent f83442d
History
Tip revision: 10d94a33c2b817991aa0a951862c232c983c33e3 authored by Arunachalam Thirupathi on 27 October 2015, 21:46:30 UTC
CopyStats Regression
Tip revision: 10d94a3
File Mode Size
.settings
bin
clients
config
contrib
docs
example
gradle
private-lib
src
test
voldemort-contrib
.gitignore -rw-r--r-- 242 bytes
CONTRIBUTORS -rw-r--r-- 659 bytes
LICENSE -rw-r--r-- 11.1 KB
NOTES -rw-r--r-- 2.5 KB
NOTICE -rw-r--r-- 8.1 KB
README.md -rw-r--r-- 4.4 KB
build.gradle -rw-r--r-- 20.0 KB
build.xml -rw-r--r-- 1.7 KB
gradle.properties -rw-r--r-- 1.1 KB
gradlew -rwxr-xr-x 5.0 KB
gradlew.bat -rw-r--r-- 2.3 KB
release_notes.txt -rw-r--r-- 45.7 KB
settings.gradle -rw-r--r-- 149 bytes
tomcat-tasks.properties -rw-r--r-- 420 bytes
web.xml -rw-r--r-- 1.1 KB

README.md

back to top