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 1okMCj-00021z-VO for pgsql-bugs@arkaria.postgresql.org; Mon, 17 Oct 2022 09:14:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1okMCi-0002gQ-RA for pgsql-bugs@arkaria.postgresql.org; Mon, 17 Oct 2022 09:14:36 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1okMCi-0002gH-J2 for pgsql-bugs@lists.postgresql.org; Mon, 17 Oct 2022 09:14:36 +0000 Received: from lana.depesz.com ([88.198.49.178] helo=depesz.com) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1okMCg-0006gy-G0 for pgsql-bugs@postgresql.org; Mon, 17 Oct 2022 09:14:35 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=depesz.com; s=20170201; h=In-Reply-To:Content-Type:MIME-Version:References:Reply-To: Message-ID:Subject:Cc:To:Sender:From:Date:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=NTBwEdlY33kJglre8E7iFixlKrIl6H2lg8EpAIVglQQ=; b=j/QlnROnYe4yhOTe8XvI9tjkPI 2XVc4rtMAi6itdH9HfzPMIPi1b9uRFk5vQUjJV0SsYkwKSnzjn2CHhgTYrAjrwvT9ipVO9n6Oxozl MG6pCeiDazCgFxHEy2L1VxsFS62w0+oG1gWB4qPXmvL5LjR7LGLXK1CMLvRijmpKgnP8=; Received: from depesz by depesz.com with local (Exim 4.94.2) (envelope-from ) id 1okMCe-00BUoG-Li; Mon, 17 Oct 2022 11:14:32 +0200 Date: Mon, 17 Oct 2022 11:14:32 +0200 From: hubert depesz lubaczewski Sender: depesz@depesz.com To: Kyotaro Horiguchi Cc: amit.kapila16@gmail.com, pgsql-bugs@postgresql.org Subject: Re: WAL segments removed from primary despite the fact that logical replication slot needs it. Message-ID: Reply-To: depesz@depesz.com References: <20221017.155307.3782702886583901.horikyota.ntt@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20221017.155307.3782702886583901.horikyota.ntt@gmail.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, Oct 17, 2022 at 03:53:07PM +0900, Kyotaro Horiguchi wrote: > Anyway, I didn't come up with a possibility other than of someone else > having removed those files.. For example, virus scan softwares. If > any such software kills processes that is grabbing the files that the > software identified as malicious and is going to remove, that could be > happen? We don't use virus scanning there. The pg12 server is on ubuntu 18.04, used for normal production workload, and pg14 is on ubuntu focal, with no load, aside from 2 physical streaming replication to pg14 replicas. Best regards, depesz