refactor: Bump opendal to 0.51.1 (#5354)

* refactor: Bump opendal to 0.51.1

Signed-off-by: Xuanwo <github@xuanwo.io>

* Ignore dirs from cache

Signed-off-by: Xuanwo <github@xuanwo.io>

* Reduce extra alloc

Signed-off-by: Xuanwo <github@xuanwo.io>

---------

Signed-off-by: Xuanwo <github@xuanwo.io>
This commit is contained in:
Xuanwo
2025-01-14 15:28:09 +08:00
committed by GitHub
parent c370b4b40d
commit 87bd12d6df
9 changed files with 82 additions and 42 deletions

View File

@@ -189,7 +189,7 @@ impl StateStore for ObjectStateStore {
async fn batch_delete(&self, keys: &[String]) -> Result<()> {
self.store
.remove(keys.to_vec())
.delete_iter(keys.iter().map(String::as_str))
.await
.with_context(|_| DeleteStateSnafu {
key: format!("{:?}", keys),