<div id="docs-body">
 <div class="section">
  <div class="titlepage">
   <div>
    <div>
     <h4 class="title">
      <a name="mysql-cluster-limitations-error-handling">
      </a>
      25.2.7.4 NDB Cluster Error Handling
     </h4>
    </div>
   </div>
  </div>
  <a class="indexterm" name="idm46045123321264">
  </a>
  <p>
   Starting, stopping, or restarting a node may give rise to
        temporary errors causing some transactions to fail. These
        include the following cases:
  </p>
  <div class="itemizedlist">
   <ul class="itemizedlist" style="list-style-type: disc; ">
    <li class="listitem">
     <p>
      <b>
       Temporary errors.
      </b>
      When first starting a node, it is possible that you may
              see Error 1204
      <span class="errortext">
       Temporary failure, distribution
              changed
      </span>
      and similar temporary errors.
     </p>
    </li>
    <li class="listitem">
     <p>
      <b>
       Errors due to node failure.
      </b>
      The stopping or failure of any data node can result in a
              number of different node failure errors. (However, there
              should be no aborted transactions when performing a
              planned shutdown of the cluster.)
     </p>
    </li>
   </ul>
  </div>
  <p>
   In either of these cases, any errors that are generated must be
        handled within the application. This should be done by retrying
        the transaction.
  </p>
  <p>
   See also
   <a class="xref" href="mysql-cluster-limitations-limits.html" title="25.2.7.2 Limits and Differences of NDB Cluster from Standard MySQL Limits">
    Section 25.2.7.2, “Limits and Differences of NDB Cluster from Standard MySQL Limits”
   </a>
   .
  </p>
 </div>
 <br/>
</div>
