Uploaded image for project: 'VOLTHA'
  1. VOLTHA
  2. VOL-1611

In-memory data values may get occasionally reverted by watch event

    XMLWordPrintable

    Details

    • Story Points:
      1
    • Sprint:
      VOLTHA 2.1 Sprint 1

      Description

      This Jira is there to simply monitor a case scenario where the data model may get out of sync due to conflicting changes made by the core and the watch mechanism.

      In the data model, KV watches are activated for devices that are currently in-memory.  If a core updates a device in the KV store, the watch gets activated for any core that has that device in-memory.  When the watch event is processed, it first check if another operation is currently in progress for that same device.  If so, it moves on.  Otherwise, it applies the content of the watch event to memory.  

      There have been occasional cases where the event was carrying data that was already outdated when it got applied to memory and essentially reverted the device to an older value/state.  From this point on, the impacted device is out of sync.  

       

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            sbarbari Stephane Barbarie
            Reporter:
            sbarbari Stephane Barbarie
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes