code: public void stopSyncInternal(AlluxioURI syncPoint, MountTable.Resolution resolution) {
      try (LockResource r = new LockResource(mSyncManagerLock)) {
        LOG.debug("stop syncPoint {}", syncPoint.getPath());
        RemoveSyncPointEntry removeSyncPoint = File.RemoveSyncPointEntry.newBuilder()
            .setSyncpointPath(syncPoint.toString())
            .setMountId(resolution.getMountId())
            .build();
        apply(removeSyncPoint);
        try {
          stopSyncPostJournal(syncPoint);
        } catch (Throwable e) {
          // revert state;
          AddSyncPointEntry addSyncPoint =
              File.AddSyncPointEntry.newBuilder()
                  .setSyncpointPath(syncPoint.toString()).build();
          apply(addSyncPoint);
          recoverFromStopSync(syncPoint, resolution.getMountId());
        }
      }
    }
docs: stop active sync on a URI.
  
  @param syncPoint sync point to be stopped
  @param resolution path resolution for the sync point