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 14E41200C07 for ; Sun, 22 Jan 2017 13:21:34 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 138DD160B45; Sun, 22 Jan 2017 12:21:34 +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 585F3160B38 for ; Sun, 22 Jan 2017 13:21:33 +0100 (CET) Received: (qmail 58045 invoked by uid 500); 22 Jan 2017 12:21:32 -0000 Mailing-List: contact commits-help@airflow.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airflow.incubator.apache.org Delivered-To: mailing list commits@airflow.incubator.apache.org Received: (qmail 58036 invoked by uid 99); 22 Jan 2017 12:21:32 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Jan 2017 12:21:32 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id E8AB51A02A3 for ; Sun, 22 Jan 2017 12:21:31 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.999 X-Spam-Level: X-Spam-Status: No, score=-1.999 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 0MyTxnizsJc0 for ; Sun, 22 Jan 2017 12:21:31 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 9D9F55F22F for ; Sun, 22 Jan 2017 12:21:30 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id A448BE00EB for ; Sun, 22 Jan 2017 12:21:26 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 5972F20D39 for ; Sun, 22 Jan 2017 12:21:26 +0000 (UTC) Date: Sun, 22 Jan 2017 12:21:26 +0000 (UTC) From: "Bolke de Bruin (JIRA)" To: commits@airflow.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (AIRFLOW-791) At start up all running dag_runs are being checked, but not fixed MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 22 Jan 2017 12:21:34 -0000 Bolke de Bruin created AIRFLOW-791: -------------------------------------- Summary: At start up all running dag_runs are being checked, b= ut not fixed Key: AIRFLOW-791 URL: https://issues.apache.org/jira/browse/AIRFLOW-791 Project: Apache Airflow Issue Type: Bug Reporter: Bolke de Bruin At start up all running dag_runs are being checked, we seemed to have a lot= of =E2=80=9Cleft over=E2=80=9D dag_runs (couple of thousand) - Checking was logged to INFO -> requires a fsync for every log message mak= ing it very slow - Checking would happen at every restart, but dag_runs=E2=80=99 states were= not being updated - These dag_runs would never er be marked anything else than running for so= me reason -> Applied work around to update all dag_run in sql before a certain date t= o -> finished -> need to investigate why dag_runs did not get marked =E2=80=9Cfinished/fa= iled=E2=80=9D=20 -- This message was sent by Atlassian JIRA (v6.3.4#6332)