Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-18626

Dali subscription notification problems if replacing tree

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.0.0
    • Component/s: Dali
    • Labels:
      None

      Description

      If a node is replaced in Dali and a subscription is matches that has request the value, it will be informed of the change, but not the value.
      This is because there are 2 events associated with the replace, the delete and the new tree. The notificaiton only receives 1 notification per node, and should receive the new value notificaiton.
      Since the delete always comes 1st and is registered on a change node for the purposes of the subscription scanning, we can ensure the new value proceeds the delete event by re-ordering the sequence the changes at the node level are scanned.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jakesmith Jake Smith
                Reporter:
                jakesmith Jake Smith
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: