Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-998

Messages time out if acknowledged too quickly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.5.0
    • 1.5.1
    • replication
    • None

    Description

      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.

      Attachments

        Activity

          People

            equim Martin Alderson
            equim Martin Alderson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: