Indicate RenameData is called by healObject (#16997)

This commit is contained in:
Krishnan Parthasarathi
2023-04-09 10:25:37 -07:00
committed by GitHub
parent 1f1c267b6c
commit 25f7a8e406
4 changed files with 76 additions and 2 deletions

View File

@@ -1583,8 +1583,9 @@ func (x *xlMetaV2) AddVersion(fi FileInfo) error {
if len(k) > len(ReservedMetadataPrefixLower) && strings.EqualFold(k[:len(ReservedMetadataPrefixLower)], ReservedMetadataPrefixLower) {
// Skip tierFVID, tierFVMarker keys; it's used
// only for creating free-version.
// Skip xMinIOHealing, it's used only in RenameData
switch k {
case tierFVIDKey, tierFVMarkerKey:
case tierFVIDKey, tierFVMarkerKey, xMinIOHealing:
continue
}