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 1rpMTT-006LPQ-MP for pgsql-hackers@arkaria.postgresql.org; Wed, 27 Mar 2024 06:09:24 +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 1rpMTR-00Adjh-0l for pgsql-hackers@arkaria.postgresql.org; Wed, 27 Mar 2024 06:09:21 +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 1rpMTQ-00AdjY-NA for pgsql-hackers@lists.postgresql.org; Wed, 27 Mar 2024 06:09:20 +0000 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1rpMTN-006eew-7H for pgsql-hackers@lists.postgresql.org; Wed, 27 Mar 2024 06:09:19 +0000 Received: by mail-wr1-x432.google.com with SMTP id ffacd0b85a97d-341b01dbebbso4923502f8f.0 for ; Tue, 26 Mar 2024 23:09:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711519757; x=1712124557; 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=Th/fu4hp6FV1bbWOX/RnXUfS4s8atWME4Tsphvi15vI=; b=h15mEeki3eLh4m+Q+KbHi7cDFVOukZmZcPc5jifvvTxQENpnvEL9yGV12dBQfThSDR t/DMpHjv2DjzyVYyemxQVWOuSLyDsncHkfo5gXW6md880SQ9KmnvdBIoN/NXaB4oM9aw FhxFdn4kfS6AuLaebAJDomlRLQXSSCGx7rswPeI7LLdQARKXMY1l0GPWq72sovu3kVPL nr1TXI32utqtcJenNMDb4ureKxSmc2laf5apX+y+TF+pRX79I373oUQz/eqaCAdZ2fHm ScMNFXDk7cyCqBElfnWDH8/BniYyt1Bqn4zWuJUkKSArzBgMzIjwnX4W12v+eXSf7t// kuKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711519757; x=1712124557; 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=Th/fu4hp6FV1bbWOX/RnXUfS4s8atWME4Tsphvi15vI=; b=IBCFAjxa5dQCOc4BxQYPZUGoPfQ8eCfpKfaHnzHowD5+A1uHkwJkTTZwrewnnNbF+I 9KBoBlYen3UL77KmR4iS907huf4KlrYHiB2VRRhZP6w1MLuM8JZHJJ3DFaSaY08eznen qgYs1QQMRBla9LSPPIkzpjqMkknR9xq/emetSaL6TVIBlTcCbvsGEX+iNIBdCnbIsLq7 7Vgmm/L/UekSHCOAKlSGEzVAhzZh8tJV10mvIoy1DlbGm+KoYFP/Br3tL596PFlYGe8F H8CY0NEzFIEwbPRZv0gkPT6Fly900acp3cSxqv2NTY1o+Mgsp/dV0XHK67hG+o3Rzmh8 VlUw== X-Forwarded-Encrypted: i=1; AJvYcCUiUTfW+Q9khP4WTOAQos+d3/8jZjjmcROKgDedbJ5GzYCJEqbtpkIHHyNW/UuccK6MqGQTMzzQXqsIMtkWJtYxGbadGGXTevVDuvL6/qyR2qxd X-Gm-Message-State: AOJu0Yxhfg5qj2avQBNv3XkHk2oYCoRDm0NxnJ0DtLNG8BH8VtgQnZDe z+hDuouiQIigaSGk1Q5b5H/RNMyg/hQ71rVWwCcxuBiyRlVua39NAinq/jKmllVBjKnBigkwh89 8CVY2scn4O4T7PMqAjBl44DlGHsI= X-Google-Smtp-Source: AGHT+IHCkld5jccmCbfl48tbmIYvk8S1V3D2Ml4Q/sngbrzqjgN2wY94JdfwWAxOxAtmeEgDqdq9OeSLt+rJmhOZzi8= X-Received: by 2002:a5d:6906:0:b0:341:b8ae:4cba with SMTP id t6-20020a5d6906000000b00341b8ae4cbamr1363644wru.21.1711519756604; Tue, 26 Mar 2024 23:09:16 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: shveta malik Date: Wed, 27 Mar 2024 11:39:04 +0530 Message-ID: Subject: Re: Introduce XID age and inactive timeout based replication slot invalidation To: Bharath Rupireddy Cc: Bertrand Drouvot , Amit Kapila , Nathan Bossart , PostgreSQL Hackers , shveta malik 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, Mar 27, 2024 at 11:05=E2=80=AFAM Bharath Rupireddy wrote: > > Fixed an issue in synchronize_slots where DatumGetLSN is being used in > place of DatumGetTimestampTz. Found this via CF bot member [1], not on > my dev system. > > Please find the attached v6 patch. Thanks for the patch. Few trivial things: ---------- 1) system-views.sgml: a) "Note that the slots" --> "Note that the slots on the standbys," --it is good to mention "standbys" as synced could be true on primary as well (promoted standby) b) If you plan to add more info which Bertrand suggested, then it will be better to make a section instead of using "Note" 2) commit msg: "The impact of this on a promoted standby inactive_since is always NULL for all synced slots even after server restart. " Sentence looks broken. --------- Apart from the above trivial things, v26-001 looks good to me. thanks Shveta