DylanB95EST | dc65647 | 2022-08-08 15:22:54 +0100 | [diff] [blame] | 1 | .. This work is licensed under a Creative Commons Attribution 4.0 International License. |
| 2 | .. http://creativecommons.org/licenses/by/4.0 |
| 3 | .. Copyright (C) 2022 Nordix Foundation |
| 4 | |
| 5 | .. DO NOT CHANGE THIS LABEL FOR RELEASE NOTES - EVEN THOUGH IT GIVES A WARNING |
emaclee | b176de2 | 2022-08-31 15:53:10 +0100 | [diff] [blame] | 6 | |
| 7 | .. _cpsScheduledProcesses: |
DylanB95EST | dc65647 | 2022-08-08 15:22:54 +0100 | [diff] [blame] | 8 | |
| 9 | |
| 10 | CPS Scheduled Processes |
| 11 | ####################### |
| 12 | |
| 13 | .. toctree:: |
| 14 | :maxdepth: 1 |
| 15 | |
| 16 | Introduction |
| 17 | ============ |
| 18 | |
| 19 | The following section is a list of the current scheduled processes running within the CPS system. |
| 20 | |
| 21 | Module Sync |
| 22 | ----------- |
| 23 | The module sync is a user :ref:`configurable timed process<additional-cps-ncmp-customizations>`, |
| 24 | which is set to search for CM-Handles within CPS with an *'ADVISED'* state. |
danielhanrahan | 5574043 | 2024-10-17 14:55:49 +0100 | [diff] [blame] | 25 | Once the CM-Handle is processed by the module sync, the CM-Handle state is then set to *'READY'*, if the process completes successfully. |
DylanB95EST | dc65647 | 2022-08-08 15:22:54 +0100 | [diff] [blame] | 26 | If for any reason the module sync fails, the CM-Handle state will then be set to *'LOCKED'*, |
| 27 | and the reason for the lock will also be stored within CPS. |
danielhanrahan | 5574043 | 2024-10-17 14:55:49 +0100 | [diff] [blame] | 28 | CM-Handles in the *'LOCKED'* state will be retried when the system has availability. CM-Handles in a *'LOCKED'* |
| 29 | state are processed by the retry mechanism, by setting CM-Handle state back to *'ADVISED'* so the next sync cycle will process those again. |
DylanB95EST | dc65647 | 2022-08-08 15:22:54 +0100 | [diff] [blame] | 30 | |
| 31 | Data Sync |
| 32 | --------- |
| 33 | The data sync is a user :ref:`configurable timed process<additional-cps-ncmp-customizations>`, |
| 34 | which is set to search for CM-Handles with a sync state of *'UNSYNCHRONIZED'*. |
| 35 | Once the CM-Handle(s) with a sync state of *'UNSYNCHRONIZED'* is processed by the data sync, |
| 36 | the CM-Handle sync state is then set to *'SYNCHRONIZED'*, if the process completes successfully. |
| 37 | If the data sync fails, the CM-Handle sync state will remain as *'UNSYNCHRONIZED'*, and will be re-attempted. |