diff --git a/pageserver/src/tenant/storage_layer/layer.rs b/pageserver/src/tenant/storage_layer/layer.rs index db480f1953..80d221613e 100644 --- a/pageserver/src/tenant/storage_layer/layer.rs +++ b/pageserver/src/tenant/storage_layer/layer.rs @@ -29,7 +29,8 @@ use super::{ /// There are two kinds of layers, in-memory and on-disk layers. In-memory /// layers are used to ingest incoming WAL, and provide fast access to the /// recent page versions. On-disk layers are stored as files on disk, and are -/// immutable. This type represents the on-disk kind. +/// immutable. This type represents the on-disk kind while in-memory kind are represented by +/// [`InMemoryLayer`]. /// /// Furthermore, there are two kinds of on-disk layers: delta and image layers. /// A delta layer contains all modifications within a range of LSNs and keys. @@ -37,6 +38,8 @@ use super::{ /// LSN. /// /// This type models the on-disk layers, which can be evicted and on-demand downloaded. +/// +/// [`InMemoryLayer`]: inmemory_layer::InMemoryLayer #[derive(Clone)] pub(crate) struct Layer(Arc);