Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hBKg9-0007Pb-Sf for pgsql-general@arkaria.postgresql.org; Tue, 02 Apr 2019 14:46:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hBKg8-0007O6-LT for pgsql-general@arkaria.postgresql.org; Tue, 02 Apr 2019 14:46:20 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hBKg8-0007Nz-Bs for pgsql-general@lists.postgresql.org; Tue, 02 Apr 2019 14:46:20 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hBKg5-0007xw-1R for pgsql-general@postgresql.org; Tue, 02 Apr 2019 14:46:19 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x32EkBHR028757; Tue, 2 Apr 2019 10:46:11 -0400 From: Tom Lane To: Tim Clarke cc: PostgreSQL General List Subject: Re: logical replication - negative bitmapset member not allowed In-reply-to: References: <7245.1554127364@sss.pgh.pa.us> <17747.1554213563@sss.pgh.pa.us> Comments: In-reply-to Tim Clarke message dated "Tue, 02 Apr 2019 14:26:59 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <28755.1554216371.1@sss.pgh.pa.us> Date: Tue, 02 Apr 2019 10:46:11 -0400 Message-ID: <28756.1554216371@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Tim Clarke writes: > I've cleared it by dropping the slave database, re-creating from the > live schema then fully replicating. Its all running happily now. I'm glad you're out of the woods, but we still have a bug there waiting to bite the next person. I wonder if you'd be willing to spend some time trying to develop a reproduction sequence for this (obviously, working on a test setup not your live servers). Presumably there's something in the subscription-alteration logic that needs work, but I don't think we have enough detail here for somebody else to reproduce the error without a lot of guesswork. regards, tom lane