Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-2364

Management updates in timer create inconsistencies in a cluster.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.6
    • Fix Version/s: 0.6
    • Component/s: C++ Broker
    • Labels:
      None

      Description

      Management updates are triggered by a timer. They are not predictable for the
      cluster and so can cause cluster shut-downs and inconsistent message delivery.

      We have a hack in place that suppresses exceptions when the session receives
      completions for transfers not yet sent (which is the usual manifestation of the
      unpredictability). I.e. we have in essence disabled consistency checking for
      management sessions. This solved immediate problems but would quickly stop
      working if sessions/connections could be used for management and other things
      (as will be more likely with QMFv2 where using management becomes quite
      straightforward).

      In a cluster, management updates need to be synchronized by executing them in the cluster dispatch thread rather than a timer thread.

        Attachments

        1. periodic-timer.patch
          38 kB
          Alan Conway

          Activity

            People

            • Assignee:
              aconway Alan Conway
              Reporter:
              aconway Alan Conway
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: