Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SetHealing (0.08 sec)

  1. cmd/erasure-healing.go

    }
    
    const (
    	xMinIOHealing = ReservedMetadataPrefix + "healing"
    	xMinIODataMov = ReservedMetadataPrefix + "data-mov"
    )
    
    // SetHealing marks object (version) as being healed.
    // Note: this is to be used only from healObject
    func (fi *FileInfo) SetHealing() {
    	if fi.Metadata == nil {
    		fi.Metadata = make(map[string]string)
    	}
    	fi.Metadata[xMinIOHealing] = "true"
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 02 17:50:41 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v2_test.go

    			Checksums: []ChecksumInfo{{
    				PartNumber: 1,
    				Algorithm:  HighwayHash256S,
    				Hash:       nil,
    			}},
    		},
    		NumVersions: 1,
    	}
    
    	fi.SetHealing()
    	failOnErr(xl.AddVersion(fi))
    
    	var err error
    	fi, err = xl.ToFileInfo(fi.Volume, fi.Name, fi.VersionID, false, true)
    	if err != nil {
    		t.Fatalf("xl.ToFileInfo failed with %v", err)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 36.4K bytes
    - Viewed (0)
Back to top