Source:
<code>public boolean createTransaction( final long connectionId, final long txnId, final long uniqueId, final StoredProcedureInvocation invocation, final boolean isReadOnly, final boolean isSinglePartition, final boolean isEveryPartition, final int partition, final int messageSize, long nowNanos, final boolean isForReplay) { assert(!isSinglePartition || (partition >= 0)); final ClientInterfaceHandleManager cihm = m_cihm.get(connectionId); if (cihm == null) { hostLog.warn("InvocationDispatcher.createTransaction request rejected. " <START> + "This is likely due VoltDB ceasing client communication as it " <END> + "shuts down."); return false; } Long initiatorHSId = null; boolean isShortCircuitRead = false; if (isSinglePartition && !isEveryPartition) { if (isReadOnly) { initiatorHSId = m_localReplicas.get().get(partition); } if (initiatorHSId != null) { isShortCircuitRead = true; } else { initiatorHSId = m_cartographer.getHSIdForSinglePartitionMaster(partition); } } else { initiatorHSId = m_cartographer.getHSIdForMultiPartitionInitiator(); if (isReadOnly) { isShortCircuitRead = true; } } if (initiatorHSId == null) { hostLog.error("Failed to find master initiator for partition: " + Integer.toString(partition) + ". Transaction not initiated."); return false; } long handle = cihm.getHandle(isSinglePartition, partition, invocation.getClientHandle(), messageSize, nowNanos, invocation.getProcName(), initiatorHSId, isReadOnly, isShortCircuitRead); Iv2InitiateTaskMessage workRequest = new Iv2InitiateTaskMessage(m_siteId, initiatorHSId, Iv2InitiateTaskMessage.UNUSED_TRUNC_HANDLE, txnId, uniqueId, isReadOnly, isSinglePartition, invocation, handle, connectionId, isForReplay); Iv2Trace.logCreateTransaction(workRequest); m_mailbox.send(initiatorHSId, workRequest); return true; }</code><technical_language>"due to"</technical_language>

Target:
public boolean createTransaction( final long connectionId, final long txnId, final long uniqueId, final StoredProcedureInvocation invocation, final boolean isReadOnly, final boolean isSinglePartition, final boolean isEveryPartition, final int partition, final int messageSize, long nowNanos, final boolean isForReplay) { assert(!isSinglePartition || (partition >= 0)); final ClientInterfaceHandleManager cihm = m_cihm.get(connectionId); if (cihm == null) { hostLog.warn("InvocationDispatcher.createTransaction request rejected. " + "This is likely due VoltDB ceasing client communication as it " + "shuts down."); return false; } Long initiatorHSId = null; boolean isShortCircuitRead = false; if (isSinglePartition && !isEveryPartition) { if (isReadOnly && (m_defaultConsistencyReadLevel == ReadLevel.FAST)) { initiatorHSId = m_localReplicas.get().get(partition); } if (initiatorHSId != null) { isShortCircuitRead = true; } else { initiatorHSId = m_cartographer.getHSIdForSinglePartitionMaster(partition); } } else { initiatorHSId = m_cartographer.getHSIdForMultiPartitionInitiator(); if (isReadOnly) { isShortCircuitRead = true; } } if (initiatorHSId == null) { hostLog.error("Failed to find master initiator for partition: " + Integer.toString(partition) + ". Transaction not initiated."); return false; } long handle = cihm.getHandle(isSinglePartition, partition, invocation.getClientHandle(), messageSize, nowNanos, invocation.getProcName(), initiatorHSId, isReadOnly, isShortCircuitRead); Iv2InitiateTaskMessage workRequest = new Iv2InitiateTaskMessage(m_siteId, initiatorHSId, Iv2InitiateTaskMessage.UNUSED_TRUNC_HANDLE, txnId, uniqueId, isReadOnly, isSinglePartition, invocation, handle, connectionId, isForReplay); Iv2Trace.logCreateTransaction(workRequest); m_mailbox.send(initiatorHSId, workRequest); return true; }