Performing failover on a database not being replicated should give a more 
meaningful error message.
---------------------------------------------------------------------------------------------------

                 Key: DERBY-3392
                 URL: https://issues.apache.org/jira/browse/DERBY-3392
             Project: Derby
          Issue Type: Bug
          Components: Replication
    Affects Versions: 10.4.0.0
            Reporter: V.Narayanan
            Priority: Minor
             Fix For: 10.4.0.0


Oystein says

"If I do failover on a database where replication has not been started, I get 
the following:

ij version 10.4
ij> connect 'jdbc:derby:masterDB;user=oystein;password=pass';
ij> connect 'jdbc:derby:masterDB;user=oystein;password=pass;failover=true';
ERROR XRE21: Error occurred while performing failover for database 'masterDB', 
Failover attempt was aborted.

I think I should rather get an error that says that database is not being 
replicated. (I get that if I try to stop replication on a non-replicated 
database)."


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

Reply via email to