crossoverJie / crossoverJie/cim
AbstractConsistentHash新增节点bug
Open
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 9.5k
- Forks
- 2.9k
- PR merge metrics
- No merged PRs in 30d
Description
Bug 描述
多个服务器节点,只能增加最后一个节点
AbstractConsistentHash.add 的 clear(), 应该放在 process 的 for 循环外
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 at AbstractConsistentHash.add and inspect how clear() is used around the process loop. Reproduce the behavior with multiple server nodes and verify that adding nodes retains all nodes rather than only the last one.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend, distributed-systems
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100