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 1rSaXM-00EfnR-Ej for pgsql-hackers@arkaria.postgresql.org; Wed, 24 Jan 2024 10:31:16 +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 1rSaXK-003wKO-Pt for pgsql-hackers@arkaria.postgresql.org; Wed, 24 Jan 2024 10:31:14 +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 1rSaXK-003wIv-Fz for pgsql-hackers@lists.postgresql.org; Wed, 24 Jan 2024 10:31:14 +0000 Received: from mail-oa1-x34.google.com ([2001:4860:4864:20::34]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1rSaXE-0036zg-Tm for pgsql-hackers@postgresql.org; Wed, 24 Jan 2024 10:31:12 +0000 Received: by mail-oa1-x34.google.com with SMTP id 586e51a60fabf-2148e793e12so988865fac.1 for ; Wed, 24 Jan 2024 02:31:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706092268; x=1706697068; darn=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=ZAyB4x+AiZJ0r8yhEAO1GMasoJi99Ceyv7g3w/mfxtQ=; b=fdOVT/7gV1IfTHXQchU4NZkQX+8FnVcyJ7Bzxrn7tMcNQ9j6ir1qWQ1argkBMR4by+ /NwihPcJaCuNjIgqg2TY1zqfyxRy4B1pFftXkyxmsXwM8Wv9yHtg0vg1ZxjWO44wUtWX or0gznIQRu71gdvmHylNUrCMF3gjTSlBf37BPusUmNyGqA6I7tXSIgVtEOg6Guv7DS/z GUAmaiBul6qtONgeEEUDFTOSpIgAhKTpK4jGAUIyurO/PUw4sT7+LOIBRrJC2Px9TrQm opcQDC+sT3xkJ+H+wg4FUJE1UdneICXNnrbbJJUlvdBg65vDa5Poq/f1xuXQ6N1sOSic 4MIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706092268; x=1706697068; 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=ZAyB4x+AiZJ0r8yhEAO1GMasoJi99Ceyv7g3w/mfxtQ=; b=IAeG7BU3avQTPxBxhat7imi5MZzOd6KeYoSgUOW85UCxweXrUD8GDl5YZHtgMim9Wo srW09A6kLD0dGSf94zITg/6PxJ/Ru4NDcYBDz7kgtWMemsqlWsNr3FVIWL4mU1EHo/IU sgNYNdWMqASwRS1noC4IOEQ3F+gCsxDf2zdUUXRkD4ia7o+hQF0Shgh0dswcrAeGC2c7 /jVzj1r59f2TxcF3BFCIis6qOGoV98Vlyk7DZv84ab/g78tnOoUzSoGuU8ZH5F+Z9OlQ HaHHdqUwKIIbLAqzqLAFDRyai/hCvADOYutr8yotrDYH9ztJfM+0kjLHZDMpHcH8hjKN MEBQ== X-Gm-Message-State: AOJu0YyR5LdA+5caGwWtNQY+w1lf9du2q9P8Y4Rbuu/SM5JOFFZFAxs6 M0iRwLJfTcHcm30Odqd8LfiPnSRsKMrq86QknLct6cu1etbZGAPnaFyeUgopw4NnifiOTTX4Lan bW7jgz3FfvNZoY9FGy1sBV4vTQ+4= X-Google-Smtp-Source: AGHT+IE6JQ+uZ1vGaIh2M32f/uOFwLG0U030nIbaxlCzMrBomwUjFpsJBGPKVBIjUgB62uM9/s+9PWQOTIJ5r+++OWQ= X-Received: by 2002:a05:6870:2197:b0:210:c52d:c72 with SMTP id l23-20020a056870219700b00210c52d0c72mr3444132oae.16.1706092268210; Wed, 24 Jan 2024 02:31:08 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Amit Kapila Date: Wed, 24 Jan 2024 16:00:56 +0530 Message-ID: Subject: Re: Synchronizing slots from primary to standby To: shveta malik Cc: Ajin Cherian , Bertrand Drouvot , Masahiko Sawada , "Zhijie Hou (Fujitsu)" , Dilip Kumar , Peter Smith , Nisha Moond , "Hayato Kuroda (Fujitsu)" , Bharath Rupireddy , Peter Eisentraut , Bruce Momjian , Ashutosh Sharma , Andres Freund , pgsql-hackers , Alvaro Herrera 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 Tue, Jan 23, 2024 at 5:13=E2=80=AFPM shveta malik wrote: > > Thanks Ajin for testing the patch. PFA v66 which fixes this issue. > I think we should try to commit the patch as all of the design concerns are resolved now. To achieve that, can we split the failover setting patch into the following: (a) setting failover property via SQL commands and display it in pg_replication_slots (b) replication protocol command (c) failover property via subscription commands? It will make each patch smaller and it would be easier to detect any problem in the same after commit. --=20 With Regards, Amit Kapila.