Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Noop (0.14 sec)

  1. cmd/storage-datatypes_gen.go

    			}
    		case "m":
    			z.Metrics, err = dc.ReadBool()
    			if err != nil {
    				err = msgp.WrapError(err, "Metrics")
    				return
    			}
    		case "np":
    			z.NoOp, err = dc.ReadBool()
    			if err != nil {
    				err = msgp.WrapError(err, "NoOp")
    				return
    			}
    		default:
    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	return
    }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 127.5K bytes
    - Viewed (0)
  2. cmd/site-replication.go

    	Purge SRBucketDeleteOp = "Purge"
    	// NoOp no action needed
    	NoOp SRBucketDeleteOp = "NoOp"
    )
    
    // Empty returns true if this Op is not set
    func (s SRBucketDeleteOp) Empty() bool {
    	return string(s) == "" || string(s) == string(NoOp)
    }
    
    func getSRBucketDeleteOp(isSiteReplicated bool) SRBucketDeleteOp {
    	if !isSiteReplicated {
    		return NoOp
    	}
    	return MarkDelete
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  3. cmd/bucket-replication.go

    	return nil
    }
    
    func (p *ReplicationPool) startResyncRoutine(ctx context.Context, buckets []BucketInfo, objAPI ObjectLayer) {
    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    	// Run the replication resync in a loop
    	for {
    		if err := p.loadResync(ctx, buckets, objAPI); err == nil {
    			<-ctx.Done()
    			return
    		}
    		duration := time.Duration(r.Float64() * float64(time.Minute))
    		if duration < time.Second {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
Back to top