docs: private void handleInitiateResponseMessage(InitiateResponseMessage message)
      {
          //For mis-routed transactions, no update for truncation handle or duplicated counter
          if (message.isMisrouted()){
              m_mailbox.send(message.getInitiatorHSId(), message);
              return;
          }
  
          /**
           * A shortcut read is a read operation sent to any replica and completed with no
           * confirmation or communication with other replicas. In a partition scenario, it's
           * possible to read an unconfirmed transaction's writes that will be lost.
           */
          final long spHandle = message.getSpHandle();
          final DuplicateCounterKey dcKey = new DuplicateCounterKey(message.getTxnId(), spHandle);
          DuplicateCounter counter = m_duplicateCounters.get(dcKey);
          final VoltTrace.TraceEventBatch traceLog = VoltTrace.log(VoltTrace.Category.SPI);
  
          // All reads will have no duplicate counter.
          // Avoid all the lookup below.
          // Also, don't update the truncation handle, since it won't have meaning for anyone.
          if (message.isReadOnly()) {
              if (traceLog != null) {
                  traceLog.add(() -> VoltTrace.endAsync("initsp", MiscUtils.hsIdPairTxnIdToString(m_mailbox.getHSId(), message.m_sourceHSId, message.getSpHandle(), message.getClientInterfaceHandle())));
              }
  
              // InvocationDispatcher routes SAFE reads to SPI only
              assert(m_bufferedReadLog != null);
              m_bufferedReadLog.offer(m_mailbox, message, m_repairLogTruncationHandle);
              return;
          }
  
          if (counter != null) {
              String traceName = "initsp";
              if (message.m_sourceHSId != m_mailbox.getHSId()) {
                  traceName = "replicatesp";
              }
              String finalTraceName = traceName;
              if (traceLog != null) {
                  traceLog.add(() -> VoltTrace.endAsync(finalTraceName, MiscUtils.hsIdPairTxnIdToString(m_mailbox.getHSId(), message.m_sourceHSId, message.getSpHandle(), message.getClientInterfaceHandle()),
                                                        "hash", message.getClientResponseData().getHashes()[0]));
              }
  
              int result = counter.offer(message);
              if (result == DuplicateCounter.DONE) {
                  m_duplicateCounters.remove(dcKey);
                  final TransactionState txn = m_outstandingTxns.get(message.getTxnId());
                  setRepairLogTruncationHandle(spHandle, (txn != null && txn.isLeaderMigrationInvolved()));
                  m_mailbox.send(counter.m_destinationId, counter.m_lastResponse);
              }
              else if (result == DuplicateCounter.MISMATCH) {
                  if (m_isLeader && m_sendToHSIds.length > 0) {
                      StringBuilder sb = new StringBuilder();
                      for (long hsId : m_sendToHSIds) {
                          sb.append(CoreUtils.getHostIdFromHSId(hsId) + ":" + CoreUtils.getSiteIdFromHSId(hsId)).append(" ");
                      }
                      hostLog.info("Send dump plan message to other replicas: " + sb.toString());
                      m_mailbox.send(m_sendToHSIds, new DumpPlanThenExitMessage(counter.getStoredProcedureName()));
                  }
                  RealVoltDB.printDiagnosticInformation(VoltDB.instance().getCatalogContext(),
                          counter.getStoredProcedureName(), m_procSet);
                  VoltDB.crashLocalVoltDB("HASH MISMATCH: replicas produced different results.", true, null);
              } else if (result == DuplicateCounter.ABORT) {
                  if (m_isLeader && m_sendToHSIds.length > 0) {
                      StringBuilder sb = new StringBuilder();
                      for (long hsId : m_sendToHSIds) {
                          sb.append(CoreUtils.getHostIdFromHSId(hsId) + ":" + CoreUtils.getSiteIdFromHSId(hsId)).append(" ");
                      }
                      hostLog.info("Send dump plan message to other replicas: " + sb.toString());
                      m_mailbox.send(m_sendToHSIds, new DumpPlanThenExitMessage(counter.getStoredProcedureName()));
                  }
                  RealVoltDB.printDiagnosticInformation(VoltDB.instance().getCatalogContext(),
                          counter.getStoredProcedureName(), m_procSet);
                  VoltDB.crashLocalVoltDB("HASH MISMATCH: transaction succeeded on one replica but failed on another replica.", true, null);
              }
          }
          else {
              if (traceLog != null) {
                  traceLog.add(() -> VoltTrace.endAsync("initsp", MiscUtils.hsIdPairTxnIdToString(m_mailbox.getHSId(), message.m_sourceHSId, message.getSpHandle(), message.getClientInterfaceHandle())));
              }
              // the initiatorHSId is the ClientInterface mailbox.
              // this will be on SPI without k-safety or replica only with k-safety
              assert(!message.isReadOnly());
              setRepairLogTruncationHandle(spHandle, false);
  
              //BabySitter's thread (updateReplicas) could clean up a duplicate counter and send a transaction response to ClientInterface
              //if the duplicate counter contains only the replica's HSIDs from failed hosts. That is, a response from a replica could get here
              //AFTER the transaction is completed. Such a response message should not be further propagated.
              if (m_mailbox.getHSId() != message.getInitiatorHSId()) {
                  m_mailbox.send(message.getInitiatorHSId(), message);
              }
          }
  
          //notify the new partition leader that the old leader has completed the Txns if needed.
          //m_mailbox can be MockMailBox for unit test.
          if (!m_isLeader && m_mailbox instanceof InitiatorMailbox) {
              ((InitiatorMailbox)m_mailbox).notifyNewLeaderOfTxnDoneIfNeeded();
          }
      }