Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 39 for pendant (0.21 sec)

  1. cmd/bucket-lifecycle_test.go

    func TestParseRestoreObjStatus(t *testing.T) {
    	testCases := []struct {
    		restoreHdr     string
    		expectedStatus restoreObjStatus
    		expectedErr    error
    	}{
    		{
    			// valid: represents a restored object, 'pending' expiry.
    			restoreHdr: `ongoing-request="false", expiry-date="Fri, 21 Dec 2012 00:00:00 GMT"`,
    			expectedStatus: restoreObjStatus{
    				ongoing: false,
    				expiry:  time.Date(2012, 12, 21, 0, 0, 0, 0, time.UTC),
    			},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue May 31 09:57:57 GMT 2022
    - 7K bytes
    - Viewed (0)
  2. cmd/site-replication-metrics.go

    			srs.Latency.update(st.TransferSize, st.TransferDuration)
    			srs.updateXferRate(st.TransferSize, st.TransferDuration)
    		}
    	case st.Failed:
    		srs.Failed.addsize(st.TransferSize, st.Err)
    	case st.Pending:
    	}
    	sr.M[dID] = srs
    }
    
    func (sr *SRStats) get() map[string]SRMetric {
    	epMap := globalBucketTargetSys.healthStats()
    
    	sr.lock.RLock()
    	defer sr.lock.RUnlock()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool-decom.go

    	}
    }
    
    func (z *erasureServerPools) decommissionInBackground(ctx context.Context, idx int) error {
    	pool := z.serverPools[idx]
    	z.poolMetaMutex.RLock()
    	pending := z.poolMeta.PendingBuckets(idx)
    	z.poolMetaMutex.RUnlock()
    
    	for _, bucket := range pending {
    		z.poolMetaMutex.RLock()
    		isDecommissioned := z.poolMeta.isBucketDecommissioned(idx, bucket.String())
    		z.poolMetaMutex.RUnlock()
    		if isDecommissioned {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 41.5K bytes
    - Viewed (1)
  4. internal/grid/muxclient.go

    		return false
    	}
    }
    
    func (m *muxClient) close() {
    	if debugPrint {
    		fmt.Println("closing outgoing mux", m.MuxID)
    	}
    	if !m.respMu.TryLock() {
    		// Cancel before locking - will unblock any pending sends.
    		if m.cancelFn != nil {
    			m.cancelFn(context.Canceled)
    		}
    		// Wait for senders to release.
    		m.respMu.Lock()
    	}
    
    	defer m.respMu.Unlock()
    	m.closeLocked()
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  5. internal/bucket/replication/datatypes.go

    //go:generate msgp -file=$GOFILE
    
    // StatusType of Replication for x-amz-replication-status header
    type StatusType string
    
    // Type - replication type enum
    type Type int
    
    const (
    	// Pending - replication is pending.
    	Pending StatusType = "PENDING"
    
    	// Completed - replication completed ok.
    	Completed StatusType = "COMPLETED"
    
    	// CompletedLegacy was called "COMPLETE" incorrectly.
    	CompletedLegacy StatusType = "COMPLETE"
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  6. cmd/storage-datatypes.go

    	IsLatest bool `msg:"is"`
    
    	// Deleted is set when this FileInfo represents
    	// a deleted marker for a versioned bucket.
    	Deleted bool `msg:"del"`
    
    	// TransitionStatus is set to Pending/Complete for transitioned
    	// entries based on state of transition
    	TransitionStatus string `msg:"ts"`
    	// TransitionedObjName is the object name on the remote tier corresponding
    	// to object (version) on the source tier.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  7. cmd/config-current.go

    						globalDomainNames, err))
    				}
    			}
    		}
    	}
    
    	// Bucket federation is 'true' only when IAM assets are not namespaced
    	// per tenant and all tenants interested in globally available users
    	// if namespace was requested such as specifying etcdPathPrefix then
    	// we assume that users are interested in global bucket support
    	// but not federation.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  8. cmd/api-response.go

    	Delimiter          string `xml:"Delimiter,omitempty"`
    	Prefix             string
    	EncodingType       string `xml:"EncodingType,omitempty"`
    	MaxUploads         int
    	IsTruncated        bool
    
    	// List of pending uploads.
    	Uploads []Upload `xml:"Upload"`
    
    	// Delimed common prefixes.
    	CommonPrefixes []CommonPrefix
    }
    
    // ListBucketsResponse - format for list buckets response
    type ListBucketsResponse struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
  9. cmd/bucket-lifecycle.go

    type expiryState struct {
    	mu      sync.RWMutex
    	workers atomic.Pointer[[]chan expiryOp]
    
    	ctx    context.Context
    	objAPI ObjectLayer
    
    	stats expiryStats
    }
    
    // PendingTasks returns the number of pending ILM expiry tasks.
    func (es *expiryState) PendingTasks() int {
    	w := es.workers.Load()
    	if w == nil || len(*w) == 0 {
    		return 0
    	}
    	var tasks int
    	for _, wrkr := range *w {
    		tasks += len(wrkr)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  10. cmd/tier-journal.go

    	VersionID string `msg:"vid"`
    	TierName  string `msg:"tier"`
    }
    
    const (
    	tierJournalVersion = 1
    	tierJournalHdrLen  = 2 // 2 bytes
    )
    
    var errUnsupportedJournalVersion = errors.New("unsupported pending deletes journal version")
    
    func newTierDiskJournal() *tierDiskJournal {
    	return &tierDiskJournal{}
    }
    
    // NewTierJournal initializes tier deletion journal
    func NewTierJournal() *TierJournal {
    	j := &TierJournal{
    Go
    - Registered: Sun Feb 25 19:28:16 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.4K bytes
    - Viewed (0)
Back to top