Skip to content

Do not allow tape server to transition from `REPACKING_DISABLED` to `DISABLED`

As explained in https://gitlab.cern.ch/cta/operations/-/issues/979, there have been automatic transitions from tape state REPACKING_DISABLED to DISABLED.

As decided in #83 (closed), this is not allowed.

The piece of code responsible for this wrong transition is this one: https://gitlab.cern.ch/cta/CTA/-/blob/main/tapeserver/castor/tape/tapeserver/daemon/CleanerSession.cpp#L163

Edited by Joao Afonso