happyfish100 / happyfish100/FastCFS
fstore启动报错
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 605
- Forks
- 91
- PR merge metrics
- No merged PRs in 30d
Description
您好,我在测试FastCFS的时候遇到一个问题,麻烦您帮忙看看。集群包含两台Rockey Linux服务器。之前启动过一次,后来修改了配置,启动fstore的时候报错。使用的是工具fcfs.sh start fstore。已经按照提示在 /etc/fastcfs/fstore/cluster.conf配置文件中新增了use_hash_func=true。但是仍然报这个问题。
CRIT - fs_serverd.c:438 program exit abnormally with errno: 22
[2024-07-17 17:45:34] WARNING - file: ../common/fs_cluster_cfg.c, line: 306, config file: /etc/fastcfs/fstore/cluster.conf, 1 server ids: 2 NOT used (NOT contain any data group)!
[2024-07-17 17:45:34] ERROR - file: server_func.c, line: 374, use_hash_func in cluster.conf changed, old: true, new: false, you must restore use_hash_func to true
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing fcfs.sh start fstore with /etc/fastcfs/fstore/cluster.conf, then read the reported paths fs_serverd.c, fs_cluster_cfg.c, and server_func.c around the logged lines. Determine why use_hash_func is reported as changed and why server ID 2 is unused; done means fstore starts without the reported abnormal exit and configuration errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, shell
- Domain
- distributed-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100