CPS-1122 - Getting issue details... STATUS

Assumptions/Decisions


#

Issue

Notes/Jira

Decision

1


2


3



4



  • First, create "get the list" functionality
  • After it the synchronization

Implementation Proposal


Distributed datastore solution for Module Sync Watchdog

#ClassesProposed Changes
1SynchronizationSemaphoresConfig
  1. Change moduleSyncSemaphore type to Map<String, Boolean>[ value: is finished? (true/false)], use the "time to live" filter
  2. Set a higher value for the "time to live" filter , half hour?
2SyncUtils
  1. Return a list of "advised" cm handles 
3ModuleSyncWatchdog
  1. Iterate on the cm handle list
  2. Store in haselcast, that cm handle id which processing currently with value: false
  3. Set the boolean value true when finished

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