-
- Downloads
Fixed long updating of statistics in object store leading to timeout.
The updating of statistic in the objecttore (in drive register) could wait for a lock for so long that the session get killed due to a heatbeat timeout. To avoid this, we use lockfree access as much as possible, and when locking it srequired, do it with a timeout. The timeout will be logged as a warning. Added timeouts to synchronous locking primitives in the object store backends to implement this feature. Fixed a bug where the VFS backend always used exclusive locks.
Showing
- objectstore/Backend.hpp 2 additions, 2 deletionsobjectstore/Backend.hpp
- objectstore/BackendRados.cpp 10 additions, 4 deletionsobjectstore/BackendRados.cpp
- objectstore/BackendRados.hpp 2 additions, 2 deletionsobjectstore/BackendRados.hpp
- objectstore/BackendVFS.cpp 29 additions, 11 deletionsobjectstore/BackendVFS.cpp
- objectstore/BackendVFS.hpp 3 additions, 3 deletionsobjectstore/BackendVFS.hpp
- objectstore/ObjectOps.hpp 4 additions, 4 deletionsobjectstore/ObjectOps.hpp
- scheduler/OStoreDB/OStoreDB.cpp 6 additions, 6 deletionsscheduler/OStoreDB/OStoreDB.cpp
- tapeserver/castor/tape/tapeserver/daemon/TaskWatchDog.hpp 15 additions, 2 deletionstapeserver/castor/tape/tapeserver/daemon/TaskWatchDog.hpp
Loading
Please register or sign in to comment