-
- Downloads
Implemented promotion of repack requests from Pending to ToExpand
This promotion is controlled so that only a limited number a requests are in the state ToExpand or Starting at any point in time. This ensures both the availabality of repack file requests to system while preventing an explosion of file level requests. Created a one-round popping from the container (algorithms) with status switching. - Used for repack requests switching from pendig to to expand Added ElementStatus to algorithms. Implemented promotion interface in Scheduler and OstoreDb. The actual decision is taken at the Scheduler level. The function itself is called by the RepackRequestManager. Promotion is tested in a unit test. Various code maintenance: Switched to "using"-based constructor inheritance. Fixed privacy of function in cta::range.
Showing
- common/dataStructures/RepackInfo.hpp 4 additions, 2 deletionscommon/dataStructures/RepackInfo.hpp
- common/range.hpp 2 additions, 0 deletionscommon/range.hpp
- objectstore/Algorithms.hpp 151 additions, 8 deletionsobjectstore/Algorithms.hpp
- objectstore/ArchiveQueue.hpp 3 additions, 6 deletionsobjectstore/ArchiveQueue.hpp
- objectstore/ArchiveQueueAlgorithms.hpp 4 additions, 3 deletionsobjectstore/ArchiveQueueAlgorithms.hpp
- objectstore/CMakeLists.txt 2 additions, 0 deletionsobjectstore/CMakeLists.txt
- objectstore/ObjectOps.hpp 5 additions, 1 deletionobjectstore/ObjectOps.hpp
- objectstore/RepackQueue.cpp 20 additions, 0 deletionsobjectstore/RepackQueue.cpp
- objectstore/RepackQueue.hpp 16 additions, 4 deletionsobjectstore/RepackQueue.hpp
- objectstore/RepackQueueAlgorithms.hpp 45 additions, 69 deletionsobjectstore/RepackQueueAlgorithms.hpp
- objectstore/RepackQueuePendingAlgorithms.cpp 9 additions, 2 deletionsobjectstore/RepackQueuePendingAlgorithms.cpp
- objectstore/RepackQueueToExpandAlgorithms.cpp 1 addition, 0 deletionsobjectstore/RepackQueueToExpandAlgorithms.cpp
- objectstore/RepackRequest.cpp 34 additions, 12 deletionsobjectstore/RepackRequest.cpp
- objectstore/RepackRequest.hpp 4 additions, 2 deletionsobjectstore/RepackRequest.hpp
- objectstore/RetrieveQueueAlgorithms.hpp 1 addition, 0 deletionsobjectstore/RetrieveQueueAlgorithms.hpp
- scheduler/OStoreDB/OStoreDB.cpp 113 additions, 3 deletionsscheduler/OStoreDB/OStoreDB.cpp
- scheduler/OStoreDB/OStoreDB.hpp 29 additions, 2 deletionsscheduler/OStoreDB/OStoreDB.hpp
- scheduler/RepackRequestManager.cpp 33 additions, 0 deletionsscheduler/RepackRequestManager.cpp
- scheduler/Scheduler.cpp 30 additions, 0 deletionsscheduler/Scheduler.cpp
- scheduler/Scheduler.hpp 2 additions, 0 deletionsscheduler/Scheduler.hpp
Loading
Please register or sign in to comment