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 "Øystein Grøvlen (JIRA)" <ji...@apache.org> on 2008/02/26 15:48:51 UTC

[jira] Created: (DERBY-3470) Replication: Master never gives up when slave dies.

Replication: Master never gives up when slave dies.
---------------------------------------------------

                 Key: DERBY-3470
                 URL: https://issues.apache.org/jira/browse/DERBY-3470
             Project: Derby
          Issue Type: Bug
          Components: Replication
    Affects Versions: 10.4.0.0
            Reporter: Øystein Grøvlen


After starting replication, I killed the slave process.  The master continued to write 

 Replication master role stopped for database 'masterDB'.
--------  BEGIN REPLICATION ERROR MESSAGE ---------
Exception occurred during log shipping.
java.net.SocketException: Broken pipe
...

over and over again.  Soon my derby.log was several gigabytes.

In this scenario I inserted a lot of data, assuming that the
replication would stop when the database buffer became full, after
inserting more than 100 MB, the error messages still appeared.




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


[jira] Resolved: (DERBY-3470) Replication: Master never gives up when slave dies.

Posted by "Jørgen Løland (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-3470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jørgen Løland resolved DERBY-3470.
----------------------------------

       Resolution: Cannot Reproduce
    Fix Version/s: 10.4.0.0

I tried to reproduce as well. There have been quite a few replication master commits since this was reported, so I'm not sure which jira to link it to. Feel free to reopen the issue.

> Replication: Master never gives up when slave dies.
> ---------------------------------------------------
>
>                 Key: DERBY-3470
>                 URL: https://issues.apache.org/jira/browse/DERBY-3470
>             Project: Derby
>          Issue Type: Bug
>          Components: Replication
>    Affects Versions: 10.4.0.0
>            Reporter: Øystein Grøvlen
>            Assignee: Jørgen Løland
>             Fix For: 10.4.0.0
>
>
> After starting replication, I killed the slave process.  The master continued to write 
>  Replication master role stopped for database 'masterDB'.
> --------  BEGIN REPLICATION ERROR MESSAGE ---------
> Exception occurred during log shipping.
> java.net.SocketException: Broken pipe
> ...
> over and over again.  Soon my derby.log was several gigabytes.
> In this scenario I inserted a lot of data, assuming that the
> replication would stop when the database buffer became full, after
> inserting more than 100 MB, the error messages still appeared.

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


[jira] Assigned: (DERBY-3470) Replication: Master never gives up when slave dies.

Posted by "Jørgen Løland (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-3470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jørgen Løland reassigned DERBY-3470:
------------------------------------

    Assignee: Jørgen Løland

> Replication: Master never gives up when slave dies.
> ---------------------------------------------------
>
>                 Key: DERBY-3470
>                 URL: https://issues.apache.org/jira/browse/DERBY-3470
>             Project: Derby
>          Issue Type: Bug
>          Components: Replication
>    Affects Versions: 10.4.0.0
>            Reporter: Øystein Grøvlen
>            Assignee: Jørgen Løland
>
> After starting replication, I killed the slave process.  The master continued to write 
>  Replication master role stopped for database 'masterDB'.
> --------  BEGIN REPLICATION ERROR MESSAGE ---------
> Exception occurred during log shipping.
> java.net.SocketException: Broken pipe
> ...
> over and over again.  Soon my derby.log was several gigabytes.
> In this scenario I inserted a lot of data, assuming that the
> replication would stop when the database buffer became full, after
> inserting more than 100 MB, the error messages still appeared.

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


[jira] Closed: (DERBY-3470) Replication: Master never gives up when slave dies.

Posted by "Øystein Grøvlen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-3470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Øystein Grøvlen closed DERBY-3470.
----------------------------------


Issue seems to have been fixed as part of other replication JIRAs.

> Replication: Master never gives up when slave dies.
> ---------------------------------------------------
>
>                 Key: DERBY-3470
>                 URL: https://issues.apache.org/jira/browse/DERBY-3470
>             Project: Derby
>          Issue Type: Bug
>          Components: Replication
>    Affects Versions: 10.4.0.0
>            Reporter: Øystein Grøvlen
>            Assignee: Jørgen Løland
>             Fix For: 10.4.0.0
>
>
> After starting replication, I killed the slave process.  The master continued to write 
>  Replication master role stopped for database 'masterDB'.
> --------  BEGIN REPLICATION ERROR MESSAGE ---------
> Exception occurred during log shipping.
> java.net.SocketException: Broken pipe
> ...
> over and over again.  Soon my derby.log was several gigabytes.
> In this scenario I inserted a lot of data, assuming that the
> replication would stop when the database buffer became full, after
> inserting more than 100 MB, the error messages still appeared.

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


[jira] Commented: (DERBY-3470) Replication: Master never gives up when slave dies.

Posted by "Øystein Grøvlen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-3470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12572861#action_12572861 ] 

Øystein Grøvlen commented on DERBY-3470:
----------------------------------------

Forgot to mention that when I tried to exit the ij which embedded the master, a hang occurred.

> Replication: Master never gives up when slave dies.
> ---------------------------------------------------
>
>                 Key: DERBY-3470
>                 URL: https://issues.apache.org/jira/browse/DERBY-3470
>             Project: Derby
>          Issue Type: Bug
>          Components: Replication
>    Affects Versions: 10.4.0.0
>            Reporter: Øystein Grøvlen
>
> After starting replication, I killed the slave process.  The master continued to write 
>  Replication master role stopped for database 'masterDB'.
> --------  BEGIN REPLICATION ERROR MESSAGE ---------
> Exception occurred during log shipping.
> java.net.SocketException: Broken pipe
> ...
> over and over again.  Soon my derby.log was several gigabytes.
> In this scenario I inserted a lot of data, assuming that the
> replication would stop when the database buffer became full, after
> inserting more than 100 MB, the error messages still appeared.

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


[jira] Commented: (DERBY-3470) Replication: Master never gives up when slave dies.

Posted by "Øystein Grøvlen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-3470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12577800#action_12577800 ] 

Øystein Grøvlen commented on DERBY-3470:
----------------------------------------

I suspect that this may have been fixed since I have not observed this the last few days.

> Replication: Master never gives up when slave dies.
> ---------------------------------------------------
>
>                 Key: DERBY-3470
>                 URL: https://issues.apache.org/jira/browse/DERBY-3470
>             Project: Derby
>          Issue Type: Bug
>          Components: Replication
>    Affects Versions: 10.4.0.0
>            Reporter: Øystein Grøvlen
>            Assignee: Jørgen Løland
>
> After starting replication, I killed the slave process.  The master continued to write 
>  Replication master role stopped for database 'masterDB'.
> --------  BEGIN REPLICATION ERROR MESSAGE ---------
> Exception occurred during log shipping.
> java.net.SocketException: Broken pipe
> ...
> over and over again.  Soon my derby.log was several gigabytes.
> In this scenario I inserted a lot of data, assuming that the
> replication would stop when the database buffer became full, after
> inserting more than 100 MB, the error messages still appeared.

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