TransactionConfig txnConfig = new TransactionConfig();
txnConfig.setDurability(NO_ACK.getDurability());
txnConfig.setConsistencyPolicy(NO_CONSISTENCY);
NameIdPair nameIdPair = repImpl.getRepNode().getNameIdPair();
nameIdPair.revertToNull(); /* read transaction, so null id is ok. */
/* Now delete old nodes and the group, and establish a new group */
Txn txn = new MasterTxn(repImpl, txnConfig, nameIdPair);
RepGroupImpl prevRepGroup = fetchGroupObject(txn, dbImpl);
txn.commit();