{
Checkpoint sysCheckpt = createCheckpoint(curState, nextEvent);
try
{
long scn = sysCheckpt.getConsumptionMode() == DbusClientMode.ONLINE_CONSUMPTION ?
nextEvent.sequence() : sysCheckpt.getBootstrapSinceScn();
//ensure that control event with 0 scn doesn't get saved unless it is during snapshot of bootstrap
if (scn > 0 || sysCheckpt.getConsumptionMode()==DbusClientMode.BOOTSTRAP_SNAPSHOT)
{
success = doStoreCheckpoint(curState, nextEvent, sysCheckpt,
new SingleSourceSCN(nextEvent.physicalPartitionId(),scn));