log.debug("Ignoring lock on {} held by {}, not held by this session",
path, userId);
} else if (lock.isSessionScoped()) {
log.info("Unlocking session-scoped lock on {} held by {}",
path, userId);
node.unlock();
} else {
log.warn("Dropping lock token of permanent lock on {} held by {}",
path, userId);
session.removeLockToken(lock.getLockToken());
}