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 40038200C5B for ; Thu, 13 Apr 2017 00:12:04 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3E803160BA8; Wed, 12 Apr 2017 22:12:04 +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 858E3160B95 for ; Thu, 13 Apr 2017 00:12:03 +0200 (CEST) Received: (qmail 97217 invoked by uid 500); 12 Apr 2017 22:12:02 -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 97135 invoked by uid 99); 12 Apr 2017 22:12:02 -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, 12 Apr 2017 22:12:02 +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 B2A3CC0258 for ; Wed, 12 Apr 2017 22:12:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.48 X-Spam-Level: X-Spam-Status: No, score=0.48 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5] 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-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 0-r4jokagdfK for ; Wed, 12 Apr 2017 22:12:00 +0000 (UTC) Received: from mail-lf0-f42.google.com (mail-lf0-f42.google.com [209.85.215.42]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 4B3635FB49 for ; Wed, 12 Apr 2017 22:12:00 +0000 (UTC) Received: by mail-lf0-f42.google.com with SMTP id t144so21273120lff.1 for ; Wed, 12 Apr 2017 15:12:00 -0700 (PDT) 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=yZADoGjNRdlB9TMsj5AreXalJwCJdyZ6qBX5riM2TLo=; b=B3ofTm49EOoBRz+D6AVb3Us00860dJv0as6jjLJQdEgtVp7KAq7SwUOpBanbP1pGM9 ERBgF/WgRy1s8223e/dEyjCJv+0LfEcpKBAldVVai3fECZOtv6NUnpUGDyCBiCY1tqvH jKMIxtq/3iOYY6uNzSHEeC9qbJY+inaoSfE7PaK7GNR87vN0G+/4T3A9lF14ELg59jUa IWqvOm9/Hh+/xESFNzaQl5BvcKWe8ywxRpby6uvIR7+4bPauyUM8mDLvxKa+ANBnb/5d dbaKmtDiBaZ+ZutoND8EYvE3fwxElsnXjIZ8fcmVhxsdu0NHTg/TAwxVPKlEunfutVNA xwCQ== 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=yZADoGjNRdlB9TMsj5AreXalJwCJdyZ6qBX5riM2TLo=; b=B0auAQu+KFeT0OmDBjeEiH6e0s0xR00mgJ+ArEOvvqu6ZWwN4A10okABXOcjihjwVM ubROdCJDzUv7QY+VX96wgaXHYqB21cGNuWaiRB9fHbvOT2XD5VAkMsqIrSBo1jm8QQ4e xr+SggdvOD12vY0IOvOcUT2nyA0bSHt014ApAuCIhy7CQR6mwJExFYYiqaF79+vn0fP4 BlSARGHtDIznIzMsoez3rbZqGrABjSVQTbuHlYFEL0rBpfu9NzN9KefXlbABds+oRcPx yM57qMxm0/EA92aKvGKkKB2dyZSbS7yOSsUZaQMd2NLIKJILtrXUiFAWSAXkts+kA84u 6lHw== X-Gm-Message-State: AFeK/H0uLYAUIwtc9k3rV0+OKmTJE44yaEbopyFQ1U5lGk1wvCxIT0GsU2HMy7O4pgXNB/BCLQDS9Vwm4gTEsg== X-Received: by 10.46.0.65 with SMTP id 62mr20039087lja.115.1492035114276; Wed, 12 Apr 2017 15:11:54 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.228.8 with HTTP; Wed, 12 Apr 2017 15:11:33 -0700 (PDT) In-Reply-To: <667cbe8c-6907-2cb7-6299-cae26b224e3e@gmail.com> References: <9E61D7CA-57D3-4555-BB26-2FEBA0015954@gmail.com> <667cbe8c-6907-2cb7-6299-cae26b224e3e@gmail.com> From: Ian Maxon Date: Wed, 12 Apr 2017 15:11:33 -0700 Message-ID: Subject: Re: When is it appropirate to add reserved words to the AQL/SQL++ Grammar? To: dev@asterixdb.apache.org Content-Type: text/plain; charset=UTF-8 archived-at: Wed, 12 Apr 2017 22:12:04 -0000 Yes, more or less. I'm not sure that I would force the buffer cache, but at least I want all of the "object" representations outside of that to have vanished such that their state must be regenerated from the at-rest format. On Wed, Apr 12, 2017 at 2:41 PM, Mike Carey wrote: > So you want to basically quiesce a dataset "all the way" - so that it's not > open at all, and perhaps so that the buffer pool also has none of its pages > resident? > > > > On 4/12/17 2:26 PM, Ian Maxon wrote: >> >> That's a little different than from what I'd like to do. Basically I >> want to evict the dataset entirely. My alterior motive here is to test >> the correctness of persisted storage artifacts as right now in many >> cases this is not covered. It has been a recurring theme in many bugs >> that there is some stored artifact on disk that is written incorrectly >> but never read during tests, because often the tests simply never >> encounter the path in which this would occur (restart,eviction, etc.) >> >> On Wed, Apr 12, 2017 at 1:46 PM, Ildar Absalyamov >> wrote: >>> >>> Ian, >>> >>> There is an existing API, which does exactly that. >>> https://github.com/apache/asterixdb/blob/master/asterixdb/asterix-app/src/main/java/org/apache/asterix/api/http/server/ConnectorApiServlet.java#L123 >>> >>> I have been successfully using it in my experiments. >>> >>>> On Apr 12, 2017, at 13:41, Ian Maxon wrote: >>>> >>>> Hey all, >>>> I was working on a patch that would add a 'flush dataset' DDL command >>>> (mainly for testing), and of course this would require adding 'flush' >>>> as a new reserved word. What is the consensus on when this would be >>>> permitted at this point? There are other ways to do this, of course, I >>>> could expose this functionality through a separate API, and I am not >>>> really partial to one solution or the other. >>>> >>>> Thanks, >>>> - Ian >>> >>> Best regards, >>> Ildar >>> >