[rebalance] Refactor ReplicaLeaderElection into interface with method leaderElection
- Dominant language
- Java
- Stars
- 2.1k
- Forks
- 625
- Avg merge
- 3d 14h
- Merged PRs (30d)
- 97
Description
### Search before asking
- [x] I searched in the [issues](https://github.com/apache/fluss/issues) and found nothing similar.
### Motivation
As comment say: https://github.com/apache/fluss/pull/1452#discussion_r2668701030
### Solution
_No response_
### Anything else?
_No response_
### Willingness to contribute
- [ ] I'm willing to submit a PR!
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating ReplicaLeaderElection and reading the discussion in pull request 1452, which provides the motivation for this refactor. Determine the intended interface shape and leaderElection method from that discussion; done means the rebalance implementation uses the interface consistently and its existing behavior remains covered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- distributed-systems
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100