Verify true root on replicas with amcheck

From: godjan • <g0dj4n(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Verify true root on replicas with amcheck
Date: 2020-01-09 08:55:17
Message-ID: AAF5CE5C-5152-44D8-B437-A0784697DBA5@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi, we have trouble to detect true root corruptions on replicas. I made a patch for resolving it with the locking meta page and potential root page. I heard that amcheck has an invariant about locking no more than 1 page at a moment for avoiding deadlocks. Is there possible a deadlock situation?

Attachment Content-Type Size
amcheck_trueroot.patch application/octet-stream 2.4 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2020-01-09 09:07:01 Re: Recognizing superuser in pg_hba.conf
Previous Message Deng, Gang 2020-01-09 08:53:42 [PATCH] Resolve Parallel Hash Join Performance Issue