Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for heel (0.28 sec)

  1. .github/workflows/multipart/migrate.sh

    docker-compose -f docker-compose-site2.yaml up -d
    
    ./mc ready site1/
    ./mc ready site2/
    
    for i in $(seq 1 10); do
    	# mc admin heal -r --remove when used against a LB endpoint
    	# behaves flaky, let this run 10 times before giving up
    	./mc admin heal -r --remove --json site1/ 2>&1 >/dev/null
    	./mc admin heal -r --remove --json site2/ 2>&1 >/dev/null
    done
    
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 15:54:24 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  2. cmd/admin-handlers.go

    }
    
    // HealHandler - POST /minio/admin/v3/heal/
    // -----------
    // Start heal processing and return heal status items.
    //
    // On a successful heal sequence start, a unique client token is
    // returned. Subsequent requests to this endpoint providing the client
    // token will receive heal status records from the running heal
    // sequence.
    //
    // If no client token is provided, and a heal sequence is in progress
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  3. 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
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  4. internal/event/target/redis.go

    		if err != nil {
    			return err
    		}
    		key := eventData.S3.Bucket.Name + "/" + objectName
    
    		if eventData.EventName == event.ObjectRemovedDelete {
    			_, err = conn.Do("HDEL", target.args.Key, key)
    		} else {
    			var data []byte
    			if data, err = json.Marshal(struct{ Records []event.Event }{[]event.Event{eventData}}); err != nil {
    				return err
    			}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 19 04:37:54 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  5. cmd/notification.go

    			if client == nil {
    				return errPeerNotReachable
    			}
    			return client.LoadServiceAccount(accessKey)
    		}, idx, *client.host)
    	}
    	return ng.Wait()
    }
    
    // BackgroundHealStatus - returns background heal status of all peers
    func (sys *NotificationSys) BackgroundHealStatus() ([]madmin.BgHealState, []NotificationPeerErr) {
    	ng := WithNPeers(len(sys.peerClients))
    	states := make([]madmin.BgHealState, len(sys.peerClients))
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  6. internal/config/heal/heal.go

    	Sleep        = "max_sleep"
    	IOCount      = "max_io"
    	DriveWorkers = "drive_workers"
    
    	EnvBitrot       = "MINIO_HEAL_BITROTSCAN"
    	EnvSleep        = "MINIO_HEAL_MAX_SLEEP"
    	EnvIOCount      = "MINIO_HEAL_MAX_IO"
    	EnvDriveWorkers = "MINIO_HEAL_DRIVE_WORKERS"
    )
    
    var configMutex sync.RWMutex
    
    // Config represents the heal settings.
    type Config struct {
    	// Bitrot will perform bitrot scan on local disk when checking objects.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  7. cmd/admin-heal-ops.go

    	healFinishedStatus                     = "finished"
    )
    
    const (
    	// a heal sequence with this many un-consumed heal result
    	// items blocks until heal-status consumption resumes or is
    	// aborted due to timeout.
    	maxUnconsumedHealResultItems = 1000
    
    	// if no heal-results are consumed (via the heal-status API)
    	// for this timeout duration, the heal sequence is aborted.
    	healUnconsumedTimeout = 24 * time.Hour
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  8. cmd/global-heal.go

    			case evt.Action.DeleteRestored(): // if restored copy has expired,delete it synchronously
    				applyExpiryOnTransitionedObject(ctx, newObjectLayerFn(), objInfo, evt, lcEventSrc_Heal)
    				return false
    			case evt.Action.Delete():
    				globalExpiryState.enqueueByDays(objInfo, evt, lcEventSrc_Heal)
    				return true
    			default:
    				return false
    			}
    		}
    
    		// Collect updates to tracker from concurrent healEntry calls
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 15K bytes
    - Viewed (1)
  9. buildscripts/heal-manual.go

    		log.Fatalln(err)
    	}
    
    	opts := madmin.HealOpts{
    		Recursive: true,                  // recursively heal all objects at 'prefix'
    		Remove:    true,                  // remove content that has lost quorum and not recoverable
    		ScanMode:  madmin.HealNormalScan, // by default do not do 'deep' scanning
    	}
    
    	start, _, err := madmClnt.Heal(context.Background(), "healing-rewrite-bucket", "", opts, "", false, false)
    	if err != nil {
    		log.Fatalln(err)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Feb 27 09:47:58 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  10. cmd/background-heal-ops.go

    	"runtime"
    	"strconv"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/pkg/v2/env"
    )
    
    // healTask represents what to heal along with options
    //
    //	path: '/' =>  Heal disk formats along with metadata
    //	path: 'bucket/' or '/bucket/' => Heal bucket
    //	path: 'bucket/object' => Heal object
    type healTask struct {
    	bucket    string
    	object    string
    	versionID string
    	opts      madmin.HealOpts
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.6K bytes
    - Viewed (0)
Back to top