seata 1.6.1 linux 启动报错 The distribute lock table is not config
前提:
linux 环境 sh seata-server.sh启动seata
日志有报错:
ERROR --- [ main] i.s.s.s.d.l.DataBaseDistributedLocker : The distribute lock table is not config, please create the target table and config it
实际建表时,有根据如下地址建表,其中包括distributed_lock表
incubator-seata/script/server/db/oracle.sql at 1.6.1 · apache/incubator-seata · GitHub
seata已注册到nacos,在nacos修改seata的配置,新增
store.db.distributedLockTable=distributed_lock
kill seata进程后,重启seata,观察日志,不再报错