Unidata / LDM

The Unidata Local Data Manager (LDM) system includes network client and server programs designed for event-driven data distribution, and is the fundamental component of the Unidata Internet Data Distribution (IDD) system.
http://www.unidata.ucar.edu/software/ldm
Other
43 stars 27 forks source link

Add short-circuit option to pqact(1) actions #33

Open semmerson opened 9 years ago

semmerson commented 9 years ago

Add an option to the pqact(1) actions that would short-circuit further processing of a data-product once a match has occurred.

tyoksas commented 3 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.

semmerson commented 3 years ago

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 .