-
- Downloads
Reworked ArchiveRequest jobs lifecycles.
Changed the lifecycle of the ArchiveRequest to handle the various combinations of several jobs and their respective success/failures. Most notably, the request now holds a reportdecided boolan, which is set when decing to report. This happens when failing to archive one copy (first failure), or when all copies are transferred (success for all copies). Added support for in-mount retries. On falure, the job will be requeued (with a chance to pick it up again) in the same session if sane session retries are not exceeded. Otherwise, the job is left owned by the session, to be picked up by the garbage collector at tape unmount. Made disk reporter generic, dealing with both success and failure. Improved mount policy support fir queueing. Expanded information avaible in popped element from archive queues. Added optional parameters to ArchiveRequest::asyncUpdateJobOwner() to cover various cases. Updated the archive job statuses. Clarified naming of functions (transfer/report failure instead of bare \"failure\"). Updated garbage collector for new archive job statuses. Added support for report retries and batch reporting in the scheduler database. Updated obsolete wording in MigrationReportPacker log messages and error counts.
Showing
- eos/DiskReporter.hpp 1 addition, 1 deletioneos/DiskReporter.hpp
- eos/EOSReporter.cpp 1 addition, 1 deletioneos/EOSReporter.cpp
- eos/EOSReporter.hpp 1 addition, 1 deletioneos/EOSReporter.hpp
- eos/NullReporter.hpp 1 addition, 1 deletioneos/NullReporter.hpp
- objectstore/Algorithms.hpp 11 additions, 12 deletionsobjectstore/Algorithms.hpp
- objectstore/AlgorithmsTest.cpp 5 additions, 2 deletionsobjectstore/AlgorithmsTest.cpp
- objectstore/ArchiveQueueAlgorithms.cpp 35 additions, 7 deletionsobjectstore/ArchiveQueueAlgorithms.cpp
- objectstore/ArchiveQueueAlgorithms.hpp 9 additions, 4 deletionsobjectstore/ArchiveQueueAlgorithms.hpp
- objectstore/ArchiveRequest.cpp 184 additions, 55 deletionsobjectstore/ArchiveRequest.cpp
- objectstore/ArchiveRequest.hpp 62 additions, 17 deletionsobjectstore/ArchiveRequest.hpp
- objectstore/GarbageCollector.cpp 1 addition, 1 deletionobjectstore/GarbageCollector.cpp
- objectstore/GarbageCollectorTest.cpp 2 additions, 2 deletionsobjectstore/GarbageCollectorTest.cpp
- objectstore/cta.proto 7 additions, 3 deletionsobjectstore/cta.proto
- scheduler/ArchiveJob.cpp 49 additions, 46 deletionsscheduler/ArchiveJob.cpp
- scheduler/ArchiveJob.hpp 14 additions, 6 deletionsscheduler/ArchiveJob.hpp
- scheduler/ArchiveMount.cpp 5 additions, 53 deletionsscheduler/ArchiveMount.cpp
- scheduler/DiskReportRunner.cpp 10 additions, 42 deletionsscheduler/DiskReportRunner.cpp
- scheduler/OStoreDB/OStoreDB.cpp 335 additions, 80 deletionsscheduler/OStoreDB/OStoreDB.cpp
- scheduler/OStoreDB/OStoreDB.hpp 11 additions, 8 deletionsscheduler/OStoreDB/OStoreDB.hpp
- scheduler/OStoreDB/OStoreDBFactory.hpp 3 additions, 2 deletionsscheduler/OStoreDB/OStoreDBFactory.hpp
Loading
Please register or sign in to comment