[Bug] Prevent AsyncLearner from being elected as Master during initialization
- Dominant language
- Java
- Stars
- 22.6k
- Forks
- 12k
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 26
Description
### Before Creating the Bug Report
- [x] I found a bug, not just asking a question, which should be created in [GitHub Discussions](https://github.com/apache/rocketmq/discussions).
- [x] I have searched the [GitHub Issues](https://github.com/apache/rocketmq/issues) and [GitHub Discussions](https://github.com/apache/rocketmq/discussions) of this repository and believe that this is not a duplicate.
- [x] I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.
### Runtime platform environment
centos7
### RocketMQ version
5.3.3
### JDK Version
1.8
### Describe the Bug
Prevent AsyncLearner from being elected as Master during initialization
### Steps to Reproduce
Prevent AsyncLearner from being elected as Master during initialization
### What Did You Expect to See?
Prevent AsyncLearner from being elected as Master during initialization
### What Did You See Instead?
Prevent AsyncLearner from being elected as Master during initialization
### Additional Context
_No response_
Contributor guide
Research direction
No source file or test is identified. Start by tracing AsyncLearner initialization and the master-election path in RocketMQ 5.3.3 under the listed CentOS 7 and JDK 8 environment; done means an AsyncLearner cannot become Master during initialization and the behavior is covered by a suitable test.
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
- 30/100