REPACKING_DISABLED queues not always selected for queueing
The REPACKING_DISABLED
state is not being taken into account here:
- https://gitlab.cern.ch/cta/CTA/-/blob/d97fed4b/objectstore/Helpers.cpp#L489
- https://gitlab.cern.ch/cta/CTA/-/blob/d97fed4b/scheduler/PostgresSchedDB/Helpers.cpp#L191
This means that the sub-requests might not be queued whenever the queue stats have not been cached.
It needs to be considered in these situations as well.
Edited by Joao Afonso