From dev-return-13571-apmail-openjpa-dev-archive=openjpa.apache.org@openjpa.apache.org Sat Sep 12 02:55:22 2009 Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 18365 invoked from network); 12 Sep 2009 02:55:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Sep 2009 02:55:22 -0000 Received: (qmail 77013 invoked by uid 500); 12 Sep 2009 02:55:22 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 76931 invoked by uid 500); 12 Sep 2009 02:55:21 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 76921 invoked by uid 99); 12 Sep 2009 02:55:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Sep 2009 02:55:21 +0000 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; Sat, 12 Sep 2009 02:55:18 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 792CD234C004 for ; Fri, 11 Sep 2009 19:54:57 -0700 (PDT) Message-ID: <472936961.1252724097481.JavaMail.jira@brutus> Date: Fri, 11 Sep 2009 19:54:57 -0700 (PDT) From: "Tim McConnell (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Updated: (OPENJPA-1247) WriteBehindCallback sleepTime interval of one EMF datacache adversely impacting other EMF datacache In-Reply-To: <222857844.1250320994823.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/OPENJPA-1247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tim McConnell updated OPENJPA-1247: ----------------------------------- Patch Info: [Patch Available] > WriteBehindCallback sleepTime interval of one EMF datacache adversely impacting other EMF datacache > --------------------------------------------------------------------------------------------------- > > Key: OPENJPA-1247 > URL: https://issues.apache.org/jira/browse/OPENJPA-1247 > Project: OpenJPA > Issue Type: Bug > Components: writebehind > Affects Versions: 2.0.0 > Reporter: Tim McConnell > Assignee: Tim McConnell > Fix For: 2.0.0 > > Attachments: OPENJPA-1247.patch > > > This problem surfaced when the WriteBehind configuration testcases introduced in OPENJPA-1237 caused the existing WriteBehind testcases in trunk to fail. Apparently, the WriteBehindCallback sleepTime interval of one EMF datacache is being used and adversely impacting other EMF datacaches. This is not the desired behavior as the WriteBehind datacache for each EMF should exist and function independently of any other WriteBehind datacache(s). The easiest way to demonstrate this failure is to increase the WriteBehindCallback sleepTime internval from 1000 to 15000 milliseconds in each of the testcases in TestWriteBehindConfigurations, as it will cause other WriteBehind testcases in trunk to fail. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.