Description
asanso reported that calls to LockManager.isLocked (or Node.isLocked) always results in the session being forcefully refreshed. This is inconsistent with other JCR level read operations which either don't refresh at all or only refresh in the SessionDelegate#prePerform if the RefreshStrategy in place mandates it.
The same seems to apply for those lock-related methods that include write: The session is always refreshed upon entering the methods, while other write operations either delegate refresh to the RefreshStrategy or only refresh once changes have been committed to the underlying Root.