}
// add the logEntry to result list
assert (le.getPayload().array().length > 0) :
"Empty log-entries are not allowed!";
ReusableBuffer buf = le.serialize(checksum);
result.addLogEntries(
org.xtreemfs.babudb.pbrpc.GlobalTypes.LogEntry
.newBuilder().setLength(buf.remaining()));
int newSize = resultPayLoad.remaining() +
buf.remaining();