apache / apache/incubator-seata

registry.conf中配置中心使用nacos时,namespace不能使用自定义的,只能设置为"",否则就会报错the {store.db.driverClassName} can't be empty

Open
#4,380 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
26k
Forks
8.8k
Avg merge
1d 8h
Merged PRs (30d)
4

Description

在nacos的public命名空间和自定义命名空间中,创建两个完全一样的seataServer.properties配置文件,在registry.conf中使用nacos作为配置中心时,配置namespace为自定义的命名空间ID,就会报错the {store.db.driverClassName} can't be empty,修改成""之后又可能正常启动

Contributor guide

Open the contributing guide

Research direction

Start with the registry.conf Nacos configuration and reproduce the issue using identical seataServer.properties files in the public and custom namespaces. Trace how the configured namespace is used to load store.db.driverClassName, then verify that startup succeeds with the custom namespace and that the reported empty-value error no longer occurs.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.