Client:WalSenderWriteData

WAL sender process on a primary server is waiting to write WAL (Write-Ahead Logging) data to a connected standby or downstream replica during streaming replication.
This typically happens when the WAL sender has generated WAL records faster than the network or the receiving standby can consume them, causing the sender to block while trying to transmit data over the replication connection.

Further analysis

There is higher chance of pg_gather reporting "Transmission Lag" or "Replica Write lag" if this wait event is severe.
Expect replication lag on the standby server if this wait event is frequently observed.

Common causes