Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Beacon only fires to single random master in HA mode #49663
Description of Issue/Question
We are seeing an issue where certain beacons are only firing to a single random master. In particular this happens with the
@DmitryKuzmenko is already aware of this issue and some of the details.
What we expect to see is that the beacon would fire to all alive masters.
Configure 3-4 masters and connect at least a single minion in the environment. The minions should be connected in HA mode to all masters.
Steps to Reproduce Issue
I believe the way it currently works is by design. If you have the beacon fire to all masters then you're going to have all the masters potentially reacting to the event, which could end up with duplicate work.
What's wrong in that beacons behavior is that beacons handling is executed in each minion instance in multimaster environment that looks like it's not designed to do this. Because each of minion instances does the same work at the same time. Beacons should be handled once at a time (by
BTW @doesitblend I've checked it and confirm that beacons works like I've described before and in that example where we used