listener.onMoveBlockByClient(userId, blockId, moveResult.srcLocation(),
moveResult.dstLocation());
}
}
return;
<BUG>}
freeSpaceInternal(userId, moveResult.blockSize(), newLocation);
numRetries ++;
}</BUG>
throw new OutOfSpaceException("Failed to moveBlock: blockId " + blockId

listener.onMoveBlockByClient(userId, blockId, moveResult.srcLocation(),
moveResult.dstLocation());
}
}
return;
}
if (i < MAX_RETRIES) {
freeSpaceInternal(userId, moveResult.blockSize(), newLocation);
}
}
throw new OutOfSpaceException("Failed to moveBlock: blockId " + blockId
