Files
neon/pageserver/src
Dmitry Rodionov c910132d4b Fix wal receiver shutdown
This patch allows to shutdown wal receiver when there are no messages
and wal receiver is blocked inside tokio-postgres. In this case it
cannot check the shutdown flag.

This patch switches to use async interface of tokio-postgres directly
without sync wrappers. It opens the possibility to use tokio::select!
between the phsycal_stream.next() and a shutdown channel readiness to
interrupt replication process.

Also this allows to shutdown only particular wal receiver without
using global shutdown_requested flag.
2021-12-29 14:42:29 +03:00
..
2021-12-28 00:21:48 +02:00
2021-12-15 19:58:03 +02:00
2021-12-14 20:24:03 +02:00
2021-12-29 14:42:29 +03:00