Source:
<code>private VoltTable[] fastPath(List<QueuedSQL> batch) { final int batchSize = batch.size(); Object[] params = new Object[batchSize]; long[] fragmentIds = new long[batchSize]; String[] sqlTexts = new String[batchSize]; int succeededFragmentsCount = 0; int i = 0; for (final QueuedSQL qs : batch) { assert(qs.stmt.collector == null); fragmentIds[i] = qs.stmt.aggregator.id; if (qs.serialization != null) { params[i] = qs.serialization; } else { params[i] = qs.params; } sqlTexts[i] = qs.stmt.getText(); i++; } VoltTable[] results = null; getExecutionEngine().setPerFragmentTimingEnabled(m_perCallStats.samplingStmts()); try { results = m_site.executePlanFragments( batchSize, fragmentIds, null, params, sqlTexts, m_txnState.txnId, m_txnState.m_spHandle, m_txnState.uniqueId, m_isReadOnly); } catch (Throwable ex) { if (! m_isReadOnly) { m_site.truncateUndoLog(true, m_spBigBatchBeginToken >= 0 ? m_spBigBatchBeginToken: m_site.getLatestUndoToken(), m_txnState.m_spHandle, null); } throw ex; } finally { long[] executionTimes = null; if (m_perCallStats.samplingStmts()) { executionTimes = new long[batchSize]; } succeededFragmentsCount = getExecutionEngine().extractPerFragmentStats(batchSize, executionTimes); for (i = 0; i < batchSize; i++) { QueuedSQL qs = batch.get(i); boolean hasCoordinatorTask = false; boolean failed = i == succeededFragmentsCount; m_perCallStats.recordStatementStats(qs.stmt.getStmtName(), <START> hasCoordinatorTask, <END> failed, executionTimes == null ? 0 : executionTimes[i], results == null ? null : results[i], qs.params); if (failed) { break; } } } return results; }</code><technical_language>John, this is a naming error I forgot correct, this is hasCoordinatorTask, isCoordinatorTask</technical_language>

Target:
private VoltTable[] fastPath(List<QueuedSQL> batch) { final int batchSize = batch.size(); Object[] params = new Object[batchSize]; long[] fragmentIds = new long[batchSize]; String[] sqlTexts = new String[batchSize]; int succeededFragmentsCount = 0; int i = 0; for (final QueuedSQL qs : batch) { assert(qs.stmt.collector == null); fragmentIds[i] = qs.stmt.aggregator.id; if (qs.serialization != null) { params[i] = qs.serialization; } else { params[i] = qs.params; } sqlTexts[i] = qs.stmt.getText(); i++; } VoltTable[] results = null; getExecutionEngine().setPerFragmentTimingEnabled(m_perCallStats.samplingStmts()); try { results = m_site.executePlanFragments( batchSize, fragmentIds, null, params, sqlTexts, m_txnState.txnId, m_txnState.m_spHandle, m_txnState.uniqueId, m_isReadOnly); } catch (Throwable ex) { if (! m_isReadOnly) { m_site.truncateUndoLog(true, m_spBigBatchBeginToken >= 0 ? m_spBigBatchBeginToken: m_site.getLatestUndoToken(), m_txnState.m_spHandle, null); } throw ex; } finally { long[] executionTimes = null; if (m_perCallStats.samplingStmts()) { executionTimes = new long[batchSize]; } succeededFragmentsCount = getExecutionEngine().extractPerFragmentStats(batchSize, executionTimes); for (i = 0; i < batchSize; i++) { QueuedSQL qs = batch.get(i); boolean isCoordinatorTask = false; boolean failed = i == succeededFragmentsCount; m_perCallStats.recordStatementStats(qs.stmt.getStmtName(), isCoordinatorTask, failed, executionTimes == null ? 0 : executionTimes[i], results == null ? null : results[i], qs.params); if (failed) { break; } } } return results; }