Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1furhD-00080A-BQ for pgsql-general@arkaria.postgresql.org; Wed, 29 Aug 2018 04:03:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1furh9-0006Rt-1L for pgsql-general@arkaria.postgresql.org; Wed, 29 Aug 2018 04:03:03 +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_SHA384:256) (Exim 4.89) (envelope-from ) id 1furh8-0006Rl-Pc for pgsql-general@lists.postgresql.org; Wed, 29 Aug 2018 04:03:02 +0000 Received: from mail-yb0-f181.google.com ([209.85.213.181]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1furh5-0001bS-AA for pgsql-general@postgresql.org; Wed, 29 Aug 2018 04:03:02 +0000 Received: by mail-yb0-f181.google.com with SMTP id k5-v6so1499446ybo.10 for ; Tue, 28 Aug 2018 21:02:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=X5jKiGx0gVzkVOveOAwxGmYxjp0YaNJTnS2VH6MUJsQ=; b=aLluQg0fxItRbvAu+LsydBZYibnF35JwknfPpNU8sPSFnxVUuNu+DKiZOdq75odn+1 Lz8ot30I1MT91WtYT+kt5iBTmsFhDQfQJzClK9Q3Yepk8NEqaKpGACjGurZ/dYTvanHQ hoiW03BebkCYjXclBcTiuB8RDrWoKt+xT4+v74QN7nM1RKI6k/f6KubQrS/LEQHcLY1M nN1TthQxuSmM1aoM2qRqRHs1kTgVzo9uA6xA9glaMD4MQqpuH0iTlvdWFToYA1AUT7j6 NIli2G8R67iSEeY0TgZ2jLTqMfduUG4fCttFuVV365WhfeW5ChjzNOQCm1ny0qBj9Aba 4apg== X-Gm-Message-State: APzg51B/pfSOVreKpFmwg+nfh4+uLqWtW5DR1PkexQHrQdxPyOC3Q5FG Zdix4ZiZ5hfVUJ3PJ7VH0JWqEBARN1oYJb+cavc6+g== X-Google-Smtp-Source: ANB0VdZ8to//B73TTT5pKKboYQsnloo1bijWPjR76aFUJVCWqsrjTn+80xrFE7btyCLvmNOcvAG3s3AbqPpVb32eTWI= X-Received: by 2002:a25:d845:: with SMTP id p66-v6mr2381623ybg.139.1535515376718; Tue, 28 Aug 2018 21:02:56 -0700 (PDT) MIME-Version: 1.0 From: Dave Peticolas Date: Tue, 28 Aug 2018 21:02:45 -0700 Message-ID: Subject: WAL replay issue from 9.6.8 to 9.6.10 To: pgsql-general Content-Type: multipart/alternative; boundary="00000000000093971905748b0884" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --00000000000093971905748b0884 Content-Type: text/plain; charset="UTF-8" Hello, I'm seeing some issues with WAL replay on a test server running 9.6.10 using WAL archived from a 9.6.8 primary server. It reliably PANICs during replay with messages like so: WARNING: page 1209270272 of relation base/16422/47496599 does not exist CONTEXT: xlog redo at 4810/C84F8A0 for Btree/DELETE: 88 items PANIC: WAL contains references to invalid pages This is after restoring from a snapshot that completed successfully as far as I can tell. I downgraded the test server to 9.6.8 and I was able to replay WAL past the point where 9.6.10 would PANIC and crash. Curiously, 9.6.8 PANICed the first time, but then when I restarted it was able to replay through. Should I expect this to just not work until the primary database is upgraded to 9.6.10? I'm a little wary to upgrade the primary at this point until I understand what might be going on. thanks, dave --00000000000093971905748b0884 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello, I'm seeing som= e issues with WAL replay on a test server running 9.6.10 using WAL archived= from a 9.6.8 primary server. It reliably PANICs during replay with message= s like so:

WARNING:=C2=A0 page 1209270272 of relat= ion base/16422/47496599 does not exist
CONTEXT:=C2=A0 xlog redo a= t 4810/C84F8A0 for Btree/DELETE: 88 items
PANIC:=C2=A0 WAL contai= ns references to invalid pages

This is after resto= ring from a snapshot that completed successfully as far as I can tell.

I downgraded the test server to 9.6.8 and I was able t= o replay WAL past the point where 9.6.10 would PANIC and crash. Curiously, = 9.6.8 PANICed the first time, but then when I restarted it was able to repl= ay through.

Should I expect this to just not work = until the primary database is upgraded to 9.6.10? I'm a little wary to = upgrade the primary at this point until I understand what might be going on= .

thanks,
dave
<= /div> --00000000000093971905748b0884--