if (sm == null && isStandby) {
msg = standbyNull;
} else if (sm == null) {
msg = notStandby;
} else {
isFailover = sm.failoverInProgress();
heartbeats = sm.getOutStandingHeartbeats();
reports = sm.getOutStandingReports();
}
} finally {
fsn.writeUnlock();