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 6ED1B200B64 for ; Tue, 2 Aug 2016 10:13:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6D73B160AAC; Tue, 2 Aug 2016 08:13:23 +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 DEF8E160A8C for ; Tue, 2 Aug 2016 10:13:22 +0200 (CEST) Received: (qmail 88206 invoked by uid 500); 2 Aug 2016 08:13:20 -0000 Mailing-List: contact issues-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list issues@ignite.apache.org Received: (qmail 88124 invoked by uid 99); 2 Aug 2016 08:13:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Aug 2016 08:13:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 893EB2C0033 for ; Tue, 2 Aug 2016 08:13:20 +0000 (UTC) Date: Tue, 2 Aug 2016 08:13:20 +0000 (UTC) From: "Vladimir Ozerov (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (IGNITE-3343) IGFS: Do not query secondary file system properties during create/append/mkdirs. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 02 Aug 2016 08:13:23 -0000 [ https://issues.apache.org/jira/browse/IGNITE-3343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vladimir Ozerov closed IGNITE-3343. ----------------------------------- > IGFS: Do not query secondary file system properties during create/append/mkdirs. > -------------------------------------------------------------------------------- > > Key: IGNITE-3343 > URL: https://issues.apache.org/jira/browse/IGNITE-3343 > Project: Ignite > Issue Type: Sub-task > Components: IGFS > Affects Versions: 1.6 > Reporter: Vladimir Ozerov > Assignee: Vladimir Ozerov > Priority: Critical > Labels: performance > Fix For: 1.7 > > > Currently when we create something in a secondary file system, we perform additional calls to the secondary file system to get file/directory info. This significantly slows down structural operations, while usually it is not really needed in most cases. > We should do the following: > 1) Do not write modification time, access time and properties for DUAL entries. Instead, we should propagate "info" and "listFiles" calls to secondary file system right away. > 2) For {{create()}} we do not need length, as the file is either created from scratch, or truncated. > 3) For {{append()}} we need to know current length, so the second file system call appears to be inevitable. -- This message was sent by Atlassian JIRA (v6.3.4#6332)