use of org.apache.asterix.common.transactions.ILogMarkerCallback in project asterixdb by apache.
the class CommitRuntime method open.
@Override
public void open() throws HyracksDataException {
try {
transactionContext = transactionManager.getTransactionContext(jobId, false);
transactionContext.setWriteTxn(isWriteTransaction);
ILogMarkerCallback callback = TaskUtil.get(ILogMarkerCallback.KEY_MARKER_CALLBACK, ctx);
logRecord = new LogRecord(callback);
if (isSink) {
return;
}
initAccessAppend(ctx);
writer.open();
} catch (ACIDException e) {
throw new HyracksDataException(e);
}
}
Aggregations