From dev-return-5510-archive-asf-public=cust-asf.ponee.io@asterixdb.apache.org Wed Jan 17 07:04:49 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id 9A20318062C for ; Wed, 17 Jan 2018 07:04:49 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 89E21160C46; Wed, 17 Jan 2018 06:04:49 +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 D100D160C34 for ; Wed, 17 Jan 2018 07:04:48 +0100 (CET) Received: (qmail 92650 invoked by uid 500); 17 Jan 2018 06:04:48 -0000 Mailing-List: contact dev-help@asterixdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@asterixdb.apache.org Delivered-To: mailing list dev@asterixdb.apache.org Received: (qmail 92638 invoked by uid 99); 17 Jan 2018 06:04:47 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jan 2018 06:04:47 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 1E8C0D1F8B for ; Wed, 17 Jan 2018 06:04:47 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.001 X-Spam-Level: X-Spam-Status: No, score=-0.001 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=uci-edu.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id o7LTQh216tNy for ; Wed, 17 Jan 2018 06:04:46 +0000 (UTC) Received: from mail-ua0-f172.google.com (mail-ua0-f172.google.com [209.85.217.172]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 46BDB5F2FD for ; Wed, 17 Jan 2018 06:04:46 +0000 (UTC) Received: by mail-ua0-f172.google.com with SMTP id g16so12462089ual.2 for ; Tue, 16 Jan 2018 22:04:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uci-edu.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=d28n+qwX/yOmesqxWDc3ubnHImFvd93R0h2CHTu+5wU=; b=dD/HjnCPoQxp1fgEA07B7h+pwe7tkDvmUdqXB4y/PszjpDh1UuScNDKbqZ6Ci/3rQx 2VJXDXDRZaCNoEAB3V4TnS+4mOYKwvbT/cubj4ZGJWyKu4e5v8nybSYC9XKlhOCKfaNK qm0Pk5l1dbJ7wuLss7JIc9GQsHMhnA9sZTai3j0G+zoeAnkJkwOGYcbT4FWt1PTnq7YP Gld39NanYqY2ze7JWkI8qy7y72h4VyMymggNtxsxRWrfMuo3JsJepQOgvtswFmh86XiW 9kJrP/62hn4JdnUhmGT/60w5k51ib6zHIH4GVo3hSxm3MzUJPGlJu2j41zhxd9eIfgzj PbqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=d28n+qwX/yOmesqxWDc3ubnHImFvd93R0h2CHTu+5wU=; b=F4Nv768HP2XqBx2b3mGZ0drs4NmeRsVnHaBfQO3FrAeSrndTxAdRxYuHH0l1yb0JaQ XRJjLviHgRiBAqdEJ6Fuhryjsw0O4jOOYdylrpzAJpz3owuier87i4VrSM9DySiGK++X ehLggqzp+AJs6Xhyze7gILOm6/f/1FRDGjzpopSsAvBOarrKxkB3LBQUOAWI4mt/h7kn BOvWLbmthlj+6i/rfVjRMbW1LscOhpPNuWVV3DSUwXimn0fSOEZgis7dCX0vWkP0CLW5 22smPW6R4vYfT8NujQ0vFyZsLJGsGX2oLRxnUygIJPvSI+nXK09E0NSLZOyGIii+qFmd 1a5Q== X-Gm-Message-State: AKwxytfyDPu/Nj0iUxYIGQjVjUNBrxziARtg1hg/+65bEkL7bNnxiyGH nMu1VDP/7FjIx8k2T9wilb03Zh+mQJuYBDn6LFmuHwQ= X-Google-Smtp-Source: ACJfBosXYTSBop7E72wDharVsZ95T4OR30Kh4ZPehggIgyre5Vw4LDGUL0jazJ/G1+KxTueGZYCLrR1LIrxvpcU4QhA= X-Received: by 10.176.25.36 with SMTP id v36mr1106124uag.175.1516169079633; Tue, 16 Jan 2018 22:04:39 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.118.216 with HTTP; Tue, 16 Jan 2018 22:04:19 -0800 (PST) In-Reply-To: References: From: Ian Maxon Date: Tue, 16 Jan 2018 22:04:19 -0800 Message-ID: Subject: Re: Result Deletion Parameter To: dev@asterixdb.apache.org Content-Type: text/plain; charset="UTF-8" Sounds good to me. +1 On Tue, Jan 16, 2018 at 9:41 PM, Till Westmann wrote: > +1 > > > On 16 Jan 2018, at 15:50, Murtadha Hubail wrote: > >> Hi all, >> >> >> >> Currently, AsterixDB supports three types of result delivery methods >> namely IMMEDIATE, DEFERED, and ASYNC. In the IMMEDIATE case, the result >> files are deleted as soon as the result is sent to the query requester. >> However, in the case of DEFERED and ASYNC, they are kept until a certain >> time to live expires even if the requester already read the result and no >> longer interested in it. To avoid this, the proposal is to add a new >> parameter to our HTTP API to allow the user to specify after how many reads >> the result is deleted. This way, the result files will be deleted as soon as >> the user is no longer interested in the result. If the parameter is not >> specified by the user, the default value to delete the result for all three >> delivery methods will be after (1) read. >> >> >> >> Thoughts, concerns? >> >> >> >> Cheers, >> >> Murtadha