-
- Downloads
Fix holding of scheduler global lock while looping queues
Remove the looping through the retrieve queue jobs while holding the global lock in OStoreDB::fetchMountInfo. This was done when a tape was disabled, since we mount disabled tapes if they have pending retrieve requests. Instead we now mount the tape if the queue object info as in the mount policy map a mount policy whose name starts with "repack". With this change, cta-admin now forces repacks added with the --disabledtape to have a mount policy prefixed with repack (without the --disabledtape flag, the mount policy can have any name) Also Removed the criteria that a disabled/broken tape is mounted if the queue is filled with deleted retrieved jobs. Eventually the maxrequestage for the queue will expire, the tape will be mounted and the queue flushed
Showing
- ReleaseNotes.md 3 additions, 0 deletionsReleaseNotes.md
- continuousintegration/orchestration/tests/prepare_tests.sh 9 additions, 0 deletionscontinuousintegration/orchestration/tests/prepare_tests.sh
- continuousintegration/orchestration/tests/repack_systemtest_wrapper.sh 10 additions, 10 deletions...egration/orchestration/tests/repack_systemtest_wrapper.sh
- objectstore/RetrieveQueue.cpp 14 additions, 0 deletionsobjectstore/RetrieveQueue.cpp
- objectstore/RetrieveQueue.hpp 3 additions, 0 deletionsobjectstore/RetrieveQueue.hpp
- scheduler/OStoreDB/OStoreDB.cpp 18 additions, 28 deletionsscheduler/OStoreDB/OStoreDB.cpp
- scheduler/SchedulerTest.cpp 34 additions, 4 deletionsscheduler/SchedulerTest.cpp
- xroot_plugins/XrdSsiCtaRequestMessage.cpp 7 additions, 0 deletionsxroot_plugins/XrdSsiCtaRequestMessage.cpp
Loading
Please register or sign in to comment