mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
results must be a single channel to avoid overwriting healing.bin (#19702)
This commit is contained in:
@@ -417,6 +417,10 @@ func (s *xlStorage) Healing() *healingTracker {
|
||||
if err != nil {
|
||||
return nil
|
||||
}
|
||||
if len(b) == 0 {
|
||||
// 'healing.bin' might be truncated
|
||||
return nil
|
||||
}
|
||||
h := newHealingTracker()
|
||||
_, err = h.UnmarshalMsg(b)
|
||||
bugLogIf(GlobalContext, err)
|
||||
|
||||
Reference in New Issue
Block a user