[INSTRM-945] Move {{pfs_visit}} table updates from {{iic}} to {{gen2}} Created: 09/Apr/20  Updated: 14/May/20  Resolved: 14/May/20

Status: Done
Project: Instrument control development
Component/s: ics_gen2Actor
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Normal
Reporter: cloomis Assignee: cloomis
Resolution: Done Votes: 0
Labels: SPS
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

There is an instrument-wide pfs_visit table, to which iic appends a row when it consumes a new visit (from the gen2Actor). In normal operations, lower-level actors (sps, fps, agc) get passed that visit as a command argument, and the tables they are responsible for join to the row in pfs_visit

When those lower-level actors get called directly, they are not given a visit argument and request one themselves. There is a common library routine to do this. But it does not update the pfs_visit table.

This ticket is to move the pfs_visit update from iicActor to gen2Actor, so that the table is updated no matter where the request comes from. It could be put into the library code, but I think it would be better to keep the gen2 allocation and the opdb update essentially atomic.



 Comments   
Comment by cloomis [ 14/May/20 ]

Merged at a77bf82, tagged 1.3.4

Comment by cloomis [ 14/May/20 ]

Merged at a77bf82, tagged 1.4.0

Generated at Sat Feb 10 16:30:17 JST 2024 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.