[ 
http://issues.apache.org/jira/browse/DERBY-1326?page=comments#action_12434296 ] 
            
Knut Anders Hatlen commented on DERBY-1326:
-------------------------------------------

It is not clear to me why an engine shutdown should close down all 
DRDAConnThreads. I kind of understand why the sessions are closed (although 
that would happen implicitly anyway) since their embedded connections are 
closed as part of the engine shutdown. The DRDAConnThreads are however merely 
worker threads which don't have any dependencies on the engine instance that 
was active when they were created, so there is no reason why they can't be 
reused after the restart of the engine. Does anyone see problems with reusing 
the threads? In my opinion, it would be easier to ensure a consistent state 
after a restart if the threads were kept.

> Network server may abandon sessions when Derby system is shutdown and this 
> causes intermittent hangs in the client
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-1326
>                 URL: http://issues.apache.org/jira/browse/DERBY-1326
>             Project: Derby
>          Issue Type: Bug
>          Components: Network Server
>            Reporter: Deepa Remesh
>         Assigned To: Knut Anders Hatlen
>         Attachments: repro1326.java, resolve_DRDConnThread_conflict.diff, 
> Restart.java, sessionMgmt1.diff, 
> sessionMgmt1_and_nosessionsforclosedthreads.diff, 
> unify_NSImpl_instances.diff, withNewThreadAndNoShutdownOfCurrentSession.diff
>
>
> This issue was found when working on DERBY-1219. More details can be found in 
> the comments at http://issues.apache.org/jira/browse/DERBY-1219

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to