Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getTransitionedObjectReader (0.16 sec)

  1. cmd/bucket-lifecycle.go

    			op.Error = err.Error()
    			globalTierMetrics.logFailure(tier)
    		}
    
    		logger.GetReqInfo(ctx).AppendTags("tierStats", op.String())
    	}
    }
    
    // getTransitionedObjectReader returns a reader from the transitioned tier.
    func getTransitionedObjectReader(ctx context.Context, bucket, object string, rs *HTTPRangeSpec, h http.Header, oi ObjectInfo, opts ObjectOptions) (gr *GetObjectReader, err error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  2. cmd/erasure-object.go

    		}
    
    		// Zero byte objects don't even need to further initialize pipes etc.
    		return NewGetObjectReaderFromReader(bytes.NewReader(nil), objInfo, opts)
    	}
    
    	if objInfo.IsRemote() {
    		gr, err := getTransitionedObjectReader(ctx, bucket, object, rs, h, objInfo, opts)
    		if err != nil {
    			return nil, err
    		}
    		unlockOnDefer = false
    		return gr.WithCleanupFuncs(nsUnlocker), nil
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  3. cmd/object-handlers.go

    				func(offset int64) (io.ReadCloser, error) {
    					rs := &HTTPRangeSpec{
    						IsSuffixLength: false,
    						Start:          offset,
    						End:            -1,
    					}
    					return getTransitionedObjectReader(rctx, bucket, object, rs, r.Header,
    						objInfo, ObjectOptions{VersionID: objInfo.VersionID})
    				},
    				actualSize,
    			)
    			defer objectRSC.Close()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
Back to top