Beispiel #1
0
  /** Update the catalog. If we're the MPI, don't bother with the EE. */
  public boolean updateCatalog(
      String diffCmds, CatalogContext context, CatalogSpecificPlanner csp, boolean isMPI) {
    m_context = context;
    m_loadedProcedures.loadProcedures(m_context, m_backend, csp);

    if (!isMPI) {
      // Necessary to quiesce before updating the catalog
      // so export data for the old generation is pushed to Java.
      m_ee.quiesce(m_lastCommittedTxnId);
      m_ee.updateCatalog(m_context.m_timestamp, diffCmds);
    }

    return true;
  }
Beispiel #2
0
 @Override
 public void quiesce() {
   m_ee.quiesce(m_lastCommittedTxnId);
 }