Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 107 for its (0.12 sec)

  1. cmd/erasure-server-pool-rebalance.go

    func (z *erasureServerPools) updateRebalanceStats(ctx context.Context) error {
    	var ok bool
    	for i := range z.serverPools {
    		if z.findIndex(i) == -1 {
    			// Also ensure to initialize rebalanceStats to indicate
    			// its a new pool that can receive rebalanced data.
    			z.rebalMeta.PoolStats = append(z.rebalMeta.PoolStats, &rebalanceStats{})
    			ok = true
    		}
    	}
    	if ok {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool.go

    			// found a pool
    			return pinfo, z.poolsWithObject(poolObjInfos, opts), nil
    		}
    
    		if isErrReadQuorum(pinfo.Err) && !opts.MetadataChg {
    			// read quorum is returned when the object is visibly
    			// present but its unreadable, we simply ask the writes to
    			// schedule to this pool instead. If there is no quorum
    			// it will fail anyways, however if there is quorum available
    			// with enough disks online but sufficiently inconsistent to
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  3. cmd/erasure-object_test.go

    	}
    
    	// Unzip sample object data to the existing disks
    	err = unzipArchive("testdata/xl-meta-inline-notinline.zip", path)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// Try to read the object and check its md5sum
    	gr, err := objLayer.GetObjectNInfo(ctx, "testbucket", "file", nil, nil, ObjectOptions{})
    	if err != nil {
    		t.Fatalf("Expected GetObject to succeed, but failed with %v", err)
    	}
    
    	h := md5.New()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 36.8K bytes
    - Viewed (0)
  4. cmd/auth-handler.go

    		return claims.Map(), nil
    	}
    
    	// Check if a session policy is set. If so, decode it here.
    	sp, spok := claims.Lookup(policy.SessionPolicyName)
    	if spok {
    		// Looks like subpolicy is set and is a string, if set then its
    		// base64 encoded, decode it. Decoding fails reject such
    		// requests.
    		spBytes, err := base64.StdEncoding.DecodeString(sp)
    		if err != nil {
    			// Base64 decoding fails, we should log to indicate
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  5. cmd/server_test.go

    	c.Assert(err, nil)
    	// execute the HTTP request for object upload.
    	response, err = s.client.Do(request)
    	c.Assert(err, nil)
    	c.Assert(response.StatusCode, http.StatusOK)
    
    	// fetch the object back and verify its contents.
    	request, err = newTestSignedRequest(http.MethodGet, getGetObjectURL(s.endPoint, bucketName, objectName),
    		0, nil, s.accessKey, s.secretKey, s.signer)
    	c.Assert(err, nil)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  6. cmd/xl-storage-disk-id-check.go

    		return info, errFaultyDisk
    	}
    
    	info, err = p.storage.DiskInfo(ctx, opts)
    	if err != nil {
    		return info, err
    	}
    
    	// check cached diskID against backend
    	// only if its non-empty.
    	cachedID := *p.diskID.Load()
    	if cachedID != "" && cachedID != info.ID {
    		return info, errDiskNotFound
    	}
    	return info, nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  7. cmd/object-handlers.go

    	}
    
    	var chStorageClass bool
    	if dstSc != "" && dstSc != srcInfo.StorageClass {
    		chStorageClass = true
    		srcInfo.metadataOnly = false
    	} // no changes in storage-class expected so its a metadataonly operation.
    
    	var reader io.Reader = gr
    
    	// Set the actual size to the compressed/decrypted size if encrypted.
    	actualSize, err := srcInfo.GetActualSize()
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  8. cmd/object-multipart-handlers.go

    	//   ETag := MD5(ETag_p1, ETag_p2, ...)+"-N"   (N being the number of parts)
    	//
    	// This is independent of encryption. An encrypted multipart
    	// object also has an ETag that is the MD5 of its part ETags.
    	// The fact the in case of encryption the ETag of a part is
    	// not the MD5 of the part content does not change that.
    	var completeETags []etag.ETag
    	for _, part := range complMultipartUpload.Parts {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 39K bytes
    - Viewed (0)
  9. cmd/erasure-object.go

    		if err == nil && fi.InlineData() {
    			break
    		}
    	}
    
    	if err != nil {
    		// We can only look for dangling if we received all the responses, if we did
    		// not we simply ignore it, since we can't tell for sure if its dangling object.
    		if totalResp == er.setDriveCount && shouldCheckForDangling(err, errs, bucket) {
    			_, derr := er.deleteIfDangling(context.Background(), bucket, object, metaArr, errs, nil, opts)
    			if derr != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  10. internal/kms/identity-manager.go

    )
    
    // IdentityManager is the generic interface that handles KMS identity operations
    type IdentityManager interface {
    	// DescribeIdentity describes an identity by returning its metadata.
    	// e.g. which policy is currently assigned and whether its an admin identity.
    	DescribeIdentity(ctx context.Context, identity string) (*kes.IdentityInfo, error)
    
    	// DescribeSelfIdentity describes the identity issuing the request.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 1.6K bytes
    - Viewed (0)
Back to top