PhEDExInjector - dmwm/WMCore GitHub Wiki

PhEDExInjector handles the WMAgent interactions with PhEDEx, which falls into 4 categories

  1. Injecting files files to PhEDEx
  2. Closing blocks in PhEDEx
  3. Making PhEDEx subscriptions
  4. Deleting blocks (for copy+delete subscriptions)

Block deletion triggers on processing being done for all workflows that created files in a block, the block being fully transferred to all target sites and no subscription being present for the site we injected it at. If all these conditions are met, it'll be deleted from the site it was originally injected at.

PhEDEx injection happens in parallel with DBS upload on the same data. Usually PhEDEx injection happens first since DBS only allow files to be uploaded on closed block. So there could be time data(file) is showing in PhEDEx but not in DBS. (The other way is possible in case PhEDExInjector has errors but unlikely)