Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 630 for heal (0.02 sec)

  1. cmd/erasure-heal_test.go

    			staleWriters[i] = newBitrotWriter(disk, "", "testbucket", "testobject", erasure.ShardFileSize(test.size), test.algorithm, erasure.ShardSize())
    		}
    
    		// test case setup is complete - now call Heal()
    		err = erasure.Heal(t.Context(), staleWriters, readers, test.size, nil)
    		closeBitrotReaders(readers)
    		closeBitrotWriters(staleWriters)
    		if err != nil && !test.shouldFail {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. cmd/admin-router.go

    		if globalIsDistErasure || globalIsErasure {
    			// Heal operations
    
    			// Heal processing endpoint.
    			adminRouter.Methods(http.MethodPost).Path(adminVersion + "/heal/").HandlerFunc(adminMiddleware(adminAPI.HealHandler, traceAllFlag))
    			adminRouter.Methods(http.MethodPost).Path(adminVersion + "/heal/{bucket}").HandlerFunc(adminMiddleware(adminAPI.HealHandler, traceAllFlag))
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 16 07:34:24 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  3. cmd/storage-rest-common.go

    const (
    	storageRESTVolume           = "vol"
    	storageRESTVolumes          = "vols"
    	storageRESTDirPath          = "dpath"
    	storageRESTFilePath         = "fp"
    	storageRESTVersionID        = "vid"
    	storageRESTHealing          = "heal"
    	storageRESTTotalVersions    = "tvers"
    	storageRESTSrcVolume        = "svol"
    	storageRESTSrcPath          = "spath"
    	storageRESTDstVolume        = "dvol"
    	storageRESTDstPath          = "dpath"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Aug 12 08:38:15 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. docs/resiliency/resiliency-verify-healing-script.sh

    if [ "$DEEP" = "true" ]; then
    	SCAN_DEEP="--scan=deep"
    fi
    
    GOT=$(./mc admin heal --json ${SCAN_DEEP} ${ALIAS_NAME}/${BUCKET}/${DIR}/${FILE})
    GOT=$(echo $GOT | jq "${JQUERY}")
    
    if [ "$(echo "$GOT" | jq -S .)" = "$(echo "$WANT" | jq -S .)" ]; then
    	echo "script passed" >resiliency-verify-healing.log
    else
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Dec 21 04:24:45 UTC 2024
    - 996 bytes
    - Viewed (0)
  5. cmd/peer-s3-client.go

    		// of such a bucket. This is needed here as we identify such
    		// buckets here while listing buckets. As part of regular
    		// globalBucketMetadataSys.Init() call would get a valid
    		// buckets only and not the quourum lost ones like this, so
    		// explicit call
    		for bktName, count := range bucketsMap {
    			if count < quorum {
    				// Queue a bucket heal task
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  6. buildscripts/verify-healing-with-root-disks.sh

    	# /tmp/xxx/mnt/disk4 will be the same as '/' and it
    	# will be detected as root disk
    	while [ "$u" != "0" ]; do
    		sudo umount ${WORK_DIR}/mnt/disk4/
    		u=$?
    		sleep 1
    	done
    
    	# Wait until MinIO self heal kicks in
    	sleep 60
    
    	if [ -f ${WORK_DIR}/mnt/disk4/.minio.sys/format.json ]; then
    		echo "A root disk is formatted unexpectedely"
    		cat "${WORK_DIR}/server4.log"
    		exit -1
    	fi
    }
    
    function cleanup() {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 26 05:07:25 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  7. cmd/erasure-decode.go

    		}
    
    		bytesWritten += n
    	}
    
    	if bytesWritten != length {
    		return bytesWritten, errLessData
    	}
    
    	return bytesWritten, derr
    }
    
    // Heal reads from readers, reconstruct shards and writes the data to the writers.
    func (e Erasure) Heal(ctx context.Context, writers []io.Writer, readers []io.ReaderAt, totalLength int64, prefer []bool) (derr error) {
    	if len(writers) != e.parityBlocks+e.dataBlocks {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  8. cmd/erasure-object.go

    			// If we have successfully written all the content that was asked
    			// by the client, but we still see an error - this would mean
    			// that we have some parts or data blocks missing or corrupted
    			// - attempt a heal to successfully heal them for future calls.
    			if written == partLength {
    				if errors.Is(err, errFileNotFound) || errors.Is(err, errFileCorrupt) {
    					healOnce.Do(func() {
    						globalMRFState.addPartialOp(PartialOperation{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 80.4K bytes
    - Viewed (0)
  9. cmd/peer-s3-server.go

    				return serr
    			}
    			return nil
    		}, index)
    	}
    
    	errs := g.Wait()
    
    	// Initialize heal result info
    	res = madmin.HealResultItem{
    		Type:      madmin.HealItemBucket,
    		Bucket:    bucket,
    		DiskCount: len(localDrives),
    		SetCount:  -1, // explicitly set an invalid value -1, for bucket heal scenario
    	}
    
    	// mutate only if not a dry-run
    	if opts.DryRun {
    		return res, nil
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  10. docs/multi-user/admin/README.md

    - admin:DisableGroup
    
    #### Policy management permissions
    
    - admin:CreatePolicy
    - admin:DeletePolicy
    - admin:GetPolicy
    - admin:AttachUserOrGroupPolicy
    - admin:ListUserPolicies
    
    #### Heal management permissions
    
    - admin:Heal
    
    #### Service account management permissions
    
    - admin:CreateServiceAccount
    - admin:UpdateServiceAccount
    - admin:RemoveServiceAccount
    - admin:ListServiceAccounts
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 4.7K bytes
    - Viewed (0)
Back to top