You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by ju...@apache.org on 2010/08/10 13:06:53 UTC
svn commit: r983927 -
/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/session/SessionState.java
Author: jukka
Date: Tue Aug 10 11:06:52 2010
New Revision: 983927
URL: http://svn.apache.org/viewvc?rev=983927&view=rev
Log:
JCR-890: concurrent read-only access to a session
Reduce the concurrent use warning to a debug message, as these seem fairly common... :-(
Modified:
jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/session/SessionState.java
Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/session/SessionState.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/session/SessionState.java?rev=983927&r1=983926&r2=983927&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/session/SessionState.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/session/SessionState.java Tue Aug 10 11:06:52 2010
@@ -110,7 +110,7 @@ public class SessionState {
public <T> T perform(SessionOperation<T> operation)
throws RepositoryException {
if (!lock.tryLock()) {
- log.warn("Attempt to perform {} while another thread is"
+ log.debug("Attempt to perform {} while another thread is"
+ " concurrently accessing the session. Blocking until"
+ " the other thread is finished using this session.",
operation);