Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-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 35AAC1831F for ; Thu, 5 Nov 2015 23:38:22 +0000 (UTC) Received: (qmail 27273 invoked by uid 500); 5 Nov 2015 23:38:21 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 27231 invoked by uid 500); 5 Nov 2015 23:38:21 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 27216 invoked by uid 99); 5 Nov 2015 23:38:21 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Nov 2015 23:38:21 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 7050227C4CF; Thu, 5 Nov 2015 23:38:21 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============6632727066132814740==" MIME-Version: 1.0 Subject: Review Request 39996: Refactor code that caches stale entity references From: "Sid Wagle" To: "Myroslav Papirkovskyy" , "Sumit Mohanty" , "Sebastian Toader" Cc: "Sid Wagle" , "Ambari" Date: Thu, 05 Nov 2015 23:38:21 -0000 Message-ID: <20151105233821.1771.4049@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: "Sid Wagle" X-ReviewGroup: Ambari X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/39996/ X-Sender: "Sid Wagle" Reply-To: "Sid Wagle" X-ReviewRequest-Repository: ambari --===============6632727066132814740== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/39996/ ----------------------------------------------------------- Review request for Ambari, Myroslav Papirkovskyy, Sumit Mohanty, and Sebastian Toader. Bugs: AMBARI-13753 https://issues.apache.org/jira/browse/AMBARI-13753 Repository: ambari Description ------- - Deleted hostcomponent rows re-appear - Inconsistencies in hostcomponentstate and hostcomponentdesiredstate tables Preliminary patch. Diffs ----- ambari-server/src/main/java/org/apache/ambari/server/state/ServiceComponentImpl.java 6150011 ambari-server/src/main/java/org/apache/ambari/server/state/ServiceImpl.java bbe2f62 ambari-server/src/main/java/org/apache/ambari/server/state/svccomphost/ServiceComponentHostImpl.java c0804ff ambari-server/src/test/java/org/apache/ambari/server/testing/DBInconsistencyTests.java PRE-CREATION Diff: https://reviews.apache.org/r/39996/diff/ Testing ------- Unit testing in progress. Thanks, Sid Wagle --===============6632727066132814740==--