message: fix: add fix for role allocation
  and add some more debugging information
  fix
diff: @@ -99,9 +99,11 @@ export default class RoleAllocator {
  if (this.role === Role.Master_Pending && value.indexOf(CLAIM_PREFIX) === 0) {
  this.thereIsAnotherPotentialMaster(value);
  +
  + return;
  }
  - if (this.role === Role.Unknown) {
  + if (this.role === Role.Unknown || this.role === Role.Master_Pending) {
  this.thereIsAMaster();
  }
  @@ -113,6 +115,8 @@ export default class RoleAllocator {
  }
  private thereIsAnotherPotentialMaster(value) {
  + Log.debug('There is another potential master');
  +
  let foreignClaim = parseFloat(value.split(CLAIM_SEP)[1]);
  if (foreignClaim > this.claim) {
  @@ -157,6 +161,8 @@ export default class RoleAllocator {
  }
  private claimMaster = () => {
  + Log.debug('Claim master');
  +
  this.claimTimeout = setTimeout(() => {
  if (this.role === Role.Master_Pending) {
  this.startMaster();
  