From de649f856cfaa4c0eeb011f71bf0752b11e9787b Mon Sep 17 00:00:00 2001 From: Konstantin Knizhnik Date: Sat, 13 Apr 2024 22:37:39 +0300 Subject: [PATCH] Fix documentation format issues --- pageserver/src/page_service.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pageserver/src/page_service.rs b/pageserver/src/page_service.rs index b100f77848..0c64d80662 100644 --- a/pageserver/src/page_service.rs +++ b/pageserver/src/page_service.rs @@ -858,11 +858,11 @@ impl PageServerHandler { /// until PS caught up (while for this particular page it is not needed). /// /// We actually need to handle just three cases: - /// [page_last_written_lsn, +inf] - primary node - /// [page_last_written_lsn, last_replay_lsn] - hot-standby replica (receiving WAL from primary) - /// [snapshot_lsn, snapshot_lsn] - static RO replica (not receiving WAL fro primary) + /// \[page_last_written_lsn, +inf\] - primary node + /// \[page_last_written_lsn, last_replay_lsn\] - hot-standby replica (receiving WAL from primary) + /// \[snapshot_lsn, snapshot_lsn\] - static RO replica (not receiving WAL fro primary) /// - /// Case [0, lsn] is not actually needed and added mostly for convenience as alias for [lsn,lsn] + /// Case \[0, lsn\] is not actually needed and added mostly for convenience as alias for \[lsn,lsn\] async fn wait_or_get_last_lsn( timeline: &Timeline,