Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1arZ5j-0004Z3-U2 for pgsql-bugs@arkaria.postgresql.org; Sat, 16 Apr 2016 22:53:28 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1arZ5i-0004lr-KF for pgsql-bugs@arkaria.postgresql.org; Sat, 16 Apr 2016 22:53:26 +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 1arZ5h-0004lH-Lh for pgsql-bugs@postgresql.org; Sat, 16 Apr 2016 22:53:25 +0000 Received: from mail-pa0-x22f.google.com ([2607:f8b0:400e:c03::22f]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1arZ5d-0007Zn-Ai for pgsql-bugs@postgresql.org; Sat, 16 Apr 2016 22:53:24 +0000 Received: by mail-pa0-x22f.google.com with SMTP id er2so37858395pad.3 for ; Sat, 16 Apr 2016 15:53:20 -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=PVIe/Rj9U/sbps0kkM/DFHlDAlzQN1Ub8xNsWLpmt1w=; b=PyHaQ8XmXHJ1ZSbaBT49n7/M0xFjb7HLs9dF5p+xIlXCqZZZMWF6SGJWFSBDNnPbjQ ABdoXesA03bKh+w4ux7VfgJa1udolzT9Osx/mEJsSoS2b6Cqw/CXNoKSs519RogDbV9J WkN35tdYO2eJYqFnZ5gpfMWBHAnlQxFWOimMQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=PVIe/Rj9U/sbps0kkM/DFHlDAlzQN1Ub8xNsWLpmt1w=; b=Q8bpDYrKRFALEqDgBTlgWHpyp3n9keNiCnBqym8Vh17rQnFgUOHCF2WOPJE0JPU6sG n6jnMlS2U/j8oR1ZBtzf4/z/gYbkqYTgWFKYgcEvbej9onK/zxNN/qJmWYKWpBSuuwKp pRVTqADtFjDrXM/Cbk+nhCkTFH1soaBu4Bjvz0FPhMQ76X0riqR208XTl6MGeU2YrKqk zVhczVZIt8A5UuTPucQRjMR0VRdRthYVZ1IesEIRkQE0O+Bkt+BJUx2PnkGsFq8Kw2Qk UrBbtEugfNR5RMRUIkfCUfVDerCZAXaD9q/UbazASeGMc1vuHmnh9NT3Uk1umwSQTSoq H1wg== X-Gm-Message-State: AOPr4FUf42Fp8kDQg2rTO0K+mSUP4TvMPckeV0QE075QVXdQVH73hD0svIuYFl4K8kNQYw== X-Received: by 10.66.177.75 with SMTP id co11mr7537674pac.85.1460847198662; Sat, 16 Apr 2016 15:53: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 oy2sm73807550pac.38.2016.04.16.15.53.17 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 16 Apr 2016 15:53:18 -0700 (PDT) Date: Sat, 16 Apr 2016 18:53:16 -0400 From: Noah Misch To: Andres Freund Cc: Robert Haas , Michael Paquier , Haribabu Kommi , Thom Brown , pgsql-bugs , Fabien COELHO , "pgsql-hackers@postgresql.org" Subject: Re: Breakage with VACUUM ANALYSE + partitions Message-ID: <20160416225316.GA1912870@tornado.leadboat.com> References: <20160326123942.qnuwqg3yg2y7ae4p@alap3.anarazel.de> <20160411165054.r35o4fjicdg4avs7@alap3.anarazel.de> <20160411171742.n5xebjt7tcdy4sxf@alap3.anarazel.de> <20160416222301.GA1913058@tornado.leadboat.com> <20160416222823.auk3azpdlh232ocj@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160416222823.auk3azpdlh232ocj@alap3.anarazel.de> User-Agent: Mutt/1.5.24 (2015-08-30) X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On Sat, Apr 16, 2016 at 03:28:23PM -0700, Andres Freund wrote: > On 2016-04-16 18:23:01 -0400, Noah Misch wrote: > > On Tue, Apr 12, 2016 at 09:00:57AM -0400, Robert Haas wrote: > > > On Mon, Apr 11, 2016 at 1:17 PM, Andres Freund wrote: > > > > I can think of a number of relatively easy ways to address this: > > > > 1) Just zap (or issue?) all pending flush requests when getting an > > > > smgrinval/smgrclosenode > > > > 2) Do 1), but filter for the closed relnode > > > > 3) Actually handle the case of the last open segment not being > > > > RELSEG_SIZE properly in _mdfd_getseg() - mdnblocks() does so. > > > > > > > > I'm kind of inclined to do both 3) and 1). > > > > Andres, you own the underlying open item, right? > > Right. > > > Do you plan to implement this fix you have outlined? If so, when? > > Yes, I plan to next week. Completion by the end of next week will work. Thanks. At that time (2016-04-24T00:00 UTC), this would otherwise have spent twenty-three days as an open item. Would you inform this thread if you discover reasons to think your plan will no longer succeed? -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs