Re: Incorrect checksum in control file with pg_rewind test

2025-11-14 Thread Ivan Kovmir
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 l

Re: Incorrect checksum in control file with pg_rewind test

2025-11-07 Thread Maksim.Melnikov
Hi, just to clarify, it isn't pg_rewind related issue and can fire spontaneously. I don't have any strong scenario how to reproduce it, tests sometimes fired on our local CI, but as you can see on thread [1], where the same issue for frontends was discussed, it is very hard to reproduce and the

Incorrect checksum in control file with pg_rewind test

2025-09-04 Thread Maksim.Melnikov
Hi, hackers! I've got test failure for pg_rewind tests and it seems we have read/write races for pg_control file. The test error is incorrect checksum in control file. Build was compiled with -DEXEC_BACKEND flag. # +++ tap check in src/bin/pg_rewind +++ Bailout called.  Further testing stopped