Back to all notes
Fixes & improvements
- Pageserver: Added WAL receiver context information for
Timed out while waiting for WAL recorderrors. The additional information is used for diagnostic purposes.
- Safekeeper, Pageserver: Added Safekeeper and Pageserver metrics that count the number of received queries, broker messages, removed WAL segments, and connection switch events.
- Safekeeper: When establishing a connection to a Safekeeper, an
Lsn::INVALIDvalue was sent from the Safekeeper to the Pageserver if there were no WAL records to send. This incorrectly indicated to the Pageserver that the Safekeeper was lagging behind, causing the Pageserver to connect to a different Safekeeper. Instead of
Lsn::INVALID, the most recent
commit_lsnvalue is now sent instead.