Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sA40R-007K4M-5w for pgsql-hackers@arkaria.postgresql.org; Thu, 23 May 2024 08:41:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sA40M-00A2Oo-QM for pgsql-hackers@arkaria.postgresql.org; Thu, 23 May 2024 08:40:54 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sA40M-00A2Of-Dw for pgsql-hackers@lists.postgresql.org; Thu, 23 May 2024 08:40:54 +0000 Received: from mail-oa1-x2b.google.com ([2001:4860:4864:20::2b]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sA40F-001ajo-K4 for pgsql-hackers@lists.postgresql.org; Thu, 23 May 2024 08:40:53 +0000 Received: by mail-oa1-x2b.google.com with SMTP id 586e51a60fabf-241ad94775eso3100153fac.1 for ; Thu, 23 May 2024 01:40:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716453647; x=1717058447; darn=lists.postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=SG+1tQcWqYaA1QxYFxClDkfQMl0Paxr3vSfZYCB9UPk=; b=apRU/QPaJ60KSUPhodrbEbuGnmw/mup5UOpbVLpf2IrFWwqoUTYqw0idHXVsY/d8Px DyMPHY+DXHLonDSOfiAGbWLOMGRk3nShnZ5hdOVUyx6dpNxguA5KMntFZ1SvUbnS1369 /RJNUv26bKgdeq5NY9GbZlf1WH0gDrH9lPCxgBfHYJJN8qfRTAtKBXe06QUwQd0fPLYA HOom4D7Gm5OS4v8o9ljrlP4E5TpT5pWj53ynyKmWcOZcBYo7OqjaIUGcCUdLjAoG75AI NB2niVZW4M02egeRvASmVaLWPuOrLOG0WF2JqF0R+f+MTTPMr2cHdpLCBAtBPpqJSFXv Fgsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716453647; x=1717058447; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=SG+1tQcWqYaA1QxYFxClDkfQMl0Paxr3vSfZYCB9UPk=; b=kqhAThmiftXengzrT6X6Cd3wxaNcKXcHkS0y5/n1S4aGAXePKUX8rzXRDmwPb3ThU2 eZjZKU85qurvGasiK8X8AdFmy6V2wbJ3QCJCVRmXmvfkI7mW9jZXYSgeHpHYo1WrODqL F/kDMsvLj1oGbKSHzLuFx8XOJfJtDT2/y4XzuXZpaufseFP1tR0QvQDo8XCOSHQnaA2U JV7QVXDT6QNYLuW5HIwuqysdFY7bqLh2hWQOaN+iMl+pBZIRxuE3Ll2KGACMatfTWASh cPCPBzN5vEGApP+v0+UIgd65cBddaAm7jKr18d59dKTZVSYLVbHfCEMb9MGvhEspMBPp yX/A== X-Forwarded-Encrypted: i=1; AJvYcCWdzGR6HpuEeB0DuLYa60kYJck4CzVJ/sYMyI6h+fZjyqBhOOHXbrZ1zhcKuHnDvSMTl/etj70qGIlRfPgUtF/1beR4LlCiOXk7MO1PZsy1+vMu X-Gm-Message-State: AOJu0YzqsW9rfX4QIEdEMvuKSnSlP5+mrUSlB52MQvKBpuBf690A37lR sx2QsLdl2orFAyXZ3StUvwB8MGU2vUIIuJDg47AtnTVHAflrSkR98x7rhiw4E7pdIaW3WoWm3aq 7IjUMzEa8KPN3o3dumN6R6G9Zf8FVFnMf X-Google-Smtp-Source: AGHT+IGG4zz7NtKs4EsB1dE+gKoMBdyAQRyGTc8EOlJ/Z42JJO2j1nK5rHv/JBGZlFpaN2aJ3VtPOVnqz6CLQ+HQG4w= X-Received: by 2002:a05:6870:c194:b0:23c:8254:2e41 with SMTP id 586e51a60fabf-24c6882224emr4486108fac.0.1716453646811; Thu, 23 May 2024 01:40:46 -0700 (PDT) MIME-Version: 1.0 References: <3222278.1716139817@sss.pgh.pa.us> <61182a55-87e6-4019-9274-5f2cc5c38f31@app.fastmail.com> In-Reply-To: From: Amit Kapila Date: Thu, 23 May 2024 14:10:35 +0530 Message-ID: Subject: Re: State of pg_createsubscriber To: Robert Haas Cc: Euler Taveira , Tom Lane , pgsql-hackers@lists.postgresql.org, Euler Taveira , Peter Eisentraut Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, May 22, 2024 at 8:02=E2=80=AFPM Robert Haas = wrote: > > On Mon, May 20, 2024 at 2:42=E2=80=AFAM Amit Kapila wrote: > > Just to summarize, apart from BF failures for which we had some > > discussion, I could recall the following open points: > > > > 1. After promotion, the pre-existing replication objects should be > > removed (either optionally or always), otherwise, it can lead to a new > > subscriber not being able to restart or getting some unwarranted data. > > [1][2]. > > > > 2. Retaining synced slots on new subscribers can lead to unnecessary > > WAL retention and dead rows [3]. > > > > 3. We need to consider whether some of the messages displayed in > > --dry-run mode are useful or not [4]. > > Amit, thanks for summarzing your understanding of the situation. Tom, > is this list complete, to your knowledge? The original thread is quite > complex and it's hard to pick out what the open items actually are. > :-( > > I would like to see this open item broken up into multiple open items, > one per issue. > > Link [4] goes to a message that doesn't seem to relate to --dry-run. > Sorry, for the wrong link. See [1] for the correct link for --dry-run related suggestion: [1] https://www.postgresql.org/message-id/CAA4eK1J2fAvsJ2HihbWJ_GxETd6sdqSM= rZdCVJEutRZRpm1MEQ%40mail.gmail.com --=20 With Regards, Amit Kapila.