Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,146 for heal (0.41 sec)

  1. internal/config/scanner/scanner.go

    	EnvCycle         = "MINIO_SCANNER_CYCLE"
    	EnvDelayLegacy   = "MINIO_CRAWLER_DELAY"
    	EnvMaxWait       = "MINIO_SCANNER_MAX_WAIT"
    	EnvMaxWaitLegacy = "MINIO_CRAWLER_MAX_WAIT"
    )
    
    // Config represents the heal settings.
    type Config struct {
    	// Delay is the sleep multiplier.
    	Delay float64 `json:"delay"`
    
    	// Sleep always or based on incoming S3 requests.
    	IdleMode int32 // 0 => on, 1 => off
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 26 05:07:25 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  3. 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. buildscripts/minio-upgrade.sh

    	docker volume prune -f || true
    	docker volume rm $(docker volume ls -q -f dangling=true) || true
    }
    
    verify_checksum_after_heal() {
    	local sum1
    	sum1=$(curl -s "$2" | sha256sum)
    	mc admin heal --json -r "$1" >/dev/null # test after healing
    	local sum1_heal
    	sum1_heal=$(curl -s "$2" | sha256sum)
    
    	if [ "${sum1_heal}" != "${sum1}" ]; then
    		echo "mismatch expected ${sum1_heal}, got ${sum1}"
    		exit 1
    	fi
    }
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 05:08:11 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 21 14:36:21 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  6. 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Mar 21 06:38:06 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  7. buildscripts/rewrite-old-new.sh

    		)
    
    		"${WORK_DIR}/mc" mb play/inspects
    		"${WORK_DIR}/mc" mirror inspects play/inspects
    
    		purge "$WORK_DIR"
    		exit 1
    	fi
    
    	go run ./buildscripts/heal-manual.go "127.0.0.1:${start_port}" "minio" "minio123"
    	sleep 1
    
    	if ! ./s3-check-md5 \
    		-debug \
    		-versions \
    		-access-key minio \
    		-secret-key minio123 \
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. cmd/data-usage.go

    	dataUsageBloomName     = ".bloomcycle.bin"
    	dataUsageBloomNamePath = bucketMetaPrefix + SlashSeparator + dataUsageBloomName
    
    	backgroundHealInfoPath = bucketMetaPrefix + SlashSeparator + ".background-heal.json"
    
    	dataUsageCacheName = ".usage-cache.bin"
    )
    
    // storeDataUsageInBackend will store all objects sent on the dui channel until closed.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 09 00:51:34 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. docs/hotfixes.md

    ```
    commit 886262e58af77ebc7c836ef587c08544e9a0c271
    Author: Harshavardhana <******@****.***>
    Date:   Wed Nov 17 15:49:12 2021 -0800
    
        heal legacy objects when versioning is enabled after upgrade (#13671)
    ```
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Feb 14 21:36:02 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. pkg/scheduler/internal/heap/heap.go

    	return h.data.Peek()
    }
    
    // Pop returns the head of the heap and removes it.
    func (h *Heap) Pop() (interface{}, error) {
    	obj := heap.Pop(h.data)
    	if obj != nil {
    		if h.metricRecorder != nil {
    			h.metricRecorder.Dec()
    		}
    		return obj, nil
    	}
    	return nil, fmt.Errorf("object was removed from heap data")
    }
    
    // Get returns the requested item, or sets exists=false.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 29 18:37:35 UTC 2022
    - 6.7K bytes
    - Viewed (0)
Back to top