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] Commented: (DERBY-2921) Replication: Add a network service that connects the master and slave Derby instances
Date Tue, 11 Sep 2007 07:28:32 GMT

    [ https://issues.apache.org/jira/browse/DERBY-2921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12526373

V.Narayanan commented on DERBY-2921:

>As I said, it is OK for me to commit this without tests. However, I do
>not see that it should be very difficult to write a small test program
>that opens a connection and sends a message using you new interfaces.

I will factor in tests for this code. I will reattach a patch containing tests
for this code.

>Either you did not understand my question, or I did not understand
>your answer. I was asking why the class javadoc only talk about
>receiving messages from the slave, which you confirmed meant that the
>class is only to be used by the master. So what code will the slave
>use to listen for messages? Will there be another class for that?

I am very sorry for this. It is me who is wrong. The slave receives messages
from the master and it will use the ReplicationMessageReceive to receive messages
from the master. The comment in the class
"It receives the message from the slave"  is wrong and is mis-leading.
I will correct this. Thank you for pointing this out.

> Replication: Add a network service that connects the master and slave Derby instances
> -------------------------------------------------------------------------------------
>                 Key: DERBY-2921
>                 URL: https://issues.apache.org/jira/browse/DERBY-2921
>             Project: Derby
>          Issue Type: Sub-task
>          Components: Services
>    Affects Versions:
>            Reporter: Jørgen Løland
>            Assignee: V.Narayanan
>         Attachments: Replication_Network_v1.diff, Replication_Network_v1.stat, Replication_Network_v2.diff,
Replication_Network_v2.stat, Replication_Network_v3.diff, Replication_Network_v3.stat, Replication_Network_v4.diff,
Replication_Network_v4.stat, Replication_Network_v5.diff, Replication_Network_v5.stat
> A network connection is required between the master and slave Derby instances of a replicated
database. The connection will be used to send many kinds of messages, including:
> * log records
> * the database (when replication is started)
> * master -> slave commands (like "stop replication")

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

View raw message