| From: | Kuntal Ghosh <kuntalghosh(dot)2007(at)gmail(dot)com> |
|---|---|
| To: | Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> |
| Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Incorrect XLogRegisterBuffer flag for revmapbuf in brin |
| Date: | 2017-01-10 05:57:56 |
| Message-ID: | CAGz5QCKGKM6FXLELnST5WM8RqZmTWqryzYTXFOg29zC39fVAYQ@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Tue, Jan 10, 2017 at 2:52 AM, Alvaro Herrera
<alvherre(at)2ndquadrant(dot)com> wrote:
>
> Alvaro Herrera wrote:
>
> > If you examine the revmap in a replica after running the script below,
> > you'd observe it's different than the one in the master. I confirmed
> > that the proposed patch fixes the problem.
>
> Pushed. Thanks for the report!
>
Thanks. It's good to see the wal-consistency checking tool is
able to track some real bugs.
> (I'm not sure if it's possible that revmap page 1 can be filled before
> the first regular page is full; if that happens, this will loop
> forever.)
It is unlikely that revmap page will be filled before first regular
page for the above
test case.
--
Thanks & Regards,
Kuntal Ghosh
EnterpriseDB: http://www.enterprisedb.com
| From | Date | Subject | |
|---|---|---|---|
| Next Message | tushar | 2017-01-10 05:59:04 | Re: Parallel bitmap heap scan |
| Previous Message | Alvaro Herrera | 2017-01-10 05:50:57 | Re: pg_dump / copy bugs with "big lines" ? |