Request that ProductNotFound rethrow by default
Mu2e requests that, for the mu2e executable, the default behaviour of art be changed so that, on a product not found exception, art enters graceful shutdown mode. The current default behaviour is that it prints a warning and skips to the next event. Mu2e has no use cases in which the default behaviour is useful. Or grid scripts force the desired behaviour but people developing code interactively get burned by this.
Speaking with my art workbook hat on, I would like this to be the default behaviour of art, not just the default for mu2e. I would like to discuss this at an upcoming stakeholders meeting to see if the other stakeholders concur on this change of behaviour for art.
For the record art's response to each category of exception is run time configurable. Some choices can be controlled from the command line and full fine grained control is available from within the .fcl file. This is documented at:
services.scheduler.Rethrow : [ ProductNotFound ] // and other categories for which you want this behaviour
services.scheduler.SkipEvent : [ ProductNotFound ] // and other categories for which you want this behaviour
services.scheduler.defaultExceptions : false // With the current art, ProductNotFound will rethrow instead of SkipEvent
#1 Updated by Christopher Green almost 5 years ago
- Category set to Application
- Status changed from New to Accepted
We are planning on doing this following a discussion at the stakeholders meeting on Thursday. However we are planning to check with all experiment contacts to verify that this is an acceptable change before implementing it.