better reason logged when not master

This commit is contained in:
Shay Banon 2012-09-19 18:28:14 +02:00
parent afc99ac42c
commit 7f6f001d15
1 changed files with 1 additions and 1 deletions

View File

@ -310,7 +310,7 @@ public class MasterFaultDetection extends AbstractComponent {
return;
} else if (exp.getCause() instanceof NotMasterException) {
logger.debug("[master] pinging a master {} that is not the master", masterNode);
notifyMasterFailure(masterToPing, "no longer master");
notifyMasterFailure(masterToPing, "not master");
return;
} else if (exp.getCause() instanceof NodeDoesNotExistOnMasterException) {
logger.debug("[master] pinging a master {} but we do not exists on it, act as if its master failure", masterNode);