Return-Path: X-Original-To: apmail-ambari-issues-archive@minotaur.apache.org Delivered-To: apmail-ambari-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2AB4E19256 for ; Tue, 29 Mar 2016 12:41:27 +0000 (UTC) Received: (qmail 40743 invoked by uid 500); 29 Mar 2016 12:41:26 -0000 Delivered-To: apmail-ambari-issues-archive@ambari.apache.org Received: (qmail 40672 invoked by uid 500); 29 Mar 2016 12:41:25 -0000 Mailing-List: contact issues-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 issues@ambari.apache.org Received: (qmail 40661 invoked by uid 99); 29 Mar 2016 12:41:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Mar 2016 12:41:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 9BB052C14FB for ; Tue, 29 Mar 2016 12:41:25 +0000 (UTC) Date: Tue, 29 Mar 2016 12:41:25 +0000 (UTC) From: "Jonathan Hurley (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-15602) Database Changes to Support Alert Repeat Tolerance MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-15602?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Hurley updated AMBARI-15602: ------------------------------------- Resolution: Fixed Status: Resolved (was: Patch Available) > Database Changes to Support Alert Repeat Tolerance > -------------------------------------------------- > > Key: AMBARI-15602 > URL: https://issues.apache.org/jira/browse/AMBARI-15602 > Project: Ambari > Issue Type: Task > Affects Versions: 2.4.0 > Reporter: Jonathan Hurley > Assignee: Jonathan Hurley > Priority: Critical > Fix For: 2.4.0 > > Attachments: AMBARI-15602.patch > > > The {{alert_definition}} table will be updated to include a nullable column which represents the custom repeat/retry tolerance value. This value will override that which is set in the {{cluster-env/alerts_repeat_tolerance}} property. > {code} > CREATE TABLE alert_definition ( > definition_id BIGINT NOT NULL, > cluster_id BIGINT NOT NULL, > ... > repeat_tolerance SMALLINT, > repeat_tolerance_enabled TINYINT, > ... > PRIMARY KEY (definition_id), > FOREIGN KEY (cluster_id) REFERENCES clusters(cluster_id), > CONSTRAINT uni_alert_def_name UNIQUE(cluster_id,definition_name) > ); > {code} > The scope of work includes: > - SQL File changes > - Entity changes > - ResourceProvider changes to expose these values > - UpgradeCatalog changes > - Tests -- This message was sent by Atlassian JIRA (v6.3.4#6332)