mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
fix: the race in healing tracker code (#17048)
This commit is contained in:
@@ -365,10 +365,10 @@ func (s *xlStorage) Healing() *healingTracker {
|
||||
if err != nil {
|
||||
return nil
|
||||
}
|
||||
var h healingTracker
|
||||
h := newHealingTracker()
|
||||
_, err = h.UnmarshalMsg(b)
|
||||
logger.LogIf(GlobalContext, err)
|
||||
return &h
|
||||
return h
|
||||
}
|
||||
|
||||
// checkODirectDiskSupport asks the disk to write some data
|
||||
|
||||
Reference in New Issue
Block a user