Hi Xuneng, Vitaly, I tested v10 on master 48938780c35, built with --enable-cassert --enable-debug --enable-tap-tests --enable-injection-points. The patches apply and build without warnings, and src/test/recovery passes. On master with only the injection points added, the two new unrelated-wakeup tests fail.
I also woke startup with pg_log_backend_memory_contexts() during a buffer pin deadlock and a lock deadlock, with max_standby_streaming_delay = -1. On master, 7 of 8 runs (2 of 2 buffer pin, 5 of 6 lock) were still stuck 10 to 15 seconds later. v10 resolved all of them at about the same time as with no wakeup. The race I reported on v7 is fixed too. I checked it by stopping startup in gdb inside the window. LGTM. I'll mark it Ready for Committer. -- JoongHyuk Shin
