public void unlock() throws IOException {
    synchronized (this) {
      //trace("Releasing lock on " + file.getAbsolutePath)
      if (flock != null) {
        flock.release();
      }
    }
  }
Unlock the lock if it is held
ambry-utils/src/main/java/com/github/ambry/utils/FileLock.java