zhoujinsong commented on code in PR #3114:
URL: https://github.com/apache/amoro/pull/3114#discussion_r1740454530


##########
amoro-ams/amoro-ams-server/src/main/java/org/apache/amoro/server/persistence/SqlSessionFactoryProvider.java:
##########
@@ -103,6 +103,7 @@ public void init(Configurations config) {
     TransactionFactory transactionFactory = new JdbcTransactionFactory();
     Environment environment = new Environment("develop", transactionFactory, 
dataSource);
     Configuration configuration = new Configuration(environment);
+    
configuration.setDefaultExecutorType(org.apache.ibatis.session.ExecutorType.BATCH);

Review Comment:
   AFAIK, this configuration only affects the statement object usage, it will 
not affect the transaction scope.
   
   So I don't think we can solve the lock issue with this change.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to