Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for ordine (0.33 sec)

  1. cmd/metrics-v3-system-drive.go

    	m.Set(driveTotalInodes, float64(drive.UsedInodes+drive.FreeInodes), labels...)
    
    	var healing, online float64
    	if drive.Healing {
    		healing = 1
    	}
    	m.Set(driveHealing, healing, labels...)
    
    	if drive.State == "ok" {
    		online = 1
    	}
    	m.Set(driveOnline, online, labels...)
    }
    
    func (m *MetricValues) setDriveAPIMetrics(disk madmin.Disk, labels []string) {
    	if disk.Metrics == nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  2. cmd/prepare-storage.go

    	// Return error when quorum unformatted disks - indicating we are
    	// waiting for first server to be online.
    	unformattedDisks := quorumUnformattedDisks(sErrs)
    	if unformattedDisks && !firstDisk {
    		return nil, nil, errNotFirstDisk
    	}
    
    	// Return error when quorum unformatted disks but waiting for rest
    	// of the servers to be online.
    	if unformattedDisks && firstDisk {
    		return nil, nil, errFirstDiskWait
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  3. cmd/storage-interface.go

    	"github.com/minio/madmin-go/v3"
    )
    
    // StorageAPI interface.
    type StorageAPI interface {
    	// Stringified version of disk.
    	String() string
    
    	// Storage operations.
    
    	// Returns true if disk is online and its valid i.e valid format.json.
    	// This has nothing to do with if the drive is hung or not responding.
    	// For that individual storage API calls will fail properly. The purpose
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  4. cmd/notification.go

    	}
    	idx := xxhash.Sum64String(s) % uint64(len(peerClients))
    	return peerClients[idx]
    }
    
    // GetPeerOnlineCount gets the count of online and offline nodes.
    func (sys *NotificationSys) GetPeerOnlineCount() (nodesOnline, nodesOffline int) {
    	nodesOnline = 1 // Self is always online.
    	nodesOffline = 0
    	nodesOnlineIndex := make([]bool, len(sys.peerClients))
    	var wg sync.WaitGroup
    	for idx, client := range 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)
  5. cmd/erasure-multipart.go

    	if err != nil {
    		return fi, nil, err
    	}
    
    	quorum := readQuorum
    	if write {
    		quorum = writeQuorum
    	}
    
    	// List all online disks.
    	_, modTime, etag := listOnlineDisks(storageDisks, partsMetadata, errs, quorum)
    
    	var reducedErr error
    	if write {
    		reducedErr = reduceWriteQuorumErrs(ctx, errs, objectOpIgnoredErrs, writeQuorum)
    	} else {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  6. internal/kms/kes.go

    		kmsCtx, err := kmsContext.MarshalText()
    		if err != nil {
    			results = append(results, VerifyResult{Status: "offline", Endpoint: endpoint})
    			continue
    		}
    		result := VerifyResult{Status: "online", Endpoint: endpoint, Version: state.Version}
    		key, err := client.GenerateKey(ctx, env.Get(EnvKESKeyName, ""), kmsCtx)
    		if err != nil {
    			result.Encrypt = fmt.Sprintf("Encryption failed: %v", err)
    		} else {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  7. cmd/erasure.go

    			localEndpoints = append(localEndpoints, endpoint)
    		}
    	}
    
    	return getStorageInfo(localDisks, localEndpoints, metrics)
    }
    
    // getOnlineDisksWithHealingAndInfo - returns online disks and overall healing status.
    // Disks are ordered in the following groups:
    // - Non-scanning disks
    // - Non-healing disks
    // - Healing disks (if inclHealing is true)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 16K bytes
    - Viewed (1)
  8. cmd/batch-handlers.go

    				if aerr == nil {
    					return
    				}
    				batchLogIf(ctx,
    					fmt.Errorf("trying %s: Unable to cleanup failed multipart replication %s on remote %s/%s: %w - this may consume space on remote cluster",
    						humanize.Ordinal(attempts), res.UploadID, tgtBucket, tgtObject, aerr))
    				attempts++
    				time.Sleep(time.Second)
    			}
    		}
    	}()
    
    	var (
    		hr    *hash.Reader
    		pInfo PartInfo
    	)
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 08 14:11:38 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  9. cmd/metrics-v3-cluster-health.go

    const (
    	healthDrivesOfflineCount = "drives_offline_count"
    	healthDrivesOnlineCount  = "drives_online_count"
    	healthDrivesCount        = "drives_count"
    )
    
    var (
    	healthDrivesOfflineCountMD = NewGaugeMD(healthDrivesOfflineCount,
    		"Count of offline drives in the cluster")
    	healthDrivesOnlineCountMD = NewGaugeMD(healthDrivesOnlineCount,
    		"Count of online drives in the cluster")
    	healthDrivesCountMD = NewGaugeMD(healthDrivesCount,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  10. cmd/erasure-errors.go

    import "errors"
    
    // errErasureReadQuorum - did not meet read quorum.
    var errErasureReadQuorum = errors.New("Read failed. Insufficient number of drives online")
    
    // errErasureWriteQuorum - did not meet write quorum.
    var errErasureWriteQuorum = errors.New("Write failed. Insufficient number of drives online")
    
    // errNoHealRequired - returned when healing is attempted on a previously healed disks.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Aug 04 23:10:08 GMT 2022
    - 1.2K bytes
    - Viewed (1)
Back to top