apache / apache/incubator-seata-samples

store mode:file_store/data

Open
#105 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.4k
Forks
2k
PR merge metrics
No merged PRs in 30d

Description

Exception in thread "main" java.lang.IllegalArgumentException: unknown store mode:file_store/data
at io.seata.core.store.StoreMode.valueof(StoreMode.java:48)
at io.seata.server.session.SessionHolder.init(SessionHolder.java:84)
at io.seata.server.Server.main(Server.java:76)

版本是https://github.com/seata/seata/releases/download/0.5.0/seata-server-0.5.0.tar.gz
在启动的时候出现了这个错误,启动seata-server.sh之时,已经修改了registry.conf里面type="nacos"为type="file"

Contributor guide

Open the contributing guide

Research direction

Start with the 0.5.0 seata-server archive, registry.conf, and seata-server.sh, then reproduce the startup failure and trace the reported StoreMode.valueof and SessionHolder.init locations. Check how the configured store mode is read and what value the server expects; done means the server starts without the unknown store mode exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.