if (requiredAckCount > activeReplicaCount) {
/* Check for possible activation of Primary */
if (repNode.tryActivatePrimary()) {
txn.resetRequiredAckCount();
} else {
InsufficientReplicasException ire =
new InsufficientReplicasException
(txn, ackPolicy, requiredAckCount,
repNode.feederManager().activeReplicas());
LoggerUtils.info(envLogger, this, ire.getMessage());
throw ire;
}
}
feederTxns.setupForAcks(txn);
}