Question
· Jan 27

An Operation can't find a .iostream file

A .iostream file got stored in /intersystems/HCENG01B12/mgr/Temp for a BatchFileOperation class while HC was on the secondary node.  HealthConnect is now on the primay node and cannot find that .iostream file path.  The operation starts throwing errors when the RolloverSchedule is reached

OnKeepalive() returned ERROR #5012: File '/intersystems/HCENG01B12/mgr/Temp/QWhoZAwFF3f9jQ.iostream'
does not exist

How can I resolve this issue?

Product version: HealthShare 2024.1
$ZV: 2024.1.3.456.0.24283
Discussion (3)2
Log in or sign up to continue

There is no IntermediateFilePath designated for the operation, but it should probably be the work folder for the operation.  So it's been using a Temp folder for these files all along.  The file was created while HC was on the secondary node, but is now back on the primary and that path does not exist.

We resolved this by:

1) Create  /intersystems/HCENG01B12/mgr/Temp/ temporarily on the primary node

2) copy the iostream file to that folder

3) run the rollover so the file gets processed and the operation "forgets" about that file

4) disable the operation

5) delete /intersystems/HCENG01B12/mgr/Temp/ from the primary node

6) update the operation's IntermediateFilePath to the work folder

7) return the RolloverSchedule back to T23:30:00

8) restart the operation