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

Mirror sync replication

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.28.0
    • None
    • None

    Description

      I'm adding an option sync=true|false on mirror.

      It will be possible to configure a mirror as this:

      <broker-connections>
      <amqp-connection uri="tcp://test1:111" name="test1" retry-interval="333" reconnect-attempts="33" user="testuser" password="testpassword">
      <mirror sync="true"/>
      </amqp-connection
      </broker-connection>

      if sync is set to true, any client blocking operation would wait a mirror callback.

      With that option set, any blocking operation on the broker will wait a mirror roundtrip:

      tx.commit(), session.send (non transactional). client.ack (when configured as sync).

      Notice that in AMQP client dispositions are always asynchronous, hence it's only possible to sync acks if using transactional for AMQP.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 5h 20m
                  5h 20m