Open semmerson opened 9 years ago
Adding a short-circuit flag to pqact pattern-action file actions sounds like a good idea until you consider the implications which are that everyone that has the power to add/delete/modify existing actions needs to be made aware that adding the flag to an action near the beginning of the pattern-action file will affect matching against all other patterns in the file. So, if one user adds the short-circuit, then others' actions might start not being processed, and they may send us a support inquiry since they don't understand why later actions stopped being processed.
My thoughts, exactly.
Regards, Steve Emmerson
On Tue, Jan 5, 2021 at 12:21 PM Tom Yoksas notifications@github.com wrote:
Adding a short-circuit flag to pqact pattern-action file actions sounds like a good idea until you consider the implications which are that everyone that has the power to add/delete/modify existing actions needs to be made aware that adding the flag to an action near the beginning of the pattern-action file will affect matching against all other patterns in the file. So, if one user adds the short-circuit, then others' actions might start not being processed, and they may send us a support inquiry since they don't understand why later actions stopped being processed.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Unidata/LDM/issues/33#issuecomment-754845112, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEVZ7P3BVELQGY3QXCMMFDSYNRDPANCNFSM4A3Z3NYQ .
Add an option to the pqact(1) actions that would short-circuit further processing of a data-product once a match has occurred.