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 1jmCfv-0001sX-Gk for pgsql-general@arkaria.postgresql.org; Fri, 19 Jun 2020 08:47:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jmCfs-00012R-0t for pgsql-general@arkaria.postgresql.org; Fri, 19 Jun 2020 08:47:00 +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 1jmCfr-00012I-N1 for pgsql-general@lists.postgresql.org; Fri, 19 Jun 2020 08:46:59 +0000 Received: from mail-lj1-x241.google.com ([2a00:1450:4864:20::241]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jmCfp-0001qh-Hb for pgsql-general@postgresql.org; Fri, 19 Jun 2020 08:46:59 +0000 Received: by mail-lj1-x241.google.com with SMTP id z9so10531503ljh.13 for ; Fri, 19 Jun 2020 01:46:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:subject:date:references :to:in-reply-to:message-id; bh=uiusuC6pADfzfqdrbWvr9lSFYdnFlredURTvIDZE4cw=; b=FvNHt+rv+DbKM7ZnrI4rP7j4kORz9HH968/+c4yZsLnFcKrh1SnyY7OZV8Sf8sJf/n HR06qo06NTvmwB/Ga/8lPZIaFU0hVCl49y8gTQM9FnfZGhY2fpH2fQDiSJR4HtLWeTzB sFRRn9DfV4ZyVGPqm/8VyRQlwOJyTU9gQf5f4+cYJzmqN+zyaOOO0dyXjvWhT9VfMbGg KH3+cVavm8NCPCYOs+Y7YQho8Q959yVzn4mH9hg8UFXegWrOu/FVXbdtnqT0R605Wioa FAU+V28ctjSRES4qaSDstcGlZte4iKd6A3a1I48lsSAsiVMKGH8FZwPHPe8k/F/Pnvu4 GEng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=uiusuC6pADfzfqdrbWvr9lSFYdnFlredURTvIDZE4cw=; b=pi9atlnTDzcrMV9m81SWbRe/2WEuSauXv/ySIk16J3Cu/UWYk4QG1bx82Oqobl8OwG kINglYPlann3gP+N+ahhS9lOyb0hMcViSmBfaaRIOPCnkMiQcGdm31tCaSsh8i7CrUNW kZB4F88/cxod6ObrcmQi5+EGYED90ufF9d1H3zG8ujoteJX6ja2D5fPEV5GCoLjo3C/G V/Akbla31cXH+P/xdX5nEQgr3XxqzaFItye2vp/8441wqBfwnpZy/5JRRHNL1E7gMapc HS+oam0sBUO94azQAOg6v/nD65oFHU8pPM4QwNok4YVI1OXWYhC4NiQ1q+F5ePWZYiK/ +r5w== X-Gm-Message-State: AOAM5327s042ZuXHzpMv4b6jmwneOG6inXl4z4gcSONeo2YopDK6XK6p zEMVLJJFSxXTnZl8p2zJlUA= X-Google-Smtp-Source: ABdhPJxO8hSDcYEcnA6Df6IkzEjrvbTA250C4L2YZPXwg92Jk2qqMYjIDFg+5r3y7LSlspevDCbm6Q== X-Received: by 2002:a2e:581a:: with SMTP id m26mr1329261ljb.0.1592556415738; Fri, 19 Jun 2020 01:46:55 -0700 (PDT) Received: from [192.168.10.106] (133-225-29-85.dyn.estpak.ee. [85.29.225.133]) by smtp.gmail.com with ESMTPSA id x10sm1073154ljx.67.2020.06.19.01.46.54 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Jun 2020 01:46:55 -0700 (PDT) From: Toomas Kristin Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: Conflict with recovery on PG version 11.6 Date: Fri, 19 Jun 2020 11:46:53 +0300 References: <918BFA04-B89D-4F29-9868-0A113AD72F52@gmail.com> <2d05bf2ad62fc71a5df3d9ba4e75fa300e3e020c.camel@cybertec.at> <20200619.151301.1212338526785241016.horikyota.ntt@gmail.com> To: Kyotaro Horiguchi , Laurenz Albe , pgsql-general In-Reply-To: <20200619.151301.1212338526785241016.horikyota.ntt@gmail.com> Message-Id: X-Mailer: Apple Mail (2.3608.80.23.2.2) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, Thank you all for help.=20 > FWIW in case you haven't tried yet, if you could find a DETAILS: line > following to the ERROR: canceling.." message in server log, it would > narrow the possibility. I executed a database dump with 4 jobs and here are logs how this ended. 2020-06-19 02:38:28 UTC:[30953]:ERROR:40001:canceling statement due to = conflict with recovery 2020-06-19 02:38:28 UTC:[30953]:DETAIL:User query might have needed to = see row versions that must be removed. 2020-06-19 02:38:28 UTC:[30953]:LOCATION:ProcessInterrupts, = postgres.c:3057 2020-06-19 02:38:28 UTC:[30953]:STATEMENT: 2020-06-19 02:38:28 UTC:[30926]:FATAL:40001:terminating connection due = to conflict with recovery 2020-06-19 02:38:28 UTC:[30926]:DETAIL:User query might have needed to = see row versions that must be removed. 2020-06-19 02:38:28 UTC:[30926]:HINT:In a moment you should be able to = reconnect to the database and repeat your command. 2020-06-19 02:38:28 UTC:[30926]:LOCATION:ProcessInterrupts, = postgres.c:2987 2020-06-19 02:38:28 UTC:[30952]:ERROR:40001:canceling statement due to = conflict with recovery 2020-06-19 02:38:28 UTC:[30952]:DETAIL:User query might have needed to = see row versions that must be removed. 2020-06-19 02:38:28 UTC:[30952]:LOCATION:ProcessInterrupts, = postgres.c:3057 2020-06-19 02:38:28 UTC:[30952]:STATEMENT: 2020-06-19 02:38:28 UTC:[30953]:LOG:08006:could not receive data from = client:Connection reset by peer 2020-06-19 02:38:28 UTC:[30953]:LOCATION:pq_recvbuf, pqcomm.c:978 Does it give any hints for anyone? Or how to find right version of = source code what to analyse? BR, Toomas