Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k8cxE-0000wf-AR for pgsql-hackers@arkaria.postgresql.org; Thu, 20 Aug 2020 05:17:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1k8cxD-0004l1-0A for pgsql-hackers@arkaria.postgresql.org; Thu, 20 Aug 2020 05:17:35 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k8cxB-0004ku-CR for pgsql-hackers@lists.postgresql.org; Thu, 20 Aug 2020 05:17:34 +0000 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k8cx4-0005Lw-Im for pgsql-hackers@lists.postgresql.org; Thu, 20 Aug 2020 05:17:32 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 73D73275; Thu, 20 Aug 2020 01:17:24 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Thu, 20 Aug 2020 01:17:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=+ltHcWLLS2IZEcNbhj/wDHIIvUy SG1OWp/0AV6760ZI=; b=zuPEetwxvHs9gx9+kRlC4gklUC+SWG2p7KqH4RFT5Hs 2ZdqDGmnbmfKqDhA0q5vu72PXb2oZNl+6AaLG6yhCca8ZQ8n4iFlGINv/zYCFXfA NAmG/7nAfARURplD+HaiWq3MwCAP3okI7QRu9UpDPxffnB/dihet5/thPuDpOOSG 3m/drWHe0Iji+6OhElbZGhqPBgkhTfzaqsK+4JqeA6k4IJjnl7rAs+rTIlOHv6Nh eT3MSOPxQqugkj8kg0dzZJ7qjGuHhpcZt1DOO2L2yTTXVgnVOOrSEWz7FLjAEi0L 6pHQggMZ/hniP3i2OUT+dPakojj57JN/Ime8DqMMlBg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=+ltHcW LLS2IZEcNbhj/wDHIIvUySG1OWp/0AV6760ZI=; b=cZ5PCqmObLyxfozFKBsbl/ U/oiQuRaK/5Miey4dvzHtuhAhUPfbLZ7+zh7B0rNMWitt/IwPfFiDa8SQQrLWXEk 2IOOCDtSa4WXLtdBG/wu0PxzkO13XxFoWJ7adawNr/R0UIGRGhQrDIjFaXPgDpuT 8dIR5q+kSLrS20y5iwG4Z8hqV91PwkqNc5VGW5YFQUmZlQDIz4WDbuXqRLkUHtI6 QW0jZoc2zqBHgf1A/UqKXdpU2uUyyC8jutg55/g0CtO+AFp29tr72Kt8DUz2+VBx znb9iejxE0/o4+B5LmM9cYOtZivB015nBBjif0zVLZ46I2xL+bQ1VAmMmxHmKwrQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedruddtledgjeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddt vdenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprg hquhhivghrrdighiiiqeenucggtffrrghtthgvrhhnpedvgeduuefhtdeuleettdevjeeh heeiveeuieegleetgeeljeelieeuieehgeevhfenucfkphepuddukedrvdeguddrvdehtd drudejgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhm pehmihgthhgrvghlsehprghquhhivghrrdighiii X-ME-Proxy: Received: from paquier.xyz (mp76f1faae.ap.nuro.jp [118.241.250.174]) by mail.messagingengine.com (Postfix) with ESMTPA id 4A68F30600B4; Thu, 20 Aug 2020 01:17:22 -0400 (EDT) Date: Thu, 20 Aug 2020 14:17:13 +0900 From: Michael Paquier To: Alvaro Herrera Cc: Pg Hackers , Peter Eisentraut Subject: Re: "ccold" left by reindex concurrently are droppable? Message-ID: <20200820051713.GA3730@paquier.xyz> References: <20200819211312.GA15497@alvherre.pgsql> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="huq684BweRXVnRxX" Content-Disposition: inline In-Reply-To: <20200819211312.GA15497@alvherre.pgsql> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --huq684BweRXVnRxX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 19, 2020 at 05:13:12PM -0400, Alvaro Herrera wrote: > In other words I propose to reword this paragraph as follows: >=20 > If the transient index created during the concurrent operation is > suffixed ccnew, the recommended recovery method > is to drop the invalid index using DROP INDEX, > and try to perform REINDEX CONCURRENTLY again.=20 > If the transient index is instead suffixed ccold, > it corresponds to the original index which we failed to drop; > the recommended recovery method is to just drop said index, since the > rebuild proper has been successful. Yes, that's an improvement. It would be better to backpatch that. So +1 from me. > (The original talks about "the concurrent index", which seems somewhat > sloppy thinking. I used the term "transient index" instead.) Using transient to refer to an index aimed at being ephemeral sounds fine to me in this context. -- Michael --huq684BweRXVnRxX Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAl8+B1kACgkQnvQgOdby QH1ysxAAgZ2rrifaSQw43OecGLx93kNzTgtcprWpvmw4AsjgOQ4hPpDiaDL+pT1x n83/RPY/Yd3MjdnTpjOsX9kATV12gz3l4JVg6EcNgfaPk95DGKjmXw2QHhNo/gjj x1hFY9ih2Uq7BUTTJ7cQXjjVjGZ66UHXTfgchKfdAVLptdnnhTMhVWRCkT5P0UxG b+6adp20nm+dLinVUDGYE0/skmLx703qC1BKVCU59x53oJ5jZ3BV8gYS8pwAMdfg VaPZ6A3493VToH2HgS39czRIBoqxVlfGdnZw6Vcs3RW/TBwxxLFFGME1QPU5At+P Erh1lKkGgedHz2hL9iPB3HvltsHEqzddtXKIf4mj09WradFKQOvBJB2lwZwyO9Ky 2aNL7kXZ+zlImyt30OvzAEvbh0V/pnlnWSjY5c5XI1eFwyNNThZc53ii2CFfd0Rk nF5rkJObxzU887iz5se2i8+/rF8ecmEe2xtL4f4yfzOpiRajhr2ZCF4j+F8KCGmM qSeDGOLtv/C5C9AoupejPoQM5p9urQF7JQiUgVPw5zBickflWVOFaK1iZuqCNdQD C+HEiIhNLxS36wRt95JzftDp0FEuVkiBhJJ2TlWXcanuvBcjUDUKAVlGbJaZA6BY aCCCWd1T0PyH7V4PEsYRGWLCOHpdR6SJ5lO4vWS4c5nM34Ky4o0= =Xwp+ -----END PGP SIGNATURE----- --huq684BweRXVnRxX--