code: private void completeUpgradeImage(NamespaceInfo nsInfo) throws IOException {
      Preconditions.checkState(nsInfo.getNamespaceID() != 0,
          "can't upgrade with uninitialized namespace info: %s",
          nsInfo.toColonSeparatedString());
      LOG.info("Completing Upgrading image " + this.getJournalId()
          + " with namespace info: (" + nsInfo.toColonSeparatedString() + ")");
      // Do something about checkpoint image digests.
  
      imageStorage.completeUpgrade(nsInfo);
    }
docs: Complete the upgrade for local image storage with the given namespace.