Re: Verify true root on replicas with amcheck

From: David Steele <david(at)pgmasters(dot)net>
To: godjan • <g0dj4n(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Verify true root on replicas with amcheck
Date: 2020-04-01 15:17:11
Message-ID: 9c1385ec-a296-3405-6b15-6b7be148adf4@pgmasters.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 1/9/20 3:55 AM, godjan • wrote:
> 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?

This patch no longer applies cleanly:
http://cfbot.cputube.org/patch_27_2418.log

The CF entry has been updated to Waiting on Author.

Also, it would be a good idea to answer Peter's questions down-thread if
you are interested in moving this patch forward.

Regards,
--
-David
david(at)pgmasters(dot)net

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2020-04-01 15:18:13 Re: proposal \gcsv
Previous Message Robert Haas 2020-04-01 15:15:14 Re: snapshot too old issues, first around wraparound and then more.