code: private void reprocessCurrentSegmentIfNeeded(boolean status)
        throws IOException {
      if (status) {
        return;
      }
      assertState(StandbyIngestState.NOT_INGESTING);
      LOG.info("Standby: Quiesce - reprocessing edits segment starting at: "
          + currentSegmentTxId);
      instantiateIngest();
      quiesceIngest();
  
      // verify that the entire transaction log was truly consumed
      // when re-processing, if we fail here, we cannot do anything
      // better than fail
      if (!ingest.getIngestStatus()) {
        String emsg = "Standby: Quiesce could not successfully ingest "
            + "transaction log starting at " + currentSegmentTxId;
        LOG.warn(emsg);
        setIngestFailures(ingestFailures + 1);
        throw new IOException(emsg);
      }
    }
docs: Processes previously consumed edits segment if needed
  
  @param status of the previous ingest