Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-176

Messages sent got lost when one of the brokers went down

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.5
    • 0.6.0
    • Routing Engine
    • None
    • Red Hat

    Description

      Config router to connect to two brokers.

      • A python client sends messages to the router. Another python client connects to the two brokers directly to receive messages.
      • Shutdown one of the brokers while the sender is sending messages to the router.

      Result: Some messages got lost. The sender did not get confirmation for all messages sent. The receiver did not get those messages either.

      router config used:

      listener

      { addr: 0.0.0.0 port: amqp sasl-mechanisms: ANONYMOUS }

      connector

      { name: broker1 role: on-demand addr: ... port: ... sasl-mechanisms: ANONYMOUS }

      connector

      { name: broker2 role: on-demand addr: ... port: ... sasl-mechanisms: ANONYMOUS }

      router

      { mode:standalone router-id: LB_R1 }

      waypoint

      { address: user.bar out-phase: 1 in-phase: 0 connector: broker1 }

      waypoint

      { address: user.bar out-phase: 1 in-phase: 0 connector: broker2 }

      fixed-address

      { prefix: /user phase: 0 fanout: single bias: spread }

      fixed-address

      { prefix: /user phase: 1 fanout: single bias: closest }

      log

      { module: ROUTER enable: trace+ }

      Attachments

        Activity

          People

            tross Ted Ross
            linuxta linuxta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: