mirror of
https://github.com/rustfs/rustfs.git
synced 2026-09-02 02:08:41 +00:00
fix(heal): bound read-repair object commit locks (#6839)
Co-authored-by: heihutu <heihutu@gmail.com>
This commit is contained in:
@@ -1723,6 +1723,7 @@ mod tests {
|
||||
scan_mode: rustfs_heal_contracts::heal_channel::HealScanMode::Normal,
|
||||
update_parity: false,
|
||||
no_lock: true,
|
||||
read_repair: false,
|
||||
pool: Some(1),
|
||||
set: Some(0),
|
||||
};
|
||||
@@ -2600,6 +2601,7 @@ mod tests {
|
||||
scan_mode: HealScanMode::Deep,
|
||||
update_parity: false,
|
||||
no_lock: true,
|
||||
read_repair: false,
|
||||
pool: Some(1),
|
||||
set: Some(2),
|
||||
},
|
||||
|
||||
@@ -210,6 +210,7 @@ async fn heal_object_marks_missing_shard_disk_dirty_for_capacity_manager() {
|
||||
scan_mode: HealScanMode::Deep,
|
||||
update_parity: true,
|
||||
no_lock: false,
|
||||
read_repair: false,
|
||||
pool: None,
|
||||
set: None,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user