Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for fails (0.14 sec)

  1. cmd/auth-handler.go

    	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
    			// something is malforming the request sent by client.
    			authNLogIf(GlobalContext, err, logger.ErrorKind)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  2. cmd/bucket-targets.go

    		if t.Type == tgt.Type {
    			if t.Arn == tgt.Arn {
    				if !update {
    					return BucketRemoteAlreadyExists{Bucket: t.TargetBucket}
    				}
    				newtgts[idx] = *tgt
    				found = true
    				continue
    			}
    			// fail if endpoint is already present in list of targets and not a matching ARN
    			if t.Endpoint == tgt.Endpoint {
    				return BucketRemoteAlreadyExists{Bucket: t.TargetBucket}
    			}
    		}
    		newtgts[idx] = t
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  3. helm/minio/values.yaml

      ## Add new policies as explained here https://min.io/docs/minio/kubernetes/upstream/administration/identity-access-management.html#access-management
      ## NOTE: this will fail if LDAP is enabled in your MinIO deployment
      ## make sure to disable this if you are using LDAP.
      - accessKey: console
        secretKey: console123
        policy: consoleAdmin
      # Or you can refer to specific secret
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 10:14:37 GMT 2024
    - 18.4K bytes
    - Viewed (0)
  4. cmd/format-erasure.go

    		return formatData, formatFi, nil
    	}
    	return nil, nil, fmt.Errorf(`Disk %s: unknown format version %s`, export, version)
    }
    
    // Migrates version V1 of format.json to version V2 of format.json,
    // migration fails upon any error.
    func formatErasureMigrateV1ToV2(data []byte, version string) ([]byte, error) {
    	if version != formatErasureVersionV1 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  5. cmd/encryption-v1.go

    		ctx := logger.SetReqInfo(GlobalContext, reqInfo)
    		logger.CriticalIf(ctx, err)
    	}
    	return int64(size)
    }
    
    // DecryptObjectInfo tries to decrypt the provided object if it is encrypted.
    // It fails if the object is encrypted and the HTTP headers don't contain
    // SSE-C headers or the object is not encrypted but SSE-C headers are provided. (AWS behavior)
    // DecryptObjectInfo returns 'ErrNone' if the object is not encrypted or the
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 36.5K bytes
    - Viewed (0)
  6. cmd/common-main.go

    		if err != nil {
    			logger.Fatal(err, "Unable to initialize a connection to KES as specified by the shell environment")
    		}
    		// Try to generate a data encryption key. Only try to create key if this fails.
    		// This implicitly checks that we can communicate to KES.
    		// We don't treat a policy error as failure condition since MinIO may not have the permission
    		// to create keys - just to generate/decrypt data encryption keys.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  7. cmd/erasure-server-pool-decom.go

    			if ok {
    				globalNotificationSys.ReloadPoolMeta(ctx)
    			}
    			z.poolMetaMutex.Unlock()
    		}
    
    		wk.Take()
    		go func(setIdx int) {
    			defer wk.Give()
    			// We will perpetually retry listing if it fails, since we cannot
    			// possibly give up in this matter
    			for {
    				if contextCanceled(ctx) {
    					break
    				}
    
    				err := set.listObjectsToDecommission(ctx, bi,
    					func(entry metaCacheEntry) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 41.5K bytes
    - Viewed (1)
  8. cmd/object-api-utils.go

    		gotIdx = <-indexCh
    		return gotIdx
    	}
    }
    
    // compressSelfTest performs a self-test to ensure that compression
    // algorithms completes a roundtrip. If any algorithm
    // produces an incorrect checksum it fails with a hard error.
    //
    // compressSelfTest tries to catch any issue in the compression implementation
    // early instead of silently corrupting data.
    func compressSelfTest() {
    	// 4 MB block.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  9. internal/grid/muxclient.go

    	if debugPrint {
    		fmt.Printf("mux %d: got msg seqid %d, payload length: %d, err:%v\n", m.MuxID, seq, len(r.Msg), r.Err)
    	}
    	if !m.checkSeq(seq) {
    		if debugReqs {
    			fmt.Println(m.MuxID, m.parent.String(), "CHECKSEQ FAIL", m.RecvSeq, seq)
    		}
    		PutByteBuffer(r.Msg)
    		r.Msg = nil
    		r.Err = ErrIncorrectSequence
    		m.addResponse(r)
    		return
    	}
    	atomic.StoreInt64(&m.LastPong, time.Now().Unix())
    	ok := m.addResponse(r)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  10. cmd/storage-rest-server.go

    		} else {
    			logger.Fatal(err, "Unable to initialize backend")
    		}
    	case errors.Is(err, errDiskFull):
    		if !exit {
    			storageLogOnceIf(GlobalContext, fmt.Errorf("Drive is already full at %s, incoming I/O will fail - drive will be offline", endpoint), "log-fatal-errs")
    		} else {
    			logger.Fatal(err, "Unable to initialize backend")
    		}
    	case errors.Is(err, errInconsistentDisk):
    		if exit {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
Back to top