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 1nYEQF-0004aB-NW for pgsql-hackers@arkaria.postgresql.org; Sat, 26 Mar 2022 21:58:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nYEQE-0007pQ-FU for pgsql-hackers@arkaria.postgresql.org; Sat, 26 Mar 2022 21:58:10 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nYEQD-0007pH-SZ for pgsql-hackers@lists.postgresql.org; Sat, 26 Mar 2022 21:58:10 +0000 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nYEQ9-0004Pf-Qq for pgsql-hackers@postgresql.org; Sat, 26 Mar 2022 21:58:09 +0000 Received: by mail-wr1-x432.google.com with SMTP id m30so15260130wrb.1 for ; Sat, 26 Mar 2022 14:58:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=wzsoihpQb8VnqyewXxMKddS1qAnl92UTt6evM0D7rRk=; b=Xx+RexI1EAFOUxAcwVOFG+VV2XtoOaLkF+h0hexg12UtJEeeHjJTTo5AYGnCdOf0mo MXnZzoLpqdwANM/qo2vkPvnPdIpd9RnwjFjg/8fXMrysalHcJqnnXkH9bSNAtybZLuBf S3tb51uV0GvNIRsCjxwf0nHiT6OO4IRphb8qCXjxv0REkEPI4JTdSaHut2gXXFwE6+5i 4YuEBa8kE1J+Ty+f/nWRrth6Z+S/avTrTMbrnWP+r93SykIOJt0kT8OdEYMLcG4UuiDk 0pid08wfBYJRFNOmiz+PAgGdewXhRC+KCcP6VcZVZShcSgv1wsaCCbUgaYZak9J5gd1D Tc5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=wzsoihpQb8VnqyewXxMKddS1qAnl92UTt6evM0D7rRk=; b=5f+YYE/9n0y13wcGSxvklW9MfeSAiPuAoLaswDSaSJK/j9w31FISPUvfDFl8gWBr1H e8Vu8nuU6fX6tqGlr6ZaVQ91TK761pHyxvefIQdGvSZ70HW8H4e9wZiKJfAGsEOytXY7 3AweRg6L0VELWk0ehj9FJ7SMMmIo0otax/bQIlLtpINpc5XpCV6JM+VrkYzIzqdbBCEC mSZIOWjXaWVJ1Ci2LSrVXRw/+TrsL8de5Ld+8gu/xzDYO1ydkeZ8dYbuceOIdnfy4/yC RJd40Ry2I5j2VctIyMbIdcO8uWuiPuIQbwnb6Sa7uCOxQlUQxbg/qjGvcvX0xmxA1uvK SgTA== X-Gm-Message-State: AOAM532ObXNbdNkNQdUvUGCxv2CqVLVofQEakRLaJE+zCMsCFkDRM1Jl fpYM65u4Q618XevoT1c/fBQcyIerbOUEyEaCaRvfzUApollxAWkm4+Kho4s9xuhSs2gXmOdEMLr B9RffzGrryeI+Bix+f6MWkQO2/rq4/jiYkYAYL6+dNRc5jpsJyxJ/wvQABIGMQgqDy/KmpMKSGI LqJELPfA3Xpv81pD/U6LZMecu4NJ3Ye92kHYlY X-Google-Smtp-Source: ABdhPJydGaBiY0NJyKhgtsb2p7y9onv2tGQOuNkB61lW1vFswt7vxWPwkWKIlv1Zuc470B2fts93Lw== X-Received: by 2002:adf:ed50:0:b0:203:da73:e0fd with SMTP id u16-20020adfed50000000b00203da73e0fdmr15229336wro.516.1648331884022; Sat, 26 Mar 2022 14:58:04 -0700 (PDT) Received: from [10.137.0.17] (ip-86-49-251-241.net.upcbroadband.cz. [86.49.251.241]) by smtp.gmail.com with ESMTPSA id c12-20020a05600c0a4c00b00381141f4967sm9863184wmq.35.2022.03.26.14.58.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 26 Mar 2022 14:58:03 -0700 (PDT) Message-ID: <8e8861f6-0831-eef1-134e-4a65e1542d52@enterprisedb.com> Date: Sat, 26 Mar 2022 22:58:01 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: Column Filtering in Logical Replication Content-Language: en-US To: Tom Lane Cc: Amit Kapila , Peter Eisentraut , "houzj.fnst@fujitsu.com" , Alvaro Herrera , Justin Pryzby , Rahila Syed , Peter Smith , pgsql-hackers , "shiy.fnst@fujitsu.com" References: <202201120041.p24wvsfcsope@alvherre.pgsql> <78b8d385-57cb-9a3f-cfe5-9f300f15eced@enterprisedb.com> <822a8e40-287c-59ff-0ea9-35eb759f4fe6@enterprisedb.com> <2b8471f9-3849-c91f-ef82-9181d4bca0a7@enterprisedb.com> <16e83ce3-8415-b732-37b2-c3329a2c13a1@enterprisedb.com> <9c0dd1f3-c1b9-9c10-eca6-35f22104434a@enterprisedb.com> <05a7a760-ba3a-fcff-d7d1-3afb47ea0f7d@enterprisedb.com> <16b01452-fe77-7b02-22c0-1711485e396e@enterprisedb.com> <4f832e27-20a4-96! 4a-fafd-edf39e0ae883@enterprisedb.com> <170549.1648330634@sss.pgh.pa.us> <7dbaf4d7-713f-26e8-13c7-b79ed2c0cb16@enterprisedb! .com> <173619.1648331755@sss.pgh.pa.us> From: Tomas Vondra In-Reply-To: <173619.1648331755@sss.pgh.pa.us> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-CLOUD-SEC-AV-Info: enterprisedb,google_mail,monitor X-CLOUD-SEC-AV-Sent: true X-Gm-Spam: 0 X-Gm-Phishy: 0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 3/26/22 22:55, Tom Lane wrote: > Tomas Vondra writes: >> On 3/26/22 22:37, Tom Lane wrote: >>> This smells like an uninitialized-variable problem, but I've had >>> no luck finding any problem under valgrind. Not sure how to progress >>> from here. > >> I think I see the problem - there's a CREATE SUBSCRIPTION but the test >> is not waiting for the tablesync to complete, so sometimes it finishes >> in time and sometimes not. That'd explain the flaky behavior, and it's >> just this one test that misses the sync AFAICS. > > Ah, that would also fit the symptoms. > I'll go over the test to check if some other test misses that, and perhaps do a bit of testing, and then push a fix. regards -- Tomas Vondra EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company