Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,10 @@ public void commit(TransactionContext context)
}

@Override
boolean canOnePhaseCommit(TransactionContext context) throws CommitException {
boolean canOnePhaseCommit(ValidationInfo validationInfo, TransactionContext context)
throws CommitException {
try {
return super.canOnePhaseCommit(context);
return super.canOnePhaseCommit(validationInfo, context);
} catch (CommitException e) {
cancelGroupCommitIfNeeded(context.transactionId);
throw e;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ DistributedTransaction begin(
"Setting different isolation level from the one in DatabaseConfig might cause unexpected "
+ "anomalies");
}
Snapshot snapshot = new Snapshot(txId, isolation, tableMetadataManager, parallelExecutor);
Snapshot snapshot = new Snapshot(txId, tableMetadataManager);
TransactionContext context =
new TransactionContext(txId, snapshot, isolation, readOnly, oneOperation);
DistributedTransaction transaction =
Expand Down
Loading