IOVSvc: add dropObjectFromDB method
Add a method to invalidate IOVs and drop the associated objects from the
IOVDbSvc. The latter could already be achieved by IOVDbvSvc::dropObject
but this new method takes the relevant lock before modifying a folder object.
Also adjust the unit test (CondWriterExtAlg
) and the TrigCOOLUpdateHelper
to use this new method.
Could potentially fix crashes seen in the HLT (ATR-24383).