You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

CPS-1122 - Getting issue details... STATUS

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 (free if it is not in moduleSyncSemaphore or timed out), add it to the moduleSyncSemaphore with current timestamp and put it to the ModuleSyncWatchdog
  2. Remove timed out cm handle ids 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

  • No labels