From a0d73230edfe0c831c250cb3ba6a271c4c9815ab Mon Sep 17 00:00:00 2001 From: congyi wang <58715567+wcy-fdu@users.noreply.github.com> Date: Mon, 27 May 2024 19:24:23 +0800 Subject: [PATCH] fix(object store): ban streaming upload for azure blob storage (#16715) --- .../src/object/opendal_engine/opendal_object_store.rs | 5 ++++- 1 file changed, 4 insertions(+), 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 0100bda2278ae..13229a110e754 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 @@ -248,7 +248,10 @@ impl ObjectStore for OpendalObjectStore { } fn support_streaming_upload(&self) -> bool { - self.op.info().native_capability().write_can_multi + match self.engine_type { + EngineType::Azblob => false, + _ => self.op.info().native_capability().write_can_multi, + } } }