apache / apache/rocketmq-externals

[rocketmq-replicator] RmqMetaReplicator Initialize DefaultMQAdminExt exception

Open
#857 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
4.6k
Forks
3k
Avg merge
2h 33m
Merged PRs (30d)
1

Description

The issue tracker is **ONLY** used for bug report and feature request.

Any question or RocketMQ proposal please use our [mailing lists](http://rocketmq.apache.org/about/contact/).

**BUG REPORT**

1. Please describe the issue you observed:

- What did you do (The steps to reproduce)?

- What did you expect to see?

- What did you see instead?

2. Please tell us about your environment:

3. Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc):

**FEATURE REQUEST**

1. Please describe the feature you are requesting.

2. Provide any additional detail on your proposed use case for this feature.

2. Indicate the importance of this issue to you (blocker, must-have, should-have, nice-to-have). Are you currently using any workarounds to address this issue?

4. If there are some sub-tasks using -[] for each subtask and create a corresponding issue to map to the sub task:

- [sub-task1-issue-number](example_sub_issue1_link_here): sub-task1 description here,
- [sub-task2-issue-number](example_sub_issue2_link_here): sub-task2 description here,
- ...
![image](https://user-images.githubusercontent.com/48793283/149896500-fe6989e5-e987-4611-bb76-de0d93a9ccf9.png)
![image](https://user-images.githubusercontent.com/48793283/149896599-d6f678e5-3617-4af8-b139-a0369f360cff.png)
The location of the configValid parameter assignment is wrong, it should be above the prepare() method, which causes DefaultMQAdminExt to fail to initialize normally

![image](https://user-images.githubusercontent.com/48793283/154400881-6810cb23-4cc2-4a20-b10e-ba40a2f926c4.png)
WorkDirectTask put position error

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting RmqMetaReplicator initialization around the configValid assignment and prepare() method, then review the WorkDirectTask position handling. Reproduce the DefaultMQAdminExt initialization failure and verify that the configValid placement and WorkDirectTask position are corrected without introducing new errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, distributed-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.