Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fZ2EL-00057K-NO for pgsql-hackers@arkaria.postgresql.org; Fri, 29 Jun 2018 22:51:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fZ2EJ-0006R6-OQ for pgsql-hackers@arkaria.postgresql.org; Fri, 29 Jun 2018 22:51:03 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fZ2EJ-0006Qr-Dz for pgsql-hackers@lists.postgresql.org; Fri, 29 Jun 2018 22:51:03 +0000 Received: from mail-qt0-x242.google.com ([2607:f8b0:400d:c0d::242]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fZ2EF-00014T-Mp for pgsql-hackers@lists.postgresql.org; Fri, 29 Jun 2018 22:51:01 +0000 Received: by mail-qt0-x242.google.com with SMTP id c8-v6so9271575qtp.10 for ; Fri, 29 Jun 2018 15:50:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=dy0SukodnElhyP/VEkE/n/hISg0erjXFH5hN5aZP17Y=; b=AYX8DjV0ofQVGd1Mz/nIOfynPU9inG6DHLsSWYb4MNTTrNgrod73VUOAG7MXaJsjx7 ku/q7O+mL4sKlZeCxxUDpA4XXVUwDRZPN9601I7DHT0cHqmBnCpfGTMA6QB15GhzDu/O yX8uuFcXVM9oaETkCOmgFjlcdY6gjvy84sYjOlXcAESWWQB48XGYHZ9Srv2UREaIbutO txCkC7MR0PTW1baRbWYImM7kip7iE30lwCbS1oaHX+NyVIa0iqevrg18yFD5dHYlOYct C4egD8Skbh5K/G/7VtSzEbgcmh00un3RPPJ0TrLExeWDTW/A4Tnpv8Xryhaa4rl/0Aco ld/w== 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:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=dy0SukodnElhyP/VEkE/n/hISg0erjXFH5hN5aZP17Y=; b=o4dg3+LJVuDTfI0Wh+1ZHb+QBVSFGmzCPvpN9vb5Rwh/95kEnwr6qVUcVkrgQpn1tR iHgb3pXT0cQvh3BlYsKgfY9vrHk+wBkPYt5xBw0Rzhb582dpeMedOXVJgKtoEXrmUE3H ywHaFp3pIx/jx40KtWzB8Z/VT4kpBvDM3PVwOQjmVfS5LNggJd6Fr6/nX3y1BRMnZOhI /m71EOfnsbdv7aTahx66YEjuL5QdE+QEvBbz7YMIH87ISI+doypHW4zVb/VdWLnxy7C/ dFNA22NEV8/JkZxz2d+TKiarBpH4S6JEtvY57RnCg03FGjOPe0lHZTgYf2f+7/MWE5ch d0EQ== X-Gm-Message-State: APt69E0kfifQx2HwCd2bQGmdjC4FWLcprAfV+8loLvGGputDwfB4pcfF +xbmeTXKUJZSYuCJ7hNja339gEe8kIyJjM9JF1FB8oqytOn7y4if96+EuSiTX7MBZBb7/pYGWjm FJwnvckKEpx/gioHIlmBYw9vyWYYmi5LIkr/GiD75LhmYX5DrZPKgKmHd7uxeM+PYFT/MSGdoO7 1NYtsWuwOV81s= X-Google-Smtp-Source: AAOMgpee4xB/t3XEfjbe5aHUKeXpqmJ6kARa/fSunwEryKoLfX+RHXxq/vjEMNL4U9hAaTPnpXvlnQ== X-Received: by 2002:aed:3dcb:: with SMTP id j11-v6mr15298013qtf.357.1530312658538; Fri, 29 Jun 2018 15:50:58 -0700 (PDT) Received: from alvin.alvh.no-ip.org ([190.121.29.3]) by smtp.gmail.com with ESMTPSA id t17-v6sm9285642qth.10.2018.06.29.15.50.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 29 Jun 2018 15:50:58 -0700 (PDT) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id A2FFD110F; Fri, 29 Jun 2018 18:50:55 -0400 (-04) Date: Fri, 29 Jun 2018 18:50:55 -0400 From: Alvaro Herrera To: Tom Lane Cc: pgsql-hackers@lists.postgresql.org, 2q-andrew@alvin.alvh.no-ip.org Subject: Re: pgsql: Fix "base" snapshot handling in logical decoding Message-ID: <20180629225055.cy3e4ecayibwr5rd@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180629222906.w5hqjgclmtk76v5i@alvherre.pgsql> User-Agent: NeoMutt/20170306-137-4415bd-dirty (1.8.0) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2018-Jun-29, Alvaro Herrera wrote: > On 2018-Jun-28, Tom Lane wrote: > > > Alvaro Herrera writes: > > > Fix "base" snapshot handling in logical decoding > > > > According to buildfarm member friarbird, and as confirmed here, > > the contrib/test_decoding/specs/oldest_xmin.spec test added by this > > commit fails under CLOBBER_CACHE_ALWAYS. > > Hm. Running this test under CLOBBER_CACHE_ALWAYS I see that the VACUUM > FULL step takes 31 seconds (and the test succeeds). This is not > top-of-the-line hardware by a long shot (Intel(R) Core(TM) i7-4600U CPU > @ 2.10GHz) but I can believe that the other machines are slower or > busier. It does fail in the indicated way in CLOBBER_CACHE_RECURSIVELY, but I guess that's expected. It also fails if I reduce the timeout from 60 seconds to 25. I suppose 60 seconds (isolationtester's default timeout) is just not enough time for those machines. We could increase it to 180 seconds and see if that's enough to make them pass ... Another possibility is to examine column 'state' in isolationtester. I thought we only used that timeout for 'waiting' queries, but I see it's not doing that. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services