docs: void exitRestore() {
          try {
              m_zk.delete(m_generatedRestoreBarrier2, -1);
          } catch (Exception e) {
              VoltDB.crashLocalVoltDB("Unable to delete zk node " + m_generatedRestoreBarrier2, false, e);
          }
  
          if (m_callback != null) {
              m_callback.onSnapshotRestoreCompletion();
          }
  
          LOG.debug("Waiting for all hosts to complete restore");
          List<String> children = null;
          while (true) {
              try {
                  children = m_zk.getChildren(VoltZK.restore_barrier2, false);
              } catch (KeeperException e2) {
                  VoltDB.crashGlobalVoltDB(e2.getMessage(), false, e2);
              } catch (InterruptedException e2) {
                  continue;
              }
  
              if (children.size() > 0) {
                  try {
                      Thread.sleep(500);
                  } catch (InterruptedException e) {}
              } else {
                  break;
              }
          }
  
          // Clean up the ZK snapshot ID node so that we're good for next time.
          try
          {
              m_zk.delete(VoltZK.restore_snapshot_id, -1);
          }
          catch (Exception ignore) {}
      }