delta_layer: allow unused load_keys

This commit is contained in:
Joonas Koivunen
2023-08-16 23:55:06 +03:00
parent 24251b8d17
commit b5e5ead2ee

View File

@@ -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)