Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-1304

Communication Timeout on Commit & Failover can lead to message loss

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1.0
    • 2.2.0
    • None
    • None

    Description

      There is a small window that if your server takes more than the call Timeout to activate during a failover, the client will fail to commit with a communication exception, and there won't be any rollbacks associated with the TX.

      if the client doesn't treat the exception, the consumers may have a wrong buffer on consumers and you may endup losing messages.

      Workaround: always reconnect the session, or rollback after a failure... or set the callTimeout > time your server would need to activate itself.

      This is likely a minor issue, but I would rather fix it.

      Attachments

        Issue Links

          Activity

            People

              clebertsuconic Clebert Suconic
              clebertsuconic Clebert Suconic
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: