db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "V.Narayanan (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-2954) Add commands to NetworkServerControl for interacting with the replication functionality
Date Sun, 19 Aug 2007 21:53:31 GMT

     [ https://issues.apache.org/jira/browse/DERBY-2954?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

V.Narayanan updated DERBY-2954:

    Attachment: NetworkServerControlCmds_v1.stat

Pls find attached a preliminary patch that adds the following commands to NetworkServerControl.

1) startmaster
2) startslave
3) startfailover
4) startreplication

The logic for performing appropriate actions in the replication context
is not added as yet. This patch just adds the commands to NetworkServerControl.

After applying the patch calling these commands will not do anything. However internally the
parameters that are passed will be parsed and initialized.

I have made one small deviation from the functional spec.

The replication database name was earlier a dashed argument. I have changed it to be part
of the command here.

For example

java org.apache.derby.drda.NetworkServerControl startmaster 
-db <dbname> -slavehost <slavehost> -slaveport <slaveport>

will now be

java org.apache.derby.drda.NetworkServerControl startmaster <dbname> 
-slavehost <slavehost> -slaveport <slaveport>

the dbname being a compulsory part of the command.

I derived this from the format of the tracedirectory and the logConnections commands where
the parameters are not 
dashed arguments but instead are a part of the command.

Pls note that I have not run tests on this patch yet.

This patch is not for a commit. 

Pls consider this patch for reviews and comments.

> Add commands to NetworkServerControl for interacting with the replication functionality
> ---------------------------------------------------------------------------------------
>                 Key: DERBY-2954
>                 URL: https://issues.apache.org/jira/browse/DERBY-2954
>             Project: Derby
>          Issue Type: Sub-task
>    Affects Versions:
>            Reporter: V.Narayanan
>            Assignee: V.Narayanan
>         Attachments: NetworkServerControlCmds_v1.diff, NetworkServerControlCmds_v1.stat

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message