From b3a8d39d80abe8292ed924fa15021b072b6a0e78 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 19 Feb 2024 14:57:45 +0000 Subject: [PATCH] fix(storage): remove unnecessary metadata io during list (#15133) (#15134) Co-authored-by: zwang28 <70626450+zwang28@users.noreply.github.com> --- .../src/object/opendal_engine/opendal_object_store.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/object_store/src/object/opendal_engine/opendal_object_store.rs b/src/object_store/src/object/opendal_engine/opendal_object_store.rs index 19bddcfc7ac52..a6c68c45f6472 100644 --- a/src/object_store/src/object/opendal_engine/opendal_object_store.rs +++ b/src/object_store/src/object/opendal_engine/opendal_object_store.rs @@ -158,7 +158,7 @@ impl ObjectStore for OpendalObjectStore { .op .lister_with(prefix) .recursive(true) - .metakey(Metakey::ContentLength | Metakey::ContentType) + .metakey(Metakey::ContentLength) .await?; let stream = stream::unfold(object_lister, |mut object_lister| async move {