Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A603310B28 for ; Thu, 14 Nov 2013 04:49:37 +0000 (UTC) Received: (qmail 60975 invoked by uid 500); 14 Nov 2013 04:49:30 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 60635 invoked by uid 500); 14 Nov 2013 04:49:23 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 60591 invoked by uid 99); 14 Nov 2013 04:49:20 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Nov 2013 04:49:20 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 6AFA61D3A8E; Thu, 14 Nov 2013 04:49:16 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============3602788545436205748==" MIME-Version: 1.0 Subject: Re: Review Request 15344: Enabling DB HA for cloud stack data bases using mysql active-active solution From: "Abhinandan Prateek" To: "Darren Shepherd" , "Abhinandan Prateek" Cc: "Damodar Reddy Talakanti" , "cloudstack" Date: Thu, 14 Nov 2013 04:49:16 -0000 Message-ID: <20131114044916.2333.75261@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Abhinandan Prateek" X-ReviewGroup: cloudstack X-ReviewRequest-URL: https://reviews.apache.org/r/15344/ X-Sender: "Abhinandan Prateek" References: <20131112124343.11182.33717@reviews.apache.org> In-Reply-To: <20131112124343.11182.33717@reviews.apache.org> Reply-To: "Abhinandan Prateek" X-ReviewRequest-Repository: cloudstack-git --===============3602788545436205748== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/15344/#review28860 ----------------------------------------------------------- Add license header to StaticStrategy.java - Abhinandan Prateek On Nov. 12, 2013, 12:43 p.m., Damodar Reddy Talakanti wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/15344/ > ----------------------------------------------------------- > > (Updated Nov. 12, 2013, 12:43 p.m.) > > > 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 31e0803 > framework/db/pom.xml 5af00a0 > framework/db/src/com/cloud/utils/db/StaticStrategy.java PRE-CREATION > framework/db/src/com/cloud/utils/db/TransactionLegacy.java 39893bd > > 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 > > --===============3602788545436205748==--