Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for offline (0.05 sec)

  1. cmd/bucket-targets.go

    					var lastOnline time.Time
    					var offline time.Duration
    					//	var deploymentID string
    					sys.hMutex.RLock()
    					prev, ok := sys.hc[result.Endpoint.Host]
    					sys.hMutex.RUnlock()
    					if ok {
    						if prev.Online != result.Online || !result.Online {
    							if !prev.lastHCAt.IsZero() {
    								offline = time.Since(prev.lastHCAt) + prev.offlineDuration
    							} else {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  2. cmd/erasure.go

    		if di.RootDisk {
    			rootDiskCount++
    		}
    	}
    
    	// Count offline disks as well to ensure consistent
    	// reportability of offline drives on local setups.
    	if len(disksInfo) == (rootDiskCount + offlineDisks.Sum()) {
    		// Success.
    		return onlineDisks, offlineDisks
    	}
    
    	// Root disk should be considered offline
    	for i := range disksInfo {
    		ep := disksInfo[i].Endpoint
    		if disksInfo[i].RootDisk {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  3. .github/workflows/check-markdown-links.yml

              # - notes.md and notes-templates.md - because they are a part of user guide
              # - Kotlin's Module.md - because it's a part of the Kotlin DSL docs
              args: >
                --no-progress --offline '**/*.md' --include-fragments
                --exclude-path 'platforms/documentation/docs/src/docs/release/notes.md'
                --exclude-path 'platforms/documentation/docs/src/docs/release/notes-template.md'
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Tue Aug 26 16:21:48 UTC 2025
    - 920 bytes
    - Viewed (0)
  4. cmd/erasure-object.go

    	}
    
    	// count the number of offline disks
    	offline := 0
    	for i := range len(errs) {
    		var found bool
    		switch {
    		case errors.Is(errs[i], errDiskNotFound):
    			found = true
    		default:
    			for p := range dataErrsByPart {
    				if dataErrsByPart[p][i] == checkPartDiskNotFound {
    					found = true
    					break
    				}
    			}
    		}
    		if found {
    			offline++
    		}
    	}
    	if offline > 0 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 80.4K bytes
    - Viewed (0)
  5. cmd/erasure-sets.go

            // Offline disks are marked as dead.
            (heal format) // Offline disks should be marked as dead.
            return success
       fi
    fi
    */
    
    func formatsToDrivesInfo(endpoints Endpoints, formats []*formatErasureV3, sErrs []error) (beforeDrives []madmin.HealDriveInfo) {
    	beforeDrives = make([]madmin.HealDriveInfo, len(endpoints))
    	// Existing formats are available (i.e. ok), so save it in
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37K bytes
    - Viewed (1)
  6. cmd/erasure-object_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// Remove one more disk to 'lose' quorum, by taking 2 more drives offline.
    	erasureDisks = xl.getDisks()
    	z.serverPools[0].erasureDisksMu.Lock()
    	xl.getDisks = func() []StorageAPI {
    		erasureDisks[7] = nil
    		erasureDisks[8] = nil
    		return erasureDisks
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 38.3K bytes
    - Viewed (0)
  7. cmd/metrics-v2.go

    			linkOnline := MetricV2{
    				Description: getClusterRepLinkOnlineMD(),
    				VariableLabels: map[string]string{
    					"endpoint": ep,
    				},
    			}
    			online := Offline
    			if health.Online {
    				online = Online
    			}
    			linkOnline.Value = float64(online)
    			ml = append(ml, linkOnline)
    			offlineDuration := MetricV2{
    				Description: getClusterRepLinkCurrOfflineDurationMD(),
    				VariableLabels: map[string]string{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 133.4K bytes
    - Viewed (0)
  8. cmd/bucket-replication.go

    		return
    	}
    	if dobj.VersionID != "" && rinfo.VersionPurgeStatus == replication.VersionPurgeComplete {
    		return
    	}
    	if globalBucketTargetSys.isOffline(tgt.EndpointURL()) {
    		replLogOnceIf(ctx, fmt.Errorf("remote target is offline for bucket:%s arn:%s", dobj.Bucket, tgt.ARN), "replication-target-offline-delete-"+tgt.ARN)
    		sendEvent(eventArgs{
    			BucketName: dobj.Bucket,
    			Object: ObjectInfo{
    				Bucket:       dobj.Bucket,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 118K bytes
    - Viewed (0)
  9. cmd/erasure-heal_test.go

    import (
    	"bytes"
    	"crypto/rand"
    	"io"
    	"os"
    	"testing"
    )
    
    var erasureHealTests = []struct {
    	dataBlocks, disks int
    
    	// number of offline disks is also number of staleDisks for
    	// erasure reconstruction in this test
    	offDisks int
    
    	// bad disks are online disks which return errors
    	badDisks, badStaleDisks int
    
    	blocksize, size int64
    	algorithm       BitrotAlgorithm
    	shouldFail      bool
    }{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  10. 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 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 45.9K bytes
    - Viewed (0)
Back to top