Class CleanUpAnyImmortalChannels
java.lang.Object
org.epics.archiverappliance.engine.bpl.CleanUpAnyImmortalChannels
- All Implemented Interfaces:
BPLAction
This is a reasonably dangerous call.
It appears that there is a bug somewhere in CAJ (or in the engine code that uses it) where we leave channels hanging around in an inconsistent state.
Specifically, we seem to have an entry in the ChannelSearchManager but the channel itself has not proceeded to the tcp/ip circuit.
This code forcibly closes these CAJ channels.
Now; I'm unclear what that does to the engine layer above; it may leave the engine in a state where we need to restart it.
However; I'm going to attempt this on one of the stuck PVs soon.
I'd rather fix the bug in CAJ but until I can get Matej a reproducible usecase....
- Author:
- mshankar
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, ConfigService configService)
-
Constructor Details
-
CleanUpAnyImmortalChannels
public CleanUpAnyImmortalChannels()
-
-
Method Details
-
execute
public void execute(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, ConfigService configService) throws IOException - Specified by:
executein interfaceBPLAction- Throws:
IOException
-