// Transition EntityGroupState to PENDING_OPEN
currentState = entityGroupStates.updateEntityGroupState(entityGroup,
EntityGroupState.State.PENDING_OPEN, plan.getDestination());
// Send OPEN RPC. This can fail if the server on other end is is not up.
// Pass the version that was obtained while setting the node to OFFLINE.
EntityGroupOpeningState entityGroupOpenState = serverManager
.sendEntityGroupOpen(plan.getDestination(), entityGroup,
versionOfOfflineNode);
if (entityGroupOpenState == EntityGroupOpeningState.ALREADY_OPENED) {
processAlreadyOpenedEntityGroup(entityGroup, plan.getDestination());
} else if (entityGroupOpenState == EntityGroupOpeningState.FAILED_OPENING) {