Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1syhZd-001e5h-Az for pgsql-bugs@arkaria.postgresql.org; Thu, 10 Oct 2024 01:02:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1syhZb-008NIb-Gs for pgsql-bugs@arkaria.postgresql.org; Thu, 10 Oct 2024 01:02:35 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1syhZb-008NIT-6Y for pgsql-bugs@lists.postgresql.org; Thu, 10 Oct 2024 01:02:35 +0000 Received: from mail-pj1-x102b.google.com ([2607:f8b0:4864:20::102b]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1syhZY-000FEZ-A7 for pgsql-bugs@lists.postgresql.org; Thu, 10 Oct 2024 01:02:34 +0000 Received: by mail-pj1-x102b.google.com with SMTP id 98e67ed59e1d1-2e18293a5efso316585a91.3 for ; Wed, 09 Oct 2024 18:02:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728522151; x=1729126951; darn=lists.postgresql.org; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date:message-id :reply-to; bh=JGiuqXAUL84wJWI9U6gN2xAT5T0vROvkqW70u+V7CR4=; b=nLcSNXKGPsoArdKoNFoIYufxj/JhcxY/oo+qMEsE+yBwK/fnQ/w4YslRqIxRQpoGDc DewAs/lGQf42AFqHNW75xZfv4/cIOqCxXq6MTEXfBhs97k1wZvI9df8ySJV2e7KIco0o XO+t/ggmsQYoiJQyUpKD5SYZdPMJ/JDpIPQoh8F7U5JJpaEpQ9NnH10Di4MM3noyTp5b l8xbiI3HDT3OU/XEz2CSkpxbZZDXLUwMrdZQfxvbzGWegvcKQuiDMVReeLRb5Ma/+N0q j3FAPKdlqSNlPS+NqEuGBhT1U6Yi0JK7Zn6mGpEL1335dFHOb2fU/e35X44WDL3mVRhX hvFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728522151; x=1729126951; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JGiuqXAUL84wJWI9U6gN2xAT5T0vROvkqW70u+V7CR4=; b=k1f5oapmEB1mDDSXNFPb/YSur5JhFWFhvxXlkVAzsWVMvzERHfrcCpeF9FPNrdxQxq rgvT2vNMxDAFckyGyr8l9/h+mxQVxGHOheFvxAov4NrLLdLXTcSzHHTcxQHquoqWTrYQ on0Qwy3UcEIdf6i8qkc1W7dl8d9KlpDslIHlVHANE3ax8oWaMUgKYhNHkcRhGOh8ISAm tOE7M/1VHIfRWvbbhYpAAvFOMajr+VA9j+fl9B1XBSs+10szVSa4Buuoo4l5arlvb1oA ZMRRXLZ/KIVAb0bRwdA7dt8WSD2v0Jo2mbPsLHOPc4geDL7WrXdwiKUVl4VeRITZ48Si q0zA== X-Forwarded-Encrypted: i=1; AJvYcCX/Y2ChO1nH8re3CwQ/Z1T0q4YdBmDMJUVxIXXeSTWl3DcQroOcNKy+hLGNOq5c1XXWW4PDoUeBqcNx@lists.postgresql.org X-Gm-Message-State: AOJu0Yz9fI9AjMJ3EhAU2QeRjPCd6fKdM85T5PAL3kCI/8ryOjv4zs4F jaOchxSrrV5mTLC3HJalv9WdsMOemaI5cZr8cZarAvmLOxQuXUVn X-Google-Smtp-Source: AGHT+IGgCjctUzRqgKFwVEjtyOzq76bXoS/FN9/5oCyp2wJIaVCZZ9xJhnI9933roxnW9Jsbs+7++g== X-Received: by 2002:a17:90b:3b86:b0:2e0:d957:1b9d with SMTP id 98e67ed59e1d1-2e2a2337a81mr5655534a91.13.1728522150988; Wed, 09 Oct 2024 18:02:30 -0700 (PDT) Received: from smtpclient.apple ([203.90.233.88]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2e2a5600bc8sm2378767a91.16.2024.10.09.18.02.29 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Oct 2024 18:02:30 -0700 (PDT) From: weijie JL Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3818.100.11.1.3\)) Subject: Re: BUG #18648: When I restore the database on rockylinux9, I will use amcheck to check that there will be an abnorm Date: Thu, 10 Oct 2024 09:02:10 +0800 References: <18648-03806c678dfd819d@postgresql.org> To: weijie1006jl@gmail.com, pgsql-bugs@lists.postgresql.org In-Reply-To: <18648-03806c678dfd819d@postgresql.org> Message-Id: X-Mailer: Apple Mail (2.3818.100.11.1.3) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk It is indeed this issue that caused the problem. Thank you very much. > 2024=E5=B9=B410=E6=9C=889=E6=97=A5 08:54=EF=BC=8CPG Bug reporting form = =E5=86=99=E9=81=93=EF=BC=9A >=20 > The following bug has been logged on the website: >=20 > Bug reference: 18648 > Logged by: weijie JL > Email address: weijie1006jl@gmail.com > PostgreSQL version: 14.12 > Operating system: RockyLinux 9 > Description: =20 >=20 > I used dnf to install PostgreSQL on a physical machine running Rocky = Linux > 9, and then performed a database restore using the pgBackRest tool. = After > multiple experiments, I still found that there were index corruption = issues > after the restore. Specifically, using amcheck to check the indexes = resulted > in the following error: ERROR: XX002: item order invariant violated = for > index "idx_template_xxxx_unique". However, this restore process does = not > reproduce the issue on CentOS 7.9. The business impact of this index = anomaly > is that when the query performs a full table scan, it can retrieve the > required data, but when using the index, the query results are empty. >=20