fix(ecstore): reduce GET reader setup shard fanout (#4735)

This commit is contained in:
houseme
2026-07-11 21:22:40 +08:00
committed by GitHub
parent a8eed1c44d
commit 9d64d71bd7
4 changed files with 30 additions and 8 deletions
+4 -1
View File
@@ -3771,7 +3771,10 @@ mod tests {
temp_env::async_with_vars(
[
(ENV_RUSTFS_GET_DATA_BLOCKS_FIRST_READER_SETUP, data_blocks_first.then_some("true")),
(
ENV_RUSTFS_GET_DATA_BLOCKS_FIRST_READER_SETUP,
Some(if data_blocks_first { "true" } else { "false" }),
),
(
ENV_RUSTFS_GET_CODEC_STREAMING_DATA_BLOCKS_FIRST_READER_SETUP,
codec_data_blocks_first.then_some("true"),