| From: | Ivan Kovmir <ivan(dot)kovmir(at)cybertec(dot)at> |
|---|---|
| To: | "Maksim(dot)Melnikov" <m(dot)melnikov(at)postgrespro(dot)ru> |
| Cc: | pgsql-hackers(at)lists(dot)postgresql(dot)org |
| Subject: | Re: Incorrect checksum in control file with pg_rewind test |
| Date: | 2025-11-14 13:15:10 |
| Message-ID: | CA+NMkJzqhM5zquGashAtxHuJTkmPgwBerQRt_jHr=mCiOCweUw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
I can reproduce the bug on the master branch with the following steps:
1. Apply 0001-XXX-Dirty-hack-to-clobber-control-file-for-testing.patch [1]
2. Compile PostgreSQL with `-DEXEC_BACKEND` C compiler flag option.
3. Run `initdb`
4. Run `postgres`
5. Run `pgbench -i`
6. Run `psql -c 'do $$ begin loop perform pg_update_control_file(); end
loop; end; $$;'`
7. Run `for run in {1..5000}; do pgbench -c50 -t100 -j6 -S postgres; done`
in parallel with the previous command.
8. Wait a while.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Ashutosh Bapat | 2025-11-14 13:31:51 | Re: Report replica identity in pg_publication_tables |
| Previous Message | Daniel Gustafsson | 2025-11-14 12:57:28 | Re: [Patch] Mention md5 is deprecated in postgresql.conf.sample |