Remove debug logs in should_walsender_stop (#2791)

This commit is contained in:
Arthur Petukhovsky
2022-11-10 16:49:00 +01:00
committed by GitHub
parent 175779c0ef
commit c6072d38c2

View File

@@ -556,10 +556,6 @@ impl Timeline {
.pageserver_feedback
.map(|f| Lsn(f.ps_applylsn))
.unwrap_or(Lsn::INVALID);
info!(
"checking should ws stop ttid {} lsn {} rcl {}",
self.ttid, reported_remote_consistent_lsn, shared_state.sk.inmem.commit_lsn
);
let stop = shared_state.sk.inmem.commit_lsn == Lsn(0) || // no data at all yet
(reported_remote_consistent_lsn!= Lsn::MAX && // Lsn::MAX means that we don't know the latest LSN yet.
reported_remote_consistent_lsn >= shared_state.sk.inmem.commit_lsn);