[INSTRM-963] Avoid races when creating night's directories. Created: 01/May/20  Updated: 14/May/20  Resolved: 14/May/20

Status: Won't Fix
Project: Instrument control development
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: cloomis Assignee: cloomis
Resolution: Won't Fix Votes: 0
Labels: SM1, SPS
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Story Points: 2
Sprint: SM1PD-2020 E

 Description   

The write of the first exposure on 2020-04-30 failed. Specifically, the creation of the /data/pfs/2020-04-30 directory failed for the b1 ccdActor because the r1 ccdActor had already created it.

Do the creates atomically or inside a try...except block.

I believe that the window for the bug is pretty narrow, but to avoid the problem for the rest of the pre-switchover SM1 acquisition, take the first exposure of the calendar day (after midnight UTC) with one camera.

I will not fix this for the existing "LAM" versions. fmadecncaplararnaud.lefur



 Comments   
Comment by cloomis [ 14/May/20 ]

This disappears with the switch to the butler.

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