[
https://issues.apache.org/jira/browse/DERBY-3189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12559032#action_12559032
]
Knut Anders Hatlen commented on DERBY-3189:
-------------------------------------------
A tiny comment to the change in RawStore.java:
+ catch (StandardException se) {
+ throw StandardException.newException(
+ SQLState.REPLICATION_UNABLE_TO_STOP_MASTER);
+ }
I think it would be better to link se to the new exception (with
StandardException.newException(String,Throwable)) so that we see why we were
unable to stop the master.
> Replication: Add connection url command options for starting and stopping
> master
> --------------------------------------------------------------------------------
>
> Key: DERBY-3189
> URL: https://issues.apache.org/jira/browse/DERBY-3189
> Project: Derby
> Issue Type: Sub-task
> Components: JDBC
> Affects Versions: 10.4.0.0
> Reporter: Jørgen Løland
> Assignee: V.Narayanan
> Attachments: derby-3189-1a.diff, derby-3189-1a.stat,
> StopMaster_impl_3189_v1.diff, StopMaster_impl_3189_v1.stat,
> StopMaster_impl_3189_v2.diff, StopMaster_impl_3189_v2.diff,
> StopMaster_impl_3189_v2.stat, StopMaster_impl_3189_v2.stat,
> StopMaster_impl_3189_v3.diff, StopMaster_impl_3189_v3.stat
>
>
> Add commands to start and stop the replication master using properties or
> connection url. Example:
> 'jdbc:derby:<host><masterdb>;startMaster=true';
> 'jdbc:derby:<host><masterdb>;stopMaster=true';
> Connection url options that must be recognized:
> startMaster=true
> stopMaster=true
> slaveHost=<host> (required)
> slavePort=<port> (optional, defaults to 8001)
> See functional specification on Derby-2872 for further details.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.