Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vq3hZ-0001sa-7M for pgsql-bugs@arkaria.postgresql.org; Mon, 09 Dec 2013 16:28:57 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Vq3hY-0000GQ-Lg for pgsql-bugs@arkaria.postgresql.org; Mon, 09 Dec 2013 16:28:56 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vq3hX-0000FB-HO for pgsql-bugs@postgresql.org; Mon, 09 Dec 2013 16:28:55 +0000 Received: from moutng.kundenserver.de ([212.227.126.171]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vq3hU-0002SJ-MP for pgsql-bugs@postgresql.org; Mon, 09 Dec 2013 16:28:54 +0000 Received: from anarazel.de (p5DDC4D15.dip0.t-ipconnect.de [93.220.77.21]) by mrelayeu.kundenserver.de (node=mrbap2) with ESMTP (Nemesis) id 0MZwSd-1W8wnd1OGN-00LJS3; Mon, 09 Dec 2013 17:28:50 +0100 Received: by anarazel.de (Postfix, from userid 1000) id 888611007FA; Mon, 9 Dec 2013 17:28:49 +0100 (CET) Date: Mon, 9 Dec 2013 17:28:49 +0100 From: Andres Freund To: Serge Negodyuck Cc: pgsql-bugs@postgresql.org Subject: Re: BUG #8673: Could not open file "pg_multixact/members/xxxx" on slave during hot_standby Message-ID: <20131209162849.GB9519@awork2.anarazel.de> References: <20131209142525.GA1123@awork2.anarazel.de> <20131209150345.GB1123@awork2.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Provags-ID: V02:K0:wT5QbHrVVOneQjy6/yVFPkvVUu0LjRqIAmvDW23iZcy e6rjc4JuSWJEkbuzW3J+rewtVPE4SEOn2QJM2inhLjffO1wJ9F Zbgi5ecNg+Xkq0Bz52UI598+ldNYR82KpFU8A/n55LeQwC2/z3 9LI0VsWOBSCUXD0p4cXfvDWJw3f/XaglMPlPipbPGPDF2hiiIn W4XuOH7VtI9lTFIwuG4wOC6keO/DSyHumb7jm6wlryNa+ezuyU OQ1llRX4JHztYZAcba0vY1x4QWIDAQOIWV/2Vr7lmSI0SSGVQE h8lz8ULBUVA3vp1VBsS8JJl4bctH+ykoYNRwp652Q6V9eJETYq L6pUcjyBJCetBLZSg+GO3MvotsKxXBBw6GIw/dR6c X-Pg-Spam-Score: -1.9 (-) 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 2013-12-09 17:49:34 +0200, Serge Negodyuck wrote: > Latest checkpoint's NextXID: 0/90546484 > Latest checkpoint's NextOID: 6079185 > Latest checkpoint's NextMultiXactId: 42049949 > Latest checkpoint's NextMultiOffset: 55384024 > Latest checkpoint's oldestXID: 710 > Latest checkpoint's oldestXID's DB: 1 > Latest checkpoint's oldestActiveXID: 90546475 > Latest checkpoint's oldestMultiXid: 1 > Latest checkpoint's oldestMulti's DB: 1 So, the oldest multi is 1, thus the truncation code wouldn't have been able to remove any. So I think this really is an independent problem from the truncation patch. But a problem nonetheless. > > Could you also provide ls -l pg_multixact/ on both primary and standby? > > Did you mean pg_multixact/members/ ?