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 390A0200B29 for ; Thu, 16 Jun 2016 06:35:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 37BC3160A57; Thu, 16 Jun 2016 04:35:07 +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 ADFC1160A5D for ; Thu, 16 Jun 2016 06:35:06 +0200 (CEST) Received: (qmail 42513 invoked by uid 500); 16 Jun 2016 04:35:05 -0000 Mailing-List: contact dev-help@kafka.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@kafka.apache.org Delivered-To: mailing list dev@kafka.apache.org Received: (qmail 42436 invoked by uid 99); 16 Jun 2016 04:35:05 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Jun 2016 04:35:05 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 394462C033A for ; Thu, 16 Jun 2016 04:35:05 +0000 (UTC) Date: Thu, 16 Jun 2016 04:35:05 +0000 (UTC) From: "Manikumar Reddy (JIRA)" To: dev@kafka.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (KAFKA-3802) log mtimes reset on broker restart MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 16 Jun 2016 04:35:07 -0000 [ https://issues.apache.org/jira/browse/KAFKA-3802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Manikumar Reddy updated KAFKA-3802: ----------------------------------- Status: Patch Available (was: Open) > log mtimes reset on broker restart > ---------------------------------- > > Key: KAFKA-3802 > URL: https://issues.apache.org/jira/browse/KAFKA-3802 > Project: Kafka > Issue Type: Bug > Affects Versions: 0.9.0.1 > Reporter: Andrew Otto > Fix For: 0.10.0.1 > > > Folks over in http://mail-archives.apache.org/mod_mbox/kafka-users/201605.mbox/%3CCAO8=cz0RAGJAd1Acx4GEqcWJ+RKd1gMdAvkjWytwthKSzfgb5Q@mail.gmail.com%3E are commenting about this issue. > In 0.9, any data log file that was on > disk before the broker has it's mtime modified to the time of the broker > restart. > This causes problems with log retention, as all the files then look like > they contain recent data to kafka. We use the default log retention of 7 > days, but if all the files are touched at the same time, this can cause us > to retain up to 2 weeks of log data, which can fill up our disks. > This happens *most* of the time, but seemingly not all. We have seen broker restarts where mtimes were not changed. -- This message was sent by Atlassian JIRA (v6.3.4#6332)