zhuyifeiRuichuang commented on issue #8150: URL: https://github.com/apache/incubator-seata/issues/8150#issuecomment-4828242155
> store.db.dbType 感谢指导。我一开始忘记贴配置了。我的nacos里的配置内容是 ```bash store.mode=db #-----db----- store.db.datasource=druid store.db.dbType=mysql # 需要根据mysql的版本调整driverClassName # mysql8及以上版本对应的driver:com.mysql.cj.jdbc.Driver # mysql8以下版本的driver:com.mysql.jdbc.Driver store.db.driverClassName=com.mysql.cj.jdbc.Driver store.db.url=jdbc:mysql://172.16.0.30:3306/seata?useUnicode=true&characterEncoding=utf8&connectTimeout=1000&socketTimeout=3000&autoReconnect=true&useSSL=false store.db.user=root store.db.password=root123456 # 数据库初始连接数 store.db.minConn=1 # 数据库最大连接数 store.db.maxConn=20 # 获取连接时最大等待时间 默认5000,单位毫秒 store.db.maxWait=5000 # 全局事务表名 默认global_table store.db.globalTable=global_table # 分支事务表名 默认branch_table store.db.branchTable=branch_table # 全局锁表名 默认lock_table store.db.lockTable=lock_table # 查询全局事务一次的最大条数 默认100 store.db.queryLimit=100 # undo保留天数 默认7天,log_status=1(附录3)和未正常清理的undo server.undo.logSaveDays=7 # undo清理线程间隔时间 默认86400000,单位毫秒 server.undo.logDeletePeriod=86400000 # 二阶段提交重试超时时长 单位ms,s,m,h,d,对应毫秒,秒,分,小时,天,默认毫秒。默认值-1表示无限重试 # 公式: timeout>=now-globalTransactionBeginTime,true表示超时则不再重试 # 注: 达到超时时间后将不会做任何重试,有数据不一致风险,除非业务自行可校准数据,否者慎用 server.maxCommitRetryTimeout=-1 # 二阶段回滚重试超时时长 server.maxRollbackRetryTimeout=-1 # 二阶段提交未完成状态全局事务重试提交线程间隔时间 默认1000,单位毫秒 server.recovery.committingRetryPeriod=1000 # 二阶段异步提交状态重试提交线程间隔时间 默认1000,单位毫秒 server.recovery.asynCommittingRetryPeriod=1000 # 二阶段回滚状态重试回滚线程间隔时间 默认1000,单位毫秒 server.recovery.rollbackingRetryPeriod=1000 # 超时状态检测重试线程间隔时间 默认1000,单位毫秒,检测出超时将全局事务置入回滚会话管理器 server.recovery.timeoutRetryPeriod=1000 ``` -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
