Return-Path: X-Original-To: apmail-manifoldcf-user-archive@www.apache.org Delivered-To: apmail-manifoldcf-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 64B85100C6 for ; Fri, 12 Dec 2014 18:56:46 +0000 (UTC) Received: (qmail 60565 invoked by uid 500); 12 Dec 2014 18:56:46 -0000 Delivered-To: apmail-manifoldcf-user-archive@manifoldcf.apache.org Received: (qmail 60511 invoked by uid 500); 12 Dec 2014 18:56:46 -0000 Mailing-List: contact user-help@manifoldcf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@manifoldcf.apache.org Delivered-To: mailing list user@manifoldcf.apache.org Received: (qmail 60500 invoked by uid 99); 12 Dec 2014 18:56:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Dec 2014 18:56:46 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of daddywri@gmail.com designates 209.85.160.182 as permitted sender) Received: from [209.85.160.182] (HELO mail-yk0-f182.google.com) (209.85.160.182) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Dec 2014 18:56:21 +0000 Received: by mail-yk0-f182.google.com with SMTP id 131so3367003ykp.41 for ; Fri, 12 Dec 2014 10:56:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=8fQcdWedwZLNYLbul8wXSbsQoWeRZ9ImC7aoFTY9NEc=; b=1CfIs30QaTDYqOXux0NS89cJzhir8K1CBKZcz6P46NmX4WXUMBeW4AAKtCVwYCJKiD O2pJ4m6ugfz+r1wtnfWi1dQehSJKT5bYYsndPypEL4Na035uZ21iGbZu4N2sgBLqvssh KpoGJglNohhGrOmf64bsycrur+6R2FX3U0zIiWbXKPgPsfklPBx5g4AeV2eNhUd+qouk hreo4MExGnos7oW2rNyod+gg+Nia8XmxCZ1Kh7IIGQ/YhTF7OSejnDMGlQFSxwpLgSDv n9hknaVqapuGOyJVVuo+7YBqliJ/OlcdmxhypwkCzHBAIgwfHkUZkCZ+iWZ1HJVdapv4 ACfQ== MIME-Version: 1.0 X-Received: by 10.236.60.230 with SMTP id u66mr12901511yhc.43.1418410580069; Fri, 12 Dec 2014 10:56:20 -0800 (PST) Received: by 10.170.205.65 with HTTP; Fri, 12 Dec 2014 10:56:19 -0800 (PST) In-Reply-To: References: Date: Fri, 12 Dec 2014 13:56:19 -0500 Message-ID: Subject: Re: stuffamountfactor and getting more work done From: Karl Wright To: "user@manifoldcf.apache.org" Content-Type: multipart/alternative; boundary=001a11c20654c55445050a09720f X-Virus-Checked: Checked by ClamAV on apache.org --001a11c20654c55445050a09720f Content-Type: text/plain; charset=UTF-8 Yes, I believe it is. Karl On Fri, Dec 12, 2014 at 1:09 PM, Aeham Abushwashi < aeham.abushwashi@exonar.com> wrote: > > Thanks Karl. > > I see that JobManager#fetchAndProcessDocuments invokes > database.beginTransaction soon after acquiring the lock. Is that > transaction necessary? > --001a11c20654c55445050a09720f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Yes, I believe it is.=C2=A0

Karl


On Fri, Dec 12, 2014 = at 1:09 PM, Aeham Abushwashi <aeham.abushwashi@exonar.com>= ; wrote:
Thanks Karl.=

I see that JobManager#fetchAndProcessDocuments invokes database.beg= inTransaction soon after acquiring the lock. Is that transaction necessary?=
--001a11c20654c55445050a09720f--