Skip to content

Commit

Permalink
Rename GlobalLockName.GLOBAL_CLOCK (#34130)
Browse files Browse the repository at this point in the history
  • Loading branch information
terrymanu authored Dec 23, 2024
1 parent e6c0589 commit 3b8033f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
*/
public final class GlobalClockTransactionHook implements TransactionHook<GlobalClockRule> {

private final LockDefinition lockDefinition = new GlobalLockDefinition(GlobalLockName.GLOBAL_LOCK);
private final LockDefinition lockDefinition = new GlobalLockDefinition(GlobalLockName.GLOBAL_CLOCK);

@Override
public void beforeBegin(final GlobalClockRule rule, final DatabaseType databaseType, final TransactionConnectionContext transactionContext) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public enum GlobalLockName {

PREPARE("prepare_%s"),

GLOBAL_LOCK("global_clock"),
GLOBAL_CLOCK("global_clock"),

STATISTICS("statistics");

Expand Down

0 comments on commit 3b8033f

Please sign in to comment.