Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 874B2200BDA for ; Tue, 29 Nov 2016 04:37:21 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 85C12160B22; Tue, 29 Nov 2016 03:37:21 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id CDD18160B0D for ; Tue, 29 Nov 2016 04:37:20 +0100 (CET) Received: (qmail 19445 invoked by uid 500); 29 Nov 2016 03:37:18 -0000 Mailing-List: contact issues-help@eagle.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@eagle.incubator.apache.org Delivered-To: mailing list issues@eagle.incubator.apache.org Received: (qmail 19427 invoked by uid 99); 29 Nov 2016 03:37:18 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Nov 2016 03:37:18 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 9E4C2C04BC for ; Tue, 29 Nov 2016 03:37:17 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -7.019 X-Spam-Level: X-Spam-Status: No, score=-7.019 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id eFuPzKdDnD4Y for ; Tue, 29 Nov 2016 03:37:15 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with SMTP id 343BB5FC81 for ; Tue, 29 Nov 2016 03:37:15 +0000 (UTC) Received: (qmail 17072 invoked by uid 99); 29 Nov 2016 03:34:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Nov 2016 03:34:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 366B42C0079 for ; Tue, 29 Nov 2016 03:34:59 +0000 (UTC) Date: Tue, 29 Nov 2016 03:34:59 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@eagle.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (EAGLE-803) Just save latest N schedule_state in eagle database. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 29 Nov 2016 03:37:21 -0000 [ https://issues.apache.org/jira/browse/EAGLE-803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15704055#comment-15704055 ] ASF GitHub Bot commented on EAGLE-803: -------------------------------------- GitHub user qingwen220 opened a pull request: https://github.com/apache/incubator-eagle/pull/694 add ScheduleStateCleaner.java https://issues.apache.org/jira/browse/EAGLE-803 You can merge this pull request into a Git repository by running: $ git pull https://github.com/qingwen220/incubator-eagle EAGLE-803 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-eagle/pull/694.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #694 ---- commit 304050fc3ea9956df6a68db1fb5c3c286b9f6cfb Author: Zhao, Qingwen Date: 2016-11-29T03:28:53Z add ScheduleStateCleaner.java ---- > Just save latest N schedule_state in eagle database. > ---------------------------------------------------- > > Key: EAGLE-803 > URL: https://issues.apache.org/jira/browse/EAGLE-803 > Project: Eagle > Issue Type: Improvement > Affects Versions: v0.5.0 > Reporter: Zhao, Qingwen > Assignee: Zhao, Qingwen > Fix For: v0.5.0 > > > schedule_state table increases with the metadata updates. In this way, quite a lot of old state occupy the space of database. For eagle, it is enough to just save latest N schedule_state in eagle database. -- This message was sent by Atlassian JIRA (v6.3.4#6332)