Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cxQWA-0008Tr-7b for pgsql-hackers@arkaria.postgresql.org; Mon, 10 Apr 2017 04:01:30 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cxQW9-0004aK-Ei for pgsql-hackers@arkaria.postgresql.org; Mon, 10 Apr 2017 04:01:29 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cxQW7-0004Xt-JB for pgsql-hackers@postgresql.org; Mon, 10 Apr 2017 04:01:27 +0000 Received: from mail-pf0-x234.google.com ([2607:f8b0:400e:c00::234]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1cxQW0-0000FW-CL for pgsql-hackers@postgresql.org; Mon, 10 Apr 2017 04:01:27 +0000 Received: by mail-pf0-x234.google.com with SMTP id i5so27032132pfc.2 for ; Sun, 09 Apr 2017 21:01:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leadboat.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=GjixfTpxo3s9EwT5XNGQ7N/ZTeMDONjOynYNVi3K6pk=; b=EY6wu5weKG5PNfuDRdkfGn5DPwFEOiiVley+Jq1h5cTIl75cIiZa2DQSFnYtcX0EcK MizgSDBX/JCuZFoc3PYKS/lRyMd6ckc3pYKurJZzsOW9Hq3n84Y7ceeHwRaglrEk8Cd5 7Oe4kz1fMsIXDIPytTw7xYVovOgFZLMGQcKXc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=GjixfTpxo3s9EwT5XNGQ7N/ZTeMDONjOynYNVi3K6pk=; b=jA6T0CuGBCASGodNnl2dfpJMW7RM4fapvn+d11gXXnbp++OCCUXqpCHr/O6BQKrX37 9CLXxtRtrZ0+D+Syw5JyZwvhTvecsCLNNXNwDnqb5ot5aiWxSFqOpBQZd4xR55XnYQWk UxHnEld3hHB3xb622+aUmQSlOsFDIMQu30CQ2C+YrJ176gBhPPZocdbQHGE44++kDsHp WXIjiGuUO+KvxwtjY9E1cKTshocpuP4xZ4vbpM46fh726sKfBiZCF0/mnOjVFtrP/I+I p8aUg31RBPu7+D9N2bONVTyeA8iHMrp0BW7BguV+ZDH4y3EpxIAR5HnpaF+z4G5jh9ny m2bg== X-Gm-Message-State: AFeK/H2HKEe063LVCgRbCSFR2dDQi8uvi4UU0DbVnRaInmdImwMEZEMT0oTlS7BhUpTIjg== X-Received: by 10.99.100.129 with SMTP id y123mr54554903pgb.101.1491796878161; Sun, 09 Apr 2017 21:01:18 -0700 (PDT) Received: from tornado.leadboat.com (c-98-248-47-228.hsd1.ca.comcast.net. [98.248.47.228]) by smtp.gmail.com with ESMTPSA id r90sm1704759pfl.120.2017.04.09.21.01.16 (version=TLS1 cipher=AES128-SHA bits=128/128); Sun, 09 Apr 2017 21:01:17 -0700 (PDT) Date: Mon, 10 Apr 2017 00:01:14 -0400 From: Noah Misch To: Andrew Dunstan Cc: Stephen Frost , Michael Paquier , PostgreSQL mailing lists Subject: Re: [COMMITTERS] pgsql: Sync pg_dump and pg_dumpall output Message-ID: <20170410040114.GA2846617@tornado.leadboat.com> References: <20170322153920.GL9812@tamriel.snowman.net> <75e1b6ff-c3d5-9a26-e38b-3cb22a099ff0@2ndQuadrant.com> <20170322161006.GM9812@tamriel.snowman.net> <20170405064941.GB2702846@tornado.leadboat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170405064941.GB2702846@tornado.leadboat.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-Pg-Spam-Score: -2.0 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On Wed, Apr 05, 2017 at 02:49:41AM -0400, Noah Misch wrote: > On Fri, Mar 24, 2017 at 12:26:33PM +0900, Michael Paquier wrote: > > On Thu, Mar 23, 2017 at 1:10 AM, Stephen Frost wrote: > > > * Andrew Dunstan (andrew.dunstan@2ndquadrant.com) wrote: > > >> On 03/22/2017 11:39 AM, Stephen Frost wrote: > > >> > * Andrew Dunstan (andrew@dunslane.net) wrote: > > >> >> Sync pg_dump and pg_dumpall output > > >> > This probably should have adjusted all callers of pg_dump in the > > >> > regression tests to use the --no-sync option, otherwise we'll end up > > >> > spending possibly a good bit of time calling fsync() during the > > >> > regression tests unnecessairly. > > >> > > >> All of them? The imnpact is not likely to be huge in most cases > > >> (possibly different on Windows). On crake, the bin-check stage actually > > >> took less time after the change than before, so I suspect that the > > >> impact will be pretty small. > > > > > > Well, perhaps not all, but I'd think --no-sync would be better to have > > > in most cases. We turn off fsync for all of the TAP tests and all > > > initdb calls, so it seems like we should here too. Perhaps it won't be > > > much overhead on an unloaded system, but not all of the buildfarm > > > animals seem to be on unloaded systems, nor are they particularly fast > > > in general or have fast i/o.. > > > > Agreed. > > > > >> Still I agree that we should have tests for both cases. > > > > > > Perhaps, though if I recall correctly, we've basically had zero calls > > > for fsync() until this. If we don't feel like we need to test that in > > > the backend then it seems a bit silly to feel like we need it for > > > pg_dump's regression coverage. > > > > > > That said, perhaps the right answer is to have a couple tests for both > > > the backend and for pg_dump which do exercise the fsync-enabled paths. > > > > And agreed. > > > > The patch attached uses --no-sync in most places for pg_dump, except > > in 4 places of 002_pg_dump.pl to stress as well the sync code path. > > [Action required within three days. This is a generic notification.] > > The above-described topic is currently a PostgreSQL 10 open item. Andrew, > since you committed the patch believed to have created it, you own this open > item. If some other commit is more relevant or if this does not belong as a > v10 open item, please let us know. Otherwise, please observe the policy on > open item ownership[1] and send a status update within three calendar days of > this message. Include a date for your subsequent status update. Testers may > discover new open items at any time, and I want to plan to get them all fixed > well in advance of shipping v10. Consequently, I will appreciate your efforts > toward speedy resolution. Thanks. > > [1] https://www.postgresql.org/message-id/20170404140717.GA2675809%40tornado.leadboat.com This PostgreSQL 10 open item is past due for your status update. Kindly send a status update within 24 hours, and include a date for your subsequent status update. Refer to the policy on open item ownership: https://www.postgresql.org/message-id/20170404140717.GA2675809%40tornado.leadboat.com -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers