mirror of
https://github.com/minio/minio.git
synced 2026-02-04 18:00:15 -05:00
fix: the race in healing tracker code (#17048)
This commit is contained in:
@@ -380,7 +380,7 @@ func saveFormatErasure(disk StorageAPI, format *formatErasureV3, healID string)
|
||||
disk.SetDiskID(diskID)
|
||||
if healID != "" {
|
||||
ctx := context.Background()
|
||||
ht := newHealingTracker(disk, healID)
|
||||
ht := initHealingTracker(disk, healID)
|
||||
return ht.save(ctx)
|
||||
}
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user