[jira] [Commented] (DERBY-6711) Missing database name in error message from LogToFile.stopReplicationSlaveRole()

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[jira] [Commented] (DERBY-6711) Missing database name in error message from LogToFile.stopReplicationSlaveRole()

JIRA jira@apache.org

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

Bryan Pendleton commented on DERBY-6711:
----------------------------------------

To run any Derby regression test suite, see these notes: https://wiki.apache.org/db-derby/DerbyJUnitTesting

Specifically, the replication test suites are the ones in http://svn.apache.org/repos/asf/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/

You can run an individual replication test suite by specifying its name and using the junit-single test target, as in:
https://wiki.apache.org/db-derby/DerbyJUnitTesting#Running_a_single_JUnit_test_suite_using_ant_in_a_code_line

Of course change the class name for the test suite to the replication suite class name to run.

> Missing database name in error message from LogToFile.stopReplicationSlaveRole()
> --------------------------------------------------------------------------------
>
>                 Key: DERBY-6711
>                 URL: https://issues.apache.org/jira/browse/DERBY-6711
>             Project: Derby
>          Issue Type: Bug
>          Components: Store
>    Affects Versions: 10.11.1.1
>            Reporter: Knut Anders Hatlen
>            Assignee: Rajitha rajasooriya
>            Priority: Minor
>
> I saw this error in derby.log after running replication tests:
> {noformat}
> ERROR 08006: Database '{0}' shutdown.
> at org.apache.derby.iapi.error.StandardException.newException(StandardException.java:290)
> at org.apache.derby.iapi.error.StandardException.newException(StandardException.java:285)
> at org.apache.derby.impl.store.raw.log.LogToFile.stopReplicationSlaveRole(LogToFile.java:5253)
> at org.apache.derby.impl.store.replication.slave.SlaveController.stopSlave(SlaveController.java:266)
> at org.apache.derby.impl.store.replication.slave.SlaveController.access$500(SlaveController.java:64)
> at org.apache.derby.impl.store.replication.slave.SlaveController$SlaveLogReceiverThread.run(SlaveController.java:526)
> {noformat}
> The database name is missing from the message.
> LogToFile.stopReplicationSlaveRole() should either call newException() with the database name as argument or use another message that doesn't take a database name argument.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
Loading...