db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <derby-...@db.apache.org>
Subject [jira] Commented: (DERBY-1274) Network Server does not shutdown the databases it has booted when started and shutdown from the command line
Date Fri, 07 Jul 2006 11:34:32 GMT
    [ http://issues.apache.org/jira/browse/DERBY-1274?page=comments#action_12419694 ] 

Knut Anders Hatlen commented on DERBY-1274:
-------------------------------------------

Hi Fernanda,

If I understand your patch correctly, using NetworkServerControl from
version 10.2 to stop a 10.1 network server will cause a protocol
error. Is that true?

Do we really need to distinguish between whether the stop was
requested from command line or not? I think we only need to know
whether the network server was started from command line. If it was
started from command line, it should always shut down the databases
before exiting.

If we don't care how the server was stopped, only how it was started,
then we don't need to change the protocol.

> Network Server does not shutdown the databases it has booted when started and shutdown
from the command line
> ------------------------------------------------------------------------------------------------------------
>
>          Key: DERBY-1274
>          URL: http://issues.apache.org/jira/browse/DERBY-1274
>      Project: Derby
>         Type: Bug

>   Components: Network Server
>     Versions: 10.2.0.0, 10.1.2.3
>     Reporter: Kathey Marsden
>     Assignee: Fernanda Pizzorno
>  Attachments: derby-1274.diff, derby-1274.stat
>
> If network server is started  and shutdown from the comand line t does not shutdown the
database.   This can is evidenced by the fact that the db.lck file remains after  the following
steps.
> java org.apache.derby.drda.NetworkServerControl start &
> <some database access>
> java org.apache.derby.drda.NetworkServerControl shutdown
>  There is much discussion about the correct behavior of NetworkServer in this regard
related to embedded server scenarios in DERBY-51, but it seems clear in this  case the databases
should be shutdown.
>  
>  

-- 
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


Mime
View raw message