Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
mon: PGMonitor add check only concern our self cluster command #9976
I understand what you are trying to achieve with this patch: making sure the PGMonitor will only handle messages that target this cluster, especially in environments where there may be other ceph clusters around.
However, I am curious: how does one incur in such an issue? Unless the admin is somehow sharing ceph.conf across multiple clusters, or allowing clients from another cluster to contact this cluster, you should never hit a condition where this happens. If it does, please do let us know and how to reproduce.
In any case, it would be nice if you were to propose a few more patches for all the consumers of PaxosServiceMessage's that have an fsid, not just for those from the PGMonitor.
@liewegas this was tested pls merge
added infra fix ceph/ceph: Pull Request 13279