You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-dev@jackrabbit.apache.org by Robert Munteanu <ro...@apache.org> on 2017/03/24 08:37:26 UTC

Logger category org.apache.jackrabbit.oak.jcr.operations.writes includes 'refresh' operation

Hi,

With Oak 1.6.1 I've enabled the
org.apache.jackrabbit.oak.jcr.operations.writes logger to write on
TRACE level, and I notice lots of 'refresh' operations. Is that
expected? Looks to me more like a read operation than a write one.

Robert

Re: Logger category org.apache.jackrabbit.oak.jcr.operations.writes includes 'refresh' operation

Posted by Chetan Mehrotra <ch...@gmail.com>.
Its a write operation as it has potential to change the session state.
If the refresh is done with keepChanges=false the current transient
changes would be discarded.
Chetan Mehrotra


On Fri, Mar 24, 2017 at 2:07 PM, Robert Munteanu <ro...@apache.org> wrote:
> Hi,
>
> With Oak 1.6.1 I've enabled the
> org.apache.jackrabbit.oak.jcr.operations.writes logger to write on
> TRACE level, and I notice lots of 'refresh' operations. Is that
> expected? Looks to me more like a read operation than a write one.
>
> Robert