mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-15 09:22:55 +00:00
doc: link to inmemorylayer
This commit is contained in:
@@ -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<LayerInner>);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user