On Thu, Nov 14, 2024 at 11:45:56AM +0530, Ashutosh Bapat wrote: > Here's a quick and dirty patch which describes the idea. I didn't get > time to implement code to move SnapBuild::restart_lsn if > SnapBuild::start_decoding_at moves forward while building initial > snapshot. I am not sure whether that's necessary either. > > I have added three elogs to see if the logic is working as expected. I > see two of the elogs in patch in the server log when I run tests from > tests/subscription and tests/recovery. But I do not see the third one. > That either means that the situation causing the bug is not covered by > those tests or the fix is not triggered. If you run your reproduction > and still see the crashes please provide the output of those elog > messages along with the rest of the elogs you have added.
Forgot the attachment, perhaps? -- Michael
signature.asc
Description: PGP signature