mirror of
https://github.com/minio/minio.git
synced 2025-11-09 05:34:56 -05:00
bucket resync: persist reset id to bucket metadata (#16088)
This commit is contained in:
@@ -221,6 +221,9 @@ func (sm *siteResyncMetrics) incBucket(o resyncOpts, bktStatus ResyncStatusType)
|
||||
defer sm.Unlock()
|
||||
st, ok := sm.resyncStatus[o.resyncID]
|
||||
if ok {
|
||||
if st.BucketStatuses == nil {
|
||||
st.BucketStatuses = map[string]ResyncStatusType{}
|
||||
}
|
||||
switch bktStatus {
|
||||
case ResyncCompleted:
|
||||
st.BucketStatuses[o.bucket] = ResyncCompleted
|
||||
|
||||
Reference in New Issue
Block a user