Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for IsZero (0.03 sec)

  1. cmd/site-replication.go

    				var hasBucket, isBucketMarkedDeleted bool
    
    				bi, ok := sris[dIdx].Buckets[s.Bucket]
    				if ok {
    					isBucketMarkedDeleted = !bi.DeletedAt.IsZero() && (bi.CreatedAt.IsZero() || bi.DeletedAt.After(bi.CreatedAt))
    					hasBucket = !bi.CreatedAt.IsZero()
    				}
    				quotaCfgSet := hasBucket && quotaCfgs[i] != nil && *quotaCfgs[i] != madmin.BucketQuota{}
    				ss := madmin.SRBucketStatsSummary{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  2. cmd/admin-handlers.go

    	if objectAPI == nil {
    		return
    	}
    
    	if globalInplaceUpdateDisabled {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrMethodNotAllowed), r.URL)
    		return
    	}
    
    	if currentReleaseTime.IsZero() || currentReleaseTime.Equal(timeSentinel) {
    		apiErr := errorCodes.ToAPIErr(ErrMethodNotAllowed)
    		apiErr.Description = fmt.Sprintf("unable to perform in-place update, release time is unrecognized: %s", currentReleaseTime)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  3. cmd/metrics-v2.go

    		}
    
    		if startTime > 0 {
    			metrics = append(metrics,
    				MetricV2{
    					Description: getMinIOProcessStartTimeMD(),
    					Value:       startTime,
    				})
    		}
    
    		if !globalBootTime.IsZero() {
    			metrics = append(metrics,
    				MetricV2{
    					Description: getMinIOProcessUptimeMD(),
    					Value:       time.Since(globalBootTime).Seconds(),
    				})
    		}
    
    		if stat.ResidentMemory() > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  4. cmd/object-handlers.go

    		lastTaggingTimestamp := srcInfo.UserDefined[ReservedMetadataPrefixLower+TaggingTimestamp]
    		if dstOpts.ReplicationRequest {
    			srcTimestamp := dstOpts.ReplicationSourceTaggingTimestamp
    			if !srcTimestamp.IsZero() {
    				ondiskTimestamp, err := time.Parse(time.RFC3339Nano, lastTaggingTimestamp)
    				// update tagging metadata only if replica  timestamp is newer than what's on disk
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  5. cmd/bucket-replication.go

    }
    
    // QueueReplicationHeal is a wrapper for queueReplicationHeal
    func QueueReplicationHeal(ctx context.Context, bucket string, oi ObjectInfo, retryCount int) {
    	// ignore modtime zero objects
    	if oi.ModTime.IsZero() {
    		return
    	}
    	rcfg, err := getReplicationConfig(ctx, bucket)
    	if err != nil {
    		replLogOnceIf(ctx, err, bucket)
    		return
    	}
    	tgts, _ := globalBucketTargetSys.ListBucketTargets(ctx, bucket)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
Back to top