Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 44186 invoked from network); 21 Oct 2008 13:24:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Oct 2008 13:24:05 -0000 Received: (qmail 8347 invoked by uid 500); 21 Oct 2008 13:24:07 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 8311 invoked by uid 500); 21 Oct 2008 13:24:07 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 8300 invoked by uid 99); 21 Oct 2008 13:24:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Oct 2008 06:24:07 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Oct 2008 13:23:05 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3FD86234C220 for ; Tue, 21 Oct 2008 06:23:44 -0700 (PDT) Message-ID: <654085749.1224595424260.JavaMail.jira@brutus> Date: Tue, 21 Oct 2008 06:23:44 -0700 (PDT) From: =?utf-8?Q?Claus_K=C3=B6ll_=28JIRA=29?= To: dev@jackrabbit.apache.org Subject: [jira] Commented: (JCR-1825) DBDataStore doesn't support concurrent reads In-Reply-To: <1934245258.1224583844318.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-1825?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D126413= 74#action_12641374 ]=20 Claus K=C3=B6ll commented on JCR-1825: --------------------------------- i would also prefer to use the closeSilently Method from the DatabaseHelper= instead of ConnectionRecoveryManager so we can delete the Method in the ConnectionRecoveryManager > DBDataStore doesn't support concurrent reads > -------------------------------------------- > > Key: JCR-1825 > URL: https://issues.apache.org/jira/browse/JCR-1825 > Project: Jackrabbit > Issue Type: Bug > Components: jackrabbit-core > Affects Versions: 1.5.0 > Reporter: Przemo Pakulski > Fix For: 1.5.0 > > Attachments: patch.txt > > > My understanding is that setting parameter copyWhenReading to true should= allow concurrent reads by spooling binary property to temporary file and f= ree database resources (connection) immediately to make it available for ot= her threads. > After applying patch for JCR-1388, DBDataStore doesn't support concurrent= reads anymore, resultSet is kept open and db connection is blocked until t= he stream is read and closed. When copyWhenReading is set to true db connec= tion should be released immediately, this is the reason i guess why tempora= ry file is used. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.