Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 233 for couldn (0.23 sec)

  1. cmd/xl-storage-format-v2.go

    				topSig = ver.header
    			} else {
    				consistent = consistent && ver.header == topSig
    			}
    			tops = append(tops, vers[0])
    		}
    
    		// Check if done...
    		if len(tops) < quorum {
    			// We couldn't gather enough for quorum
    			break
    		}
    
    		var latest xlMetaV2ShallowVersion
    		if consistent {
    			// All had the same signature, easy.
    			latest = tops[0]
    			merged = append(merged, latest)
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  2. docs/bucket/replication/DESIGN.md

    An additional header `X-Minio-Replication-Delete-Status` is returned which would show `PENDING` or `FAILED` status if the replication is still not caught up.
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 14.7K bytes
    - Viewed (0)
  3. cmd/sts-handlers.go

    		return
    	}
    
    	sessionPolicyStr := r.Form.Get(stsPolicy)
    	// https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html
    	// The plain text that you use for both inline and managed session
    	// policies shouldn't exceed 2048 characters.
    	if len(sessionPolicyStr) > 2048 {
    		writeSTSErrorResponse(ctx, w, ErrSTSInvalidParameterValue, errSessionPolicyTooLarge)
    		return
    	}
    
    	if len(sessionPolicyStr) > 0 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 18:36:18 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  4. internal/s3select/sql/funceval.go

    		if !ok {
    			return 0, errCastFailure("could not parse as int")
    		}
    		return res, nil
    	case []byte:
    		// Parse as number, truncate floating point if
    		// needed.
    		// String might contain trimming spaces, which
    		// needs to be trimmed.
    		res, ok := strToInt(strings.TrimSpace(string(x)))
    		if !ok {
    			return 0, errCastFailure("could not parse as int")
    		}
    		return res, nil
    
    	default:
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 13.2K bytes
    - Viewed (0)
  5. cmd/admin-handlers-users_test.go

    	err = client.MakeBucket(ctx, getRandomBucketName(), minio.MakeBucketOptions{})
    	if err != nil {
    		c.Fatalf("user could not create bucket: %v", err)
    	}
    
    	// 4. Check that user can be disabled and verify it.
    	err = s.adm.SetUserStatus(ctx, accessKey, madmin.AccountDisabled)
    	if err != nil {
    		c.Fatalf("could not set user account to disabled")
    	}
    	usersMap, err = s.adm.ListUsers(ctx)
    	if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
  6. cmd/erasure-multipart.go

    				parityDrives++
    				offlineDrives++
    				continue
    			}
    		}
    
    		if offlineDrives >= (len(onlineDisks)+1)/2 {
    			// if offline drives are more than 50% of the drives
    			// we have no quorum, we shouldn't proceed just
    			// fail at that point.
    			return nil, toObjectErr(errErasureWriteQuorum, bucket, object)
    		}
    
    		if parityDrives >= len(onlineDisks)/2 {
    			parityDrives = len(onlineDisks) / 2
    		}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  7. cmd/erasure-encode.go

    	// If nilCount >= p.writeQuorum, we return nil. This is because HealFile() uses
    	// CreateFile with p.writeQuorum=1 to accommodate healing of single disk.
    	// i.e if we do no return here in such a case, reduceWriteQuorumErrs() would
    	// return a quorum error to HealFile().
    	nilCount := countErrs(p.errs, nil)
    	if nilCount >= p.writeQuorum {
    		return nil
    	}
    
    	writeErr := reduceWriteQuorumErrs(ctx, p.errs, objectOpIgnoredErrs, p.writeQuorum)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Jan 31 02:11:45 GMT 2024
    - 3K bytes
    - Viewed (0)
  8. cmd/bucket-policy-handlers_test.go

    		}
    	}
    
    	// Test for Anonymous/unsigned http request.
    	// Bucket policy related functions doesn't support anonymous requests, setting policies shouldn't make a difference.
    	bucketPolicyStr := fmt.Sprintf(bucketPolicyTemplate, bucketName, bucketName)
    	// create unsigned HTTP request for PutBucketPolicyHandler.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 32.7K bytes
    - Viewed (0)
  9. docs/bucket/replication/README.md

    Additional permission of "s3:ReplicateDelete" action would need to be specified on the access key configured for the target cluster if Delete Marker replication or versioned delete replication is enabled.
    
    ```
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jan 24 23:46:33 GMT 2023
    - 18.2K bytes
    - Viewed (0)
  10. internal/arn/arn.go

    		return
    	}
    
    	if ps[2] != string(arnServiceIAM) {
    		err = errors.New("invalid ARN - bad service field")
    		return
    	}
    
    	// ps[3] is region and is not validated here. If the region is invalid,
    	// the ARN would not match any configured ARNs in the server.
    	if ps[4] != "" {
    		err = errors.New("invalid ARN - unsupported account-id field")
    		return
    	}
    
    	res := strings.SplitN(ps[5], "/", 2)
    	if len(res) != 2 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 08:31:34 GMT 2024
    - 3.5K bytes
    - Viewed (0)
Back to top