DruidCoordinator.isLeader(), getCurrentLeader() and TaskMaster.getCurrentLeader() are wrong
Open
Area - ZooKeeper/Curator
Bug
- Dominant language
- Java
- Stars
- 14.1k
- Forks
- 3.8k
- Avg merge
- 2d 58m
- Merged PRs (30d)
- 233
Description
See this comment: https://github.com/apache/incubator-druid/pull/7653#discussion_r311763230
FYI @jihoonson
Contributor guide
Research direction
Start with the linked pull-request discussion, then read the implementations of DruidCoordinator.isLeader(), DruidCoordinator.getCurrentLeader(), and TaskMaster.getCurrentLeader(). Determine the expected leader behavior from that discussion; done means all three methods report the correct current leadership state.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- distributed-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100