Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Jira
serverONAP Jira
columnIdsissuekey,summary,issuetype,created,updated,duedate,assignee,reporter,priority,status,resolution
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId425b2b0a-557c-3c0c-b515-579789cceedb
keyCPS-1122

Assumptions/Decisions

...

#

Issue

Notes/Jira

Decision

1


2


3



4



Implementation Proposal

...

Distributed datastore solution for Module Sync Watchdog

#ClassesProposed Changes
1SynchronizationSemaphoresConfig

Change moduleSyncSemaphore type to Map<String, Long>

2SyncUtils
  1. Search for a free cm handle id, add it to the moduleSyncSemaphore with timestamp and add it to ModuleSyncWatchdog
  2. Remove timed out cm handle id from moduleSyncSemaphore
  3. time out border must be configurable from application.yaml
3ModuleSyncWatchdog

Remove cm handle id from moduleSyncSemaphore after module synchronization

Test

  • update existing tests to handle the new situations
  • create manual tests for the distributed datastore

Walking skeleton

Distributed datastore solution for Module Sync Watchdog