Carmelo Cascone 0e3b623f66 Reduce the chance of apps triggering fake mastership events
The GeneralDeviceProvider works with device IDs with prefix "device:",
which is the same leadership topic prefix used by the Mastership
service. This caused an issue when any app was creating leadership
contests with topic deviceId.toString() (e.g. XConnectManager,
DefaultRoutingHandler, etc), as the resulting leadership events where
picked by the mastership service and propagated, because of the "device:"
prefix.

This patch minimizes the occurrence of such issue by choosing a more
specific leadership topic prefix for the mastership service. However,
the right solution would be to add isolation of leadership contests
between different services/apps.

Change-Id: I333fd9796a66bb4ca04cd2facd337ac57a2947b2
2019-03-13 00:43:28 +00:00
..
2019-03-12 20:23:17 +00:00
2019-02-22 18:01:45 +00:00