Skip to content
Merged
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
4 changes: 2 additions & 2 deletions core/src/main/java/com/scalar/db/common/CoreError.java
Original file line number Diff line number Diff line change
Expand Up @@ -1070,10 +1070,10 @@ public enum CoreError implements ScalarDbError {
Category.INTERNAL_ERROR, "0044", "The Upsert operation failed. Details: %s", "", ""),
JDBC_TRANSACTION_UPDATE_OPERATION_FAILED(
Category.INTERNAL_ERROR, "0045", "The Update operation failed. Details: %s", "", ""),
CONSENSUS_COMMIT_HANDLING_BEFORE_PREPARATION_SNAPSHOT_HOOK_FAILED(
CONSENSUS_COMMIT_HANDLING_BEFORE_PREPARATION_HOOK_FAILED(
Category.INTERNAL_ERROR,
"0046",
"Handling the before-preparation snapshot hook failed. Details: %s",
"Handling the before-preparation hook failed. Details: %s",
"",
""),
JDBC_TRANSACTION_GETTING_SCANNER_FAILED(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

import java.util.concurrent.Future;

public interface BeforePreparationSnapshotHook {
public interface BeforePreparationHook {
Future<Void> handle(
TransactionTableMetadataManager transactionTableMetadataManager,
Snapshot.ReadWriteSets readWriteSets);
TransactionTableMetadataManager transactionTableMetadataManager, TransactionContext context);
}
Loading