Uploaded image for project: 'mdsal'
  1. mdsal
  2. MDSAL-429

In-memory datastore delivers listener events after the listener is closed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • 3.0.9, 4.0.3
    • None
    • IMDS
    • None

      This was noted during migration to yangtools-3.0.0: IMDS BatchedInvoker does not check listener registration before invoking the listener. This means that events continue to be delivered to the listener event after it has been unregistered and while the API contract is not clear on this, we should strive to stop delivery as soon as possible, to clear out stale state from the system.

      Fixing this in MDSAL breaks tests in controller, which points towards mdsal not containing the entire test suite and that the suite is incorrect (it relies on those events being delivered).

      As part of fixing this issue, backport the tests and fix them up in both mdsal and controller.

            rovarga Robert Varga
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: