directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Alderson (JIRA)" <>
Subject [jira] Resolved: (DIRSERVER-998) Messages time out if acknowledged too quickly
Date Wed, 01 Aug 2007 20:57:53 GMT


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:
>             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.

View raw message