Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for cancelCause (0.08 sec)

  1. cmd/batch-expire.go

    	if err != nil {
    		return err
    	}
    
    	wk, err := workers.New(workerSize)
    	if err != nil {
    		// invalid worker size.
    		return err
    	}
    
    	ctx, cancelCause := context.WithCancelCause(ctx)
    	defer cancelCause(nil)
    
    	results := make(chan itemOrErr[ObjectInfo], workerSize)
    	go func() {
    		prefixes := r.Prefix.F()
    		if len(prefixes) == 0 {
    			prefixes = []string{""}
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  2. cmd/batch-handlers.go

    			// invalid worker size.
    			return err
    		}
    
    		walkQuorum := env.Get("_MINIO_BATCH_REPLICATION_WALK_QUORUM", "strict")
    		if walkQuorum == "" {
    			walkQuorum = "strict"
    		}
    		ctx, cancelCause := context.WithCancelCause(ctx)
    		// one of source/target is s3, skip delete marker and all versions under the same object name.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool.go

    	if err := checkListObjsArgs(ctx, bucket, prefix, ""); err != nil {
    		xioutil.SafeClose(results)
    		return err
    	}
    	parentCtx := ctx
    	ctx, cancelCause := context.WithCancelCause(ctx)
    	var entries []chan metaCacheEntry
    
    	for poolIdx, erasureSet := range z.serverPools {
    		for setIdx, set := range erasureSet.sets {
    			set := set
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
Back to top