Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 105 for heal (0.04 sec)

  1. cmd/erasure-healing_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// After heal the meta file should be as expected.
    	if !fileInfoPreHeal1.Equals(fileInfoPostHeal1) {
    		t.Fatal("HealObject failed")
    	}
    
    	fileInfoPostHeal2, err = disk.ReadVersion(context.Background(), "", bucket, object, "", ReadOptions{ReadData: false, Healing: true})
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// After heal the meta file should be as expected.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  2. 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 {
    				var scan madmin.HealScanMode
    				switch {
    				case errors.Is(err, errFileNotFound):
    					scan = madmin.HealNormalScan
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 78.6K bytes
    - Viewed (0)
  3. cmd/test-utils_test.go

    }
    
    func resetGlobalEndpoints() {
    	globalEndpoints = EndpointServerPools{}
    }
    
    func resetGlobalIsErasure() {
    	globalIsErasure = false
    }
    
    // reset global heal state
    func resetGlobalHealState() {
    	// Init global heal state
    	if globalAllHealState == nil {
    		globalAllHealState = newHealState(GlobalContext, false)
    	} else {
    		globalAllHealState.Lock()
    		for _, v := range globalAllHealState.healSeqMap {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  4. cmd/api-errors.go

    	},
    	ErrHealNotImplemented: {
    		Code:           "XMinioHealNotImplemented",
    		Description:    "This server does not implement heal functionality.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrHealNoSuchProcess: {
    		Code:           "XMinioHealNoSuchProcess",
    		Description:    "No such heal process is running on the server",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrHealInvalidClientToken: {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 92.1K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool.go

    	}
    
    	var countNoHeal int
    	for _, pool := range z.serverPools {
    		result, err := pool.HealFormat(ctx, dryRun)
    		if err != nil && !errors.Is(err, errNoHealRequired) {
    			healingLogOnceIf(ctx, err, "erasure-heal-format")
    			continue
    		}
    		// Count errNoHealRequired across all serverPools,
    		// to return appropriate error to the caller
    		if errors.Is(err, errNoHealRequired) {
    			countNoHeal++
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 82.5K bytes
    - Viewed (0)
  6. docs/metrics/prometheus/grafana/minio-dashboard.json

              "legendFormat": "",
              "metric": "process_start_time_seconds",
              "refId": "A",
              "step": 60
            }
          ],
          "title": "Time Since Last Heal",
          "type": "stat"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS}"
          },
          "description": "",
          "fieldConfig": {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Apr 15 10:03:01 UTC 2024
    - 93K bytes
    - Viewed (0)
  7. cmd/xl-storage.go

    		return err
    	}
    
    	var w *os.File
    	// Create file if not found. Not doing O_DIRECT here to avoid the code that does buffer aligned writes.
    	// AppendFile() is only used by healing code to heal objects written in old format.
    	w, err = s.openFileSync(filePath, os.O_CREATE|os.O_APPEND|os.O_WRONLY, volumeDir)
    	if err != nil {
    		return err
    	}
    	defer w.Close()
    
    	n, err := w.Write(buf)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  8. src/runtime/mprof.go

    	return true
    }
    
    // mProf_NextCycle publishes the next heap profile cycle and creates a
    // fresh heap profile cycle. This operation is fast and can be done
    // during STW. The caller must call mProf_Flush before calling
    // mProf_NextCycle again.
    //
    // This is called by mark termination during STW so allocations and
    // frees after the world is started again count towards a new heap
    // profiling cycle.
    func mProf_NextCycle() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  9. src/runtime/mheap.go

    	// Try directly allocating from the current head arena.
    	head := (*gcBitsArena)(atomic.Loadp(unsafe.Pointer(&gcBitsArenas.next)))
    	if p := head.tryAlloc(bytesNeeded); p != nil {
    		return p
    	}
    
    	// There's not enough room in the head arena. We may need to
    	// allocate a new arena.
    	lock(&gcBitsArenas.lock)
    	// Try the head arena again, since it may have changed. Now
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  10. src/runtime/mgcscavenge.go

    // the heap goal is defined in terms of bytes of objects, rather than pages like
    // RSS. As a result, we need to take into account for fragmentation internal to
    // spans. heapGoal / lastHeapGoal defines the ratio between the current heap goal
    // and the last heap goal, which tells us by how much the heap is growing and
    // shrinking. We estimate what the heap will grow to in terms of pages by taking
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:48:45 UTC 2024
    - 52.3K bytes
    - Viewed (0)
Back to top