Scan brokerInActive if any error occurs.
See original GitHub issueThe current change BrokerRole implementation is detects the broker’s heartbeat periodically. https://github.com/apache/rocketmq/blob/10e8e6b8ae565095cfa6c70fa07857e526a20d0d/controller/src/main/java/org/apache/rocketmq/controller/impl/DefaultBrokerHeartbeatManager.java#L77-L86
The above code, iterator.remove()
remove first and with async notify mechanism to elect a master, if there are any failure or timeout(eg: write to DLedger error), no retry mechanism, The broker always have no leader?
Issue Analytics
- State:
- Created a year ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Set a False Positive Scan Result to Inactive
A best practice in vulnerability assessment is to set false positive scan results as inactive; thereby removing it from view in the console,...
Read more >Inactive Agents (new feature) - Tenable Community
When an agent is un-link in tenable.io, you still have to manually type the command in the command prompt. I found some times...
Read more >Automate offline computer removal with inactive agent cleanup
This event is generated when the inactive agent cleanup job runs and successfully removes computers. The description for this event will tell you...
Read more >What does "number of INACTIVE days before a computer is ...
If a machine is plugged in to the network and powered on but no one is logged in the agent will still scan...
Read more >Scanning Amazon EC2 instances with Amazon Inspector
If you are already using SSM to manage your instances, no additional steps are needed for Amazon Inspector to begin scans. The SSM...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@RongtongJin I don’t tend to use this approach of detects the broker’s heartbeat periodically, i prefer use a schedule task to scan the broker health, heartbeat just means the broker active status. i will submit a PR and try to resolve it.
@echooymxq It is better to submit a pr for review.