mirror of
https://github.com/minio/minio.git
synced 2024-12-25 14:45:54 -05:00
expect full quorum for writing 'format.json' everywhere (#15362)
This commit is contained in:
parent
7560fb6f9a
commit
3faef829c5
@ -646,9 +646,8 @@ func saveFormatErasureAll(ctx context.Context, storageDisks []StorageAPI, format
|
|||||||
}, index)
|
}, index)
|
||||||
}
|
}
|
||||||
|
|
||||||
writeQuorum := (len(storageDisks) + 1/2)
|
|
||||||
// Wait for the routines to finish.
|
// Wait for the routines to finish.
|
||||||
return reduceWriteQuorumErrs(ctx, g.Wait(), nil, writeQuorum)
|
return reduceWriteQuorumErrs(ctx, g.Wait(), nil, len(storageDisks))
|
||||||
}
|
}
|
||||||
|
|
||||||
// relinquishes the underlying connection for all storage disks.
|
// relinquishes the underlying connection for all storage disks.
|
||||||
|
Loading…
Reference in New Issue
Block a user