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

Broker diagram is not properly updated when new nodes become available

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.28.0
    • 2.29.0
    • Web Console
    • None

    Description

      Using an auto discovery cluster.
      When the number of nodes is reduced, the broker diagram is properly updated when the Refresh button is used.
      When the number of nodes is enlarged, the broker diagram is not properly updated when the Refresh button is used. The new nodes are visible, but their cluster-connections are not shown. The diagram can easily be fixed by using the browser refresh button instead, or by temporarily switching tabs within the Artemis console.

      The following diagram shows the effect:

      left image: initial situation with 5 nodes
      middle image: 3 nodes are added, and after Refresh button is used
      right image: after page refresh

      I know the JS code from the Console fairly well. I suspect a synchronisation error between the variables relations and hiddenRelations. I'll investigate and try to add a PR.
      A PR is added.

      Attachments

        1. image-2023-02-26-16-36-25-761.png
          52 kB
          Erwin Dondorp

        Issue Links

          Activity

            People

              Unassigned Unassigned
              erwindon Erwin Dondorp
              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 - 20m
                  20m