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 1jtsI4-0004bk-Kc for pgsql-general@arkaria.postgresql.org; Fri, 10 Jul 2020 12:38:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jtsI1-0003Nu-KV for pgsql-general@arkaria.postgresql.org; Fri, 10 Jul 2020 12:38:05 +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 1jtsI1-0003Nm-Ck for pgsql-general@lists.postgresql.org; Fri, 10 Jul 2020 12:38:05 +0000 Received: from mail-qt1-x841.google.com ([2607:f8b0:4864:20::841]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jtsHu-0007IP-Rl for pgsql-general@lists.postgresql.org; Fri, 10 Jul 2020 12:38:04 +0000 Received: by mail-qt1-x841.google.com with SMTP id j10so4196055qtq.11 for ; Fri, 10 Jul 2020 05:37:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=4VrwyD4ymkOZGGpImyX8HRvRHwr+T2p2EoZwqhZ2ryc=; b=TO9xPuOOzTbumrHNUk/WnizDFs0Dy+47SM7UvtgGbl73U1i7d5P8cFIdRGpxLrtvJc pAcSW5vsmGeZ0J0FqzxxupghlNrxF8T2iBY0CKvB3CwUzYM6SXAiiJVxy+pZqe1wVrrd eZvU0TnppuWnJESBehrDL4x2jM9w24MBHX/RbbI47ojaFOCER8k4JkUMLKKdrO8hgI9W OSHud3YdNHMxjgCCg09UFmGImK9yyMA3UTslbBoMhXaWvRjHtYmpn0+tDLGn5YPHluHS NzOx7VG85vPovfxBq0XE5/MtSlxIrkLxIgiwHpF+1albO3uecHjxTHe6BlH7IZDtNlAU qBTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=4VrwyD4ymkOZGGpImyX8HRvRHwr+T2p2EoZwqhZ2ryc=; b=d47Kbw6uCXUwppvf94ZMk2ulNfEbwbAbWnIWH9V07TzDdfrhfiHE6yDvPyOHKfy18j 69FVKOGUieE4ugsBKSU1JFbBWmrV1q6PLFYPBrWcWYOXUhSzfxtebH63GioFWoE1SfY4 EXbFCexukPwMIFBxq8/vsgWZm1lT+5br4yQ9TJZI1sKe0VwNg9GImKvhCH1pLNHLnwFU PELblmWhg/Fcmt2QjSDemWFKYlDbdcpmopoll1KBjmaJGJU4cr7WO+Pq6/VZ+SDGaMjE uI69D0tCqYoFzVIaG3BrLXQMWO9hBVa13k1o/SFOvMzjWej6/xK6ldaY7aeeyslCxEyx YAhw== X-Gm-Message-State: AOAM533IPG7VCD+3uhbSUdgy6+H1PFFEagJbzRrIGsWzmYSJ/mdOUorn NPFfhQ5S5z0LSDkKfYYB6Riw0g== X-Google-Smtp-Source: ABdhPJzsnHGZ7mXDElmIcY/g7zN2+1OR6spIEFrTCxKYIMn1Zx/aNIjQNTrOLuL8ITZ6byTiEbTc7w== X-Received: by 2002:ac8:458b:: with SMTP id l11mr10141742qtn.111.1594384677771; Fri, 10 Jul 2020 05:37:57 -0700 (PDT) Received: from perhan.alvh.no-ip.org ([190.95.18.252]) by smtp.gmail.com with ESMTPSA id t138sm7229833qka.15.2020.07.10.05.37.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jul 2020 05:37:57 -0700 (PDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 033AB2A38D3; Fri, 10 Jul 2020 08:37:55 -0400 (-04) Date: Fri, 10 Jul 2020 08:37:54 -0400 From: Alvaro Herrera To: Michel Pelletier Cc: Tom Lane , pgsql-general Subject: Re: invalid non-zero objectSubId for object class Message-ID: <20200710123754.GA12121@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020-Jul-09, Michel Pelletier wrote: > I restored a snapshot and I can drop the tables there, so we'll likely > proceed to swap the replicas over tomorrow. I have this corrupted > instance i can continue to debug on if necessary. There seem to be some > other issues now that we're investigating, like a max(timestamp) query on > the old instance is doing a seqscan on all the partitions instead of using > an index that's there, the new instance from the snapshot correctly uses > the index, so I suspect further corruption. This being RDS makes it very difficult to debug. For example I would suggest a debugger to find the problem, but you don't have access to that. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services