docs: private static void safelyTruncateFile(
  			final FileSystem fileSystem,
  			final Path path,
  			final HadoopFsRecoverable recoverable) throws IOException {
  
  		ensureTruncateInitialized();
  
  		waitUntilLeaseIsRevoked(fileSystem, path);
  
  		// truncate back and append
  		boolean truncated;
  		try {
  			truncated = truncate(fileSystem, path, recoverable.offset());
  		} catch (Exception e) {
  			throw new IOException("Problem while truncating file: " + path, e);
  		}
  
  		if (!truncated) {
  			// Truncate did not complete immediately, we must wait for
  			// the operation to complete and release the lease.
  			waitUntilLeaseIsRevoked(fileSystem, path);
  		}
  	}