Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 79186 invoked from network); 1 Aug 2007 20:58:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Aug 2007 20:58:18 -0000 Received: (qmail 46072 invoked by uid 500); 1 Aug 2007 20:58:18 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 45849 invoked by uid 500); 1 Aug 2007 20:58:15 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 45838 invoked by uid 99); 1 Aug 2007 20:58:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2007 13:58:15 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2007 20:57:51 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 11D4671403F for ; Wed, 1 Aug 2007 13:57:53 -0700 (PDT) Message-ID: <32189614.1186001873070.JavaMail.jira@brutus> Date: Wed, 1 Aug 2007 13:57:53 -0700 (PDT) From: "Martin Alderson (JIRA)" To: dev@directory.apache.org Subject: [jira] Resolved: (DIRSERVER-998) Messages time out if acknowledged too quickly In-Reply-To: <32224433.1184528284682.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DIRSERVER-998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Alderson resolved DIRSERVER-998. --------------------------------------- Resolution: Fixed Assignee: Martin Alderson Fixed by scheduling the messages for timeout before they are sent. > Messages time out if acknowledged too quickly > --------------------------------------------- > > Key: DIRSERVER-998 > URL: https://issues.apache.org/jira/browse/DIRSERVER-998 > Project: Directory ApacheDS > Issue Type: Bug > Components: mitosis > Affects Versions: 1.5.0 > Reporter: Martin Alderson > Assignee: Martin Alderson > Priority: Minor > Fix For: 1.5.1 > > > Every so often a message (a login or logEntry message) will be written to a peer (by a 'client') and an acknowledgement is sent back before the sender knows that the original message has been sent. We do not allow any more messages to be sent until the last sent message has been acknowledged or has timed out (which takes 60 seconds by default). > In the code, the points of interest are ReplicationClientContextHandler#messageSent, ReplicationClientContextHandler#messageReceived and ReplicationClientContextHandler#beginReplication (which only begins replication if there are no unacknowledged messages). > This isn't a major problem as replication will continue after the message has timed out, but it slows things down and is especiually bad for tests which expect replication to succeed within a few seconds. > When this issue is fixed ReplicationServiceITest#testTwoWayBind should be re-enabled. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.