From 5292315ed4a9f6b9894a126cd31979d94f81496b Mon Sep 17 00:00:00 2001 From: SF-Zhou Date: Mon, 9 Mar 2026 10:57:30 +0800 Subject: [PATCH] Fix the size limit of get_allocate_tasks in chunk engine --- src/storage/chunk_engine/src/alloc/allocators.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage/chunk_engine/src/alloc/allocators.rs b/src/storage/chunk_engine/src/alloc/allocators.rs index 620a705a..82e1abfa 100644 --- a/src/storage/chunk_engine/src/alloc/allocators.rs +++ b/src/storage/chunk_engine/src/alloc/allocators.rs @@ -105,7 +105,7 @@ impl Allocators { .sum() } - pub fn get_allocate_tasks(&self, max_reserved: u64) -> tinyvec::ArrayVec<[GroupId; 3]> { + pub fn get_allocate_tasks(&self, max_reserved: u64) -> tinyvec::TinyVec<[GroupId; 3]> { self.vec .iter() .filter_map(|allocator| allocator.get_compact_task(max_reserved))