Skip to content

Commit

Permalink
Update core/src/main/java/org/apache/seata/core/store/db/sql/distribu…
Browse files Browse the repository at this point in the history
…ted/lock/DistributedLockSqlFactory.java
  • Loading branch information
funky-eyes authored Apr 25, 2024
1 parent b0cf01f commit ebdc745
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ public static DistributedLockSql getDistributedLogStoreSql(String dbType) {
try {
return EnhancedServiceLoader.load(DistributedLockSql.class, dbType);
} catch (EnhancedServiceNotFoundException ex) {
LOGGER.debug("Can't special implementation of DistributedLockSql for {}", dbType);
if(LOGGER.isDebugEnabled()){
LOGGER.debug("will use the default distributed lock implementation,dbType: {}", dbType);
}
}
return EnhancedServiceLoader.load(DistributedLockSql.class, "default");
}
Expand Down

0 comments on commit ebdc745

Please sign in to comment.