question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Scan brokerInActive if any error occurs.

See original GitHub issue

The 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:open
  • Created a year ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

3reactions
echooymxqcommented, Sep 7, 2022

@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.

0reactions
ni-zecommented, Sep 15, 2022

@echooymxq It is better to submit a pr for review.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found