throw (ONeedRetryException) masterResult;
else if (masterResult instanceof Throwable)
throw new ODistributedException("Error on execution distributed CREATE_RECORD", (Throwable) masterResult);
// COPY THE CLUSTER POS -> RID
final OPlaceholder masterPlaceholder = (OPlaceholder) masterResult;
iRecordId.copyFrom(masterPlaceholder.getIdentity());
return new OStorageOperationResult<OPhysicalPosition>(new OPhysicalPosition(masterPlaceholder.getIdentity()
.getClusterPosition(), masterPlaceholder.getRecordVersion()));
}
final OStorageOperationResult<OPhysicalPosition> localResult = wrapped.createRecord(iRecordId, iContent, iRecordVersion,
iRecordType, iMode, iCallback);