Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 74 for Feross (0.28 sec)

  1. cmd/notification.go

    				if i < g.retryCount-1 {
    					time.Sleep(100*time.Millisecond + time.Duration(r.Float64()*float64(time.Second)))
    				}
    				continue
    			}
    			break
    		}
    	}()
    }
    
    // DeletePolicy - deletes policy across all peers.
    func (sys *NotificationSys) DeletePolicy(policyName string) []NotificationPeerErr {
    	ng := WithNPeers(len(sys.peerClients)).WithRetries(1)
    	for idx, client := range sys.peerClients {
    		client := client
    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)
  2. cmd/erasure.go

    		ep := disksInfo[i].Endpoint
    		if disksInfo[i].RootDisk {
    			offlineDisks[ep]++
    			onlineDisks[ep]--
    		}
    	}
    
    	return onlineDisks, offlineDisks
    }
    
    // getDisksInfo - fetch disks info across all other storage API.
    func getDisksInfo(disks []StorageAPI, endpoints []Endpoint, metrics bool) (disksInfo []madmin.Disk) {
    	disksInfo = make([]madmin.Disk, len(disks))
    
    	g := errgroup.WithNErrs(len(disks))
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 16K bytes
    - Viewed (1)
  3. cmd/rebalance-admin.go

    		}
    		if !ps.Participating {
    			continue
    		}
    		// for participating pools, total bytes to be rebalanced by this pool is given by,
    		// pf_c = (f_i + x)/c_i,
    		// pf_c - percentage free space across pools, f_i - ith pool's free space, c_i - ith pool's capacity
    		// i.e. x = c_i*pfc -f_i
    		totalBytesToRebal := float64(ps.InitCapacity)*meta.PercentFreeGoal - float64(ps.InitFreeSpace)
    		elapsed := time.Since(ps.Info.StartTime)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Dec 22 00:56:43 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  4. src/archive/tar/reader.go

    //
    // The err will be set to io.EOF only when one of the following occurs:
    //   - Exactly 0 bytes are read and EOF is hit.
    //   - Exactly 1 block of zeros is read and EOF is hit.
    //   - At least 2 blocks of zeros are read.
    func (tr *Reader) readHeader() (*Header, *block, error) {
    	// Two blocks of zero bytes marks the end of the archive.
    	if _, err := io.ReadFull(tr.r, tr.blk[:]); err != nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-v1.go

    		VersionID:   m.VersionID,
    		DataDir:     m.DataDir,
    		XLV1:        true,
    		NumVersions: 1,
    	}
    
    	return fi, nil
    }
    
    // Signature will return a signature that is expected to be the same across all disks.
    func (m *xlMetaV1Object) Signature() [4]byte {
    	// Shallow copy
    	c := *m
    	// Zero unimportant fields
    	c.Erasure.Index = 0
    	c.Minio.Release = ""
    	crc := hashDeterministicString(c.Meta)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  6. cmd/admin-handlers.go

    	// Marshal API response
    	jsonBytes, err := json.Marshal(storageInfo)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	// Reply with storage information (across nodes in a
    	// distributed setup) as json.
    	writeSuccessResponseJSON(w, jsonBytes)
    }
    
    // MetricsHandler - GET /minio/admin/v3/metrics
    // ----------
    // Get realtime server metrics
    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)
  7. cmd/metacache-set.go

    	Versioning *versioning.Versioning `msg:"-"`
    
    	// Lifecycle performs filtering based on lifecycle.
    	// This will filter out objects if the most recent version should be deleted by lifecycle.
    	// Is not transferred across request calls.
    	Lifecycle *lifecycle.Lifecycle `msg:"-"`
    
    	// Retention configuration, needed to be passed along with lifecycle if set.
    	Retention lock.Retention `msg:"-"`
    
    	// Replication configuration
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:52:52 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  8. src/cmd/api/main_test.go

    //
    // Since the set of packages that exist depends on context, the result of
    // loadImports also depends on context. However, to improve test running time
    // the configuration for each environment is cached across runs.
    func (w *Walker) loadImports() {
    	if w.context == nil {
    		return // test-only Walker; does not use the import map
    	}
    
    	name := contextName(w.context)
    
    	imports, ok := listCache.Load(name)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  9. cmd/data-usage-cache.go

    	ReplicationStats *replicationAllStats `msg:"rs,omitempty"`
    	AllTierStats     *allTierStats        `msg:"ats,omitempty"`
    	Compacted        bool                 `msg:"c"`
    }
    
    // allTierStats is a collection of per-tier stats across all configured remote
    // tiers.
    type allTierStats struct {
    	Tiers map[string]tierStats `msg:"ts"`
    }
    
    func newAllTierStats() *allTierStats {
    	return &allTierStats{
    		Tiers: make(map[string]tierStats),
    	}
    }
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  10. cmd/metrics-v3-cluster-erasure-set.go

    const (
    	poolIDL = "pool_id"
    	setIDL  = "set_id"
    )
    
    var (
    	erasureSetOverallWriteQuorumMD = NewGaugeMD(erasureSetOverallWriteQuorum,
    		"Overall write quorum across pools and sets")
    	erasureSetOverallHealthMD = NewGaugeMD(erasureSetOverallHealth,
    		"Overall health across pools and sets (1=healthy, 0=unhealthy)")
    	erasureSetReadQuorumMD = NewGaugeMD(erasureSetReadQuorum,
    		"Read quorum for the erasure set in a pool", poolIDL, setIDL)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 3.1K bytes
    - Viewed (0)
Back to top