mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-15 17:32:56 +00:00
delta_layer: allow unused load_keys
This commit is contained in:
@@ -551,6 +551,8 @@ impl DeltaLayer {
|
||||
/// Loads all keys stored in the layer. Returns key, lsn, value size and value reference.
|
||||
///
|
||||
/// The value can be obtained via the [`ValueRef::load`] function.
|
||||
#[allow(dead_code)] // for now, until I know if this can be done with borrows and
|
||||
// ResidentDeltaLayer
|
||||
pub(crate) async fn load_keys(&self, ctx: &RequestContext) -> Result<Vec<DeltaEntry<'_>>> {
|
||||
let inner = self
|
||||
.load(LayerAccessKind::KeyIter, ctx)
|
||||
|
||||
Reference in New Issue
Block a user