Using auto-enable with mutliple backends won't try to start all backends
------------------------------------------------------------------------

         Key: SEQUOIA-1126
         URL: https://forge.continuent.org/jira/browse/SEQUOIA-1126
     Project: Sequoia
        Type: Bug

  Components: Core  
    Versions: sequoia 2.10.10    
    Reporter: Jonathan Stockho


When using auto-enable to enable a database cluster with multiple backends, if 
one of them fails, any subsequent backends listed in the virtual DB config will 
not be enabled.  

The problem exists in the VirtualDatabase class in both enableBackends() and 
forceEnableBackendsFromCheckpoint() methods.  In both methods, the try/catch 
block wraps the loop through the backends.  This means as soon as one backend 
throws an exception during enabling, the loop will exit and no more backends 
are enabled.  The try/catch block should be inside the for-loop to prevent this.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://forge.continuent.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

_______________________________________________
Sequoia mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/sequoia

Reply via email to