bug 11307: Using latest query result rather than set bumpup to false

After the host is disconnected, we can't get latest result, but it's not safe to
think it's priority bump up flag changed.
This commit is contained in:
Sheng Yang 2011-09-14 14:16:06 -07:00
parent be2d3c4c11
commit 0ef051b4d2
1 changed files with 1 additions and 1 deletions

View File

@ -810,7 +810,7 @@ public class VirtualNetworkApplianceManagerImpl implements VirtualNetworkApplian
command.setAccessDetail(NetworkElementCommand.ROUTER_NAME, router.getInstanceName());
final CheckRouterAnswer answer = (CheckRouterAnswer) _agentMgr.easySend(router.getHostId(), command);
RedundantState state = RedundantState.UNKNOWN;
boolean isBumped = false;
boolean isBumped = router.getIsPriorityBumpUp();
if (answer != null && answer.getResult()) {
state = answer.getState();
isBumped = answer.isBumped();