Skip to content

Refactor ObjectStore messaging for `ToReport`

Problem to solve

The current implementation of messaging for ToReport queues (might be more) in the object store is a mess. Reusing values such as "vid", "tapepool", for things that are not actually that:

ArchiveQueueToReportForUser-L85105-DriveProcess-I1L90922-tpsrv431.cern.ch-28806-20230725-01:35:47-0-152
 "tapepool": "L85105",
RetrieveQueueToReportToRepackForSuccess-RepackRequest-OStoreDBFactory-runner-zzbcjzs-project-139306-concurrent-0-r3jj3boe-25469-20231004-15:42:37-180-3-OStoreDBFactory-runner-zzbcjzs-project-139306-concurrent-0-r3jj3boe-25469-20231004-15:42:37-180-3
  "vid": "RepackRequest-OStoreDBFactory-runner-zzbcjzs-project-139306-concurrent-0-r3jj3boe-25469-20231004-15:42:37-180-3",

This is also something that would be needed for the RDMBS Scheduler as a size limit in a VID column would be violated by theses queues.

Stakeholders

Proposal

Refactor the code and the protobuf messages and code handling to correct this behaviour.

Edited by Pablo Oliver Cortes