The only reason why I was considering a "TPP" option: it fills a gap in
the available functionality for DB links. You can make them PP or NPP,
but you can't make them work like CA links do. Which is why you cannot
split a DB on two IOCs without thoroughly checking for unexpected side
effects.
Other than that, I have no use case, so my point is admittedly somewhat
academic.
--
You received this bug notification because you are a member of EPICS
Core Developers, which is subscribed to EPICS Base.
Matching subscriptions: epics-core-list-subscription
https://bugs.launchpad.net/bugs/1777768
Title:
NPP Put to a pp(TRUE) VAL field doesn't trigger monitors
Status in EPICS Base:
Incomplete
Bug description:
There is code in dbAccess.c::dbPut() that calls db_post_events() after
writing to a field. This code is conditional, and explicitly avoids
posting a monitor if the put was to the record's VAL field and that
field is marked pp(TRUE); if the put came from a CA client the record
is about to be processed anyway, so this conditional prevents 2
monitor events from being generated by the same put.
However if the put was actually from a DB link marked NPP, the above
logic is wrong because the record is not about to be processed. This
behavior is somewhat obscure, and does catch out database designers
(it came up again at APS just today).
It is possible for the DB link to call db_post_events() itself in this
case, but it isn't obvious whether it should or not. When I add the
necessary code the result looks a bit strange because the record's VAL
changes but the alarm state and timestamp do not. This could also
conflict with the monitor deadband processing as this monitor will
happen every time the put occurs and will not update the MLST field.
I will attach the necessary code changes to this bug report for the
3.16 branch; earlier branches would need it moving since the
modifications are to the DB link type, and I don't think it should go
in any earlier than 3.16 anyhow.
Opinions please, should this be applied or not?
To manage notifications about this bug go to:
https://bugs.launchpad.net/epics-base/+bug/1777768/+subscriptions
- Navigate by Date:
- Prev:
Segmentation fault when Gateway calls ca_clear_channel: removing node from empty createReqPend linked list Paduan Donadio, Marcio via Core-talk
- Next:
Build failed in Jenkins: EPICS-3.14 #1094 Jenkins EPICS PSI via Core-talk
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
<2021>
2022
2023
2024
- Navigate by Thread:
- Prev:
[Bug 1777768] Re: NPP Put to a pp(TRUE) VAL field doesn't trigger monitors Andrew Johnson via Core-talk
- Next:
Segmentation fault when Gateway calls ca_clear_channel: removing node from empty createReqPend linked list Paduan Donadio, Marcio via Core-talk
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
<2021>
2022
2023
2024
|