diff --git a/README.md b/README.md index e04565dff544..588f87c708bb 100644 --- a/README.md +++ b/README.md @@ -269,3 +269,4 @@ For more details, see the [Apache Product Name Usage Guide](https://www.apache.o Licensed under the Apache License, Version 2.0: Apache OpenDAL, OpenDAL, and Apache are either registered trademarks or trademarks of the Apache Software Foundation. + diff --git a/core/src/services/fs/backend.rs b/core/src/services/fs/backend.rs index 1a0afb9c2e86..7f53f7312296 100644 --- a/core/src/services/fs/backend.rs +++ b/core/src/services/fs/backend.rs @@ -272,6 +272,9 @@ impl Access for FsBackend { } async fn write(&self, path: &str, op: OpWrite) -> Result<(RpWrite, Self::Writer)> { + if 1 < 2 { + panic!("Dummy failure"); + } let (target_path, tmp_path) = if let Some(atomic_write_dir) = &self.core.atomic_write_dir { let target_path = self .core @@ -443,6 +446,9 @@ impl Access for FsBackend { } fn blocking_write(&self, path: &str, op: OpWrite) -> Result<(RpWrite, Self::BlockingWriter)> { + if 1 < 2 { + panic!("Dummy failure"); + } let (target_path, tmp_path) = if let Some(atomic_write_dir) = &self.core.atomic_write_dir { let target_path = self .core