code: void checkDifferenceAndReconcile() {
      resetDiffsAndStats();
      checkDifference();
      
      // now reconcile the differences
      for (Entry<Integer, LinkedList<ScanDifference>> entry : diffsPerNamespace.entrySet()) {
        Integer namespaceId = entry.getKey();
        LinkedList<ScanDifference> diff = entry.getValue();
        for (ScanDifference info : diff) {
          try {
            dataset.checkAndUpdate(namespaceId, delta, info);
          } catch (IOException e) {
            LOG.warn("Cannot reconcile block " + info.toString(), e);
          }
        }
      }
    }
docs: Reconcile differences between disk and in-memory blocks