apache / apache/druid

DruidCoordinator.isLeader(), getCurrentLeader() and TaskMaster.getCurrentLeader() are wrong

Open
#8,263 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.