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-3447) Shutdown on a database without stopping replication hangs
Date Mon, 17 Mar 2008 13:59:28 GMT

    [ https://issues.apache.org/jira/browse/DERBY-3447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12579442#action_12579442

V.Narayanan commented on DERBY-3447:

I think I have a strong theory to explain this test failure,

When the Network Server running the master is shutdown as is being done in the test it result
in the stop method
of the MasterController module being called. This causes the master to send a STOP message
to the slave. This causes a slave shutdown.

The cleanup code was added in the MasterController stop method as part of this patch.

I think this is expected behaviour and XRE11 is the right message in this case. The NetworkServer
running the master being shutdown results in the Replication master shutting down, this is
to the stopMaster being called.

I think the tests need to be fixed to accomodate this new and correct behaviour

I will fix this test and submit the patch again

> Shutdown on a database without stopping replication hangs
> ---------------------------------------------------------
>                 Key: DERBY-3447
>                 URL: https://issues.apache.org/jira/browse/DERBY-3447
>             Project: Derby
>          Issue Type: Bug
>          Components: Replication
>    Affects Versions:
>            Reporter: V.Narayanan
>            Assignee: V.Narayanan
>         Attachments: Derby3447_v1.diff, Derby3447_v1.stat, Derby3447_v2.diff, Derby3447_v2.stat,
Derby3447_v3.diff, Derby3447_v3.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