----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/15344/ -----------------------------------------------------------
Review request for cloudstack, Abhinandan Prateek and Darren Shepherd. Bugs: https://issues.apache.org/jira/browse/CLOUDSTACK-4916 https://issues.apache.org/jira/browse/https://issues.apache.org/jira/browse/CLOUDSTACK-4916 Repository: cloudstack-git Description ------- To enable Data base High Availability for cloud stack management server database. We have used Mysql's connector parameters to switch between master and slaves along with mysql's 2-way replication and chain way of replication for more than 2 nodes https://wikis.oracle.com/display/CommSuite/MySQL+High+Availability+and+Replication+Information+For+Calendar+Server#MySQLHighAvailabilityandReplicationInformationForCalendarServer-MySQLServerTwoWayReplicationExample Due ot this defect http://bugs.mysql.com/bug.php?id=68141 changed 2 files to have synchronized for on block of statements which were cauing Thread BLOCKING.. Diffs ----- client/tomcatconf/db.properties.in b0cb22b framework/db/src/com/cloud/utils/db/ConnectionConcierge.java acb9cc6 framework/db/src/com/cloud/utils/db/Merovingian2.java 8544aab framework/db/src/com/cloud/utils/db/TransactionLegacy.java a874ce1 Diff: https://reviews.apache.org/r/15344/diff/ Testing ------- Basic sanity testing is done using 2 nodes. If any transaction(api request) is in between and if server goes down then that api request will fail Thanks, Damodar Reddy Talakanti