Skip to content
Commit e9f08f23 authored by jensvfischer's avatar jensvfischer
Browse files

libxtreemfs (java): add bugfix and tests for Issue #277

Issue #277 was a bug in the java libxtreemfs in the offset translation from file
offsets to object offsets when using Filehandle.read(). The offset calculation
was erroneous for nonaligned (i.e. offset % blocksize != 0) offsets greater than
Integer.MAX_VALUE. The error was found to be a pair of missing braces in the
StripeTranslatorRaid0.translateReadRequest().
The commit fixes the bug and adds regressiontests against it.
parent de653f3d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment