fix: site replication of bucket deletion sync (#352)

Bucket deletion timestamp was not being passed back
in GetBucketInfo, which is needed to decide on the bucket
creation/deletion
This commit is contained in:
Poorna
2025-01-29 11:42:55 -08:00
committed by Harshavardhana
parent 64a8f2e554
commit 4df7a3aa8f
4 changed files with 55 additions and 18 deletions

View File

@@ -1308,6 +1308,7 @@ func (s *peerRESTServer) HeadBucketHandler(mss *grid.MSS) (info *VolInfo, nerr *
return &VolInfo{
Name: bucketInfo.Name,
Created: bucketInfo.Created,
Deleted: bucketInfo.Deleted, // needed for site replication
}, nil
}