You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "V.Narayanan (JIRA)" <ji...@apache.org> on 2008/01/14 19:53:35 UTC

[jira] Updated: (DERBY-3254) Implement the replication failover functionality

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

V.Narayanan updated DERBY-3254:
-------------------------------

    Attachment: failover_impl_v2.stat
                failover_impl_v2.diff

I have implemented the failover in keeping with the steps mentioned in the aforementioned comments.
I have made one small change in that the failover implementation will now throw an exception
in both the cases of the failover succeeding and failing. I decided on this because when failover
succeeds the master database is shutdown, at this juncture there might be number of clients connected
which need to be informed of this shutdown. A good way to do this would be to throw an exception.

I am yet to run tests on this patch. I shall run the tests and shall revert back with the results.

> Implement the replication failover functionality
> ------------------------------------------------
>
>                 Key: DERBY-3254
>                 URL: https://issues.apache.org/jira/browse/DERBY-3254
>             Project: Derby
>          Issue Type: Sub-task
>          Components: Replication
>            Reporter: V.Narayanan
>            Assignee: V.Narayanan
>         Attachments: failover_impl_notforcommit.diff, failover_impl_notforcommit.stat, failover_impl_v1.diff, failover_impl_v1.stat, failover_impl_v2.diff, failover_impl_v2.stat
>
>


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