Remove dead code, fix typos.

This commit is contained in:
Heikki Linnakangas
2021-12-15 19:58:03 +02:00
parent ca60561a01
commit d8a367dd32
2 changed files with 2 additions and 7 deletions

View File

@@ -1724,7 +1724,7 @@ impl LayeredTimeline {
continue 'outer;
}
// 4. Does this layer serve as a tombstome for some older layer?
// 4. Does this layer serve as a tombstone for some older layer?
if l.is_dropped() {
let prior_lsn = l.get_start_lsn().checked_sub(1u64).unwrap();
@@ -1784,7 +1784,7 @@ impl LayeredTimeline {
if is_tombstone {
info!(
"keeping {} {}-{} because this layer servers as a tombstome for older layer",
"keeping {} {}-{} because this layer serves as a tombstone for older layer",
seg,
l.get_start_lsn(),
l.get_end_lsn()

View File

@@ -224,8 +224,3 @@ impl SlruKind {
}
}
}
pub const FIRST_NONREL_RELISH_TAG: RelishTag = RelishTag::Slru {
slru: SlruKind::Clog,
segno: 0,
};