3 issues established so far: * Cluster mutex unit tests can fail in lock-unlock-lock-unlock sequence because a signal is delivered to initiate the unlock but the test does not wait for the corresponding process to be terminated. * The record resurrection integration test can fail if the deleted record is not successfully vacuumed before a time limit expires. Instead of vacuuming, the record can be cleared from active nodes via a recovery, which can be precisely tracked in tests. * The volatile database traverse integration test can fail because it does not wait for a required recovery to complete before traversing a database. This is due to an expectations mismatch in the test code that checks if a not is an lmaster.
OK, the first issue doesn't need a backport because we didn't backport the cluster mutex changes... so just the other 2, including the recoverd fix...
Created attachment 15415 [details] Patch for 4.11
Created attachment 15416 [details] Patch for 4.10
Created attachment 15417 [details] Patch for 4.9
Commits cherry-pick cleanly from master into v4-11-test and v4-10-test. Patch for these versions is identical but attached per-version for clarity. All but the last commit cherry-picked cleanly from master into v4-9-test. The last commit had a subtle difference in the lines being removed, which might have been helped by cherry-picking an additional intermediate commit. However, resolving the conflict was trivial so I did that and marked that commit "backported" rather than "cherry-picked". Hence, a different patch for v4-9-test.
Hi Karolin, This is ready for v4-9, v4-10 and v4-11. Thanks.
An additional patch to come... One of the commits has a typo in it... :-(
Created attachment 15438 [details] Patch for 4.11
Created attachment 15439 [details] Patch for 4.10
Created attachment 15440 [details] Patch for 4.9
Additional patch now included in each attachment. Sorry about the noise...
Hi Karolin, This is ready (really really) for v4-9, v4-10 and v4-11. Thanks.
(In reply to Amitay Isaacs from comment #12) Hi Amitay, pushed to autobuild-v4-{11,10,9}-test.
(In reply to Karolin Seeger from comment #13) Pushed to all branches. Closing out bug report. Thanks!