Skip to content

[Meta Ticket][cta-taped] Refactor Tape Daemon

WIP

The purpose of this ticket is to have a central place to keep track of all individual tasks that will be done to refactor the daemon according to the changed proposed in 2024-07-25's dev meeting ; Presentation

Main tasks

  1. Review ERROR/CRITICAL conditions for Drive and Maintenance Processes. This should be added to the developer documentation.

  2. Refactor exit logic of Drive and Maintenance processes.

    • Ideally the daemon should only exit if it fails during initialization or requires manual intervention.
    • Study restart mechanisms, i.e, change of DB endpoint. Rundeck job to trigger the restart of stopped services.
    • Add new monitoring/reporting to account for these changes.
  3. Split the daemon process hierarchy into different daemons.

Possible Extras

List of extras that could be added as part of this refactoring (or next steps):

Edited by Pablo Oliver Cortes