Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Cause (0.18 sec)

  1. cmd/site-replication.go

    		Cause: errors.New("site replication resync is already in progress"),
    		Code:  ErrSiteReplicationInvalidRequest,
    	}
    	errSRResyncCanceled = SRError{
    		Cause: errors.New("site replication resync is already canceled"),
    		Code:  ErrSiteReplicationInvalidRequest,
    	}
    	errSRNoResync = SRError{
    		Cause: errors.New("no resync in progress"),
    		Code:  ErrSiteReplicationInvalidRequest,
    	}
    	errSRResyncToSelf = SRError{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  2. cni/pkg/nodeagent/informers_test.go

    	// after Pod annotated, another update event will be triggered.
    	assertPodAnnotated(t, client, pod)
    
    	// Assert expected calls actually made
    	fs.AssertExpectations(t)
    
    	// unlabelling the namespace should cause only one RemovePodFromMesh to happen
    	fs.On("RemovePodFromMesh",
    		ctx,
    		mock.Anything,
    	).Once().Return(nil)
    
    	// unlabel the namespace
    	labelsPatch := []byte(fmt.Sprintf(`{"metadata":{"labels":{"%s":null}}}`,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  3. operator/cmd/mesh/manifest-generate_test.go

    		t.Fatal(err)
    	}
    	_, err = fakeControllerReconcile(testResourceFile, tmpCharts, &helmreconciler.Options{Force: false, SkipPrune: true})
    	assert.NoError(t, err)
    
    	// Install a default revision should not cause any error
    	minimal := "minimal"
    	_, err = fakeControllerReconcile(minimal, tmpCharts, &helmreconciler.Options{Force: false, SkipPrune: true})
    	assert.NoError(t, err)
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 43.5K bytes
    - Viewed (0)
  4. cmd/erasure-server-pool-rebalance.go

    	} else {
    		z.updateRebalanceStats(ctx)
    	}
    	z.rebalMu.Unlock()
    
    	return nil
    }
    
    // updates rebalance.bin from let's say 2 pool setup in the middle
    // of a rebalance, was expanded can cause z.rebalMeta to be outdated
    // due to a missing new pool. This function tries to handle this
    // scenario, albeit rare it seems to have occurred in the wild.
    //
    // since we do not explicitly disallow it, but it is okay for them
    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)
  5. cmd/iam.go

    		// Migrate IAM configuration, if necessary.
    		if err := saveIAMFormat(retryCtx, sys.store); err != nil {
    			if configRetriableErrors(err) {
    				logger.Info("Waiting for all MinIO IAM sub-system to be initialized.. possible cause (%v)", err)
    				time.Sleep(time.Duration(r.Float64() * float64(time.Second)))
    				continue
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  6. cmd/iam-store.go

    		userType = svcUser
    	} else if cred.IsTemp() {
    		userType = stsUser
    	}
    	ui := newUserIdentity(cred)
    	// Overwrite the user identity here. As store should be
    	// atomic, it shouldn't cause any corruption.
    	if err := store.saveUserIdentity(ctx, cred.AccessKey, userType, ui); err != nil {
    		return err
    	}
    
    	return cache.updateUserWithClaims(cred.AccessKey, ui)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  7. cmd/api-errors.go

    					Description:    err.Error(),
    					HTTPStatusCode: http.StatusBadRequest,
    				}
    			} else {
    				apiErr = APIError{
    					Code:           apiErr.Code,
    					Description:    fmt.Sprintf("%s: cause(%v)", apiErr.Description, err),
    					HTTPStatusCode: apiErr.HTTPStatusCode,
    				}
    			}
    		}
    	}
    
    	if apiErr.Code == "InternalError" {
    		// Make sure to log the errors which we cannot translate
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  8. cmd/erasure-object.go

    	}
    
    	pr, pw := xioutil.WaitPipe()
    	go func() {
    		pw.CloseWithError(er.getObjectWithFileInfo(ctx, bucket, object, off, length, pw, fi, metaArr, onlineDisks))
    	}()
    
    	// Cleanup function to cause the go routine above to exit, in
    	// case of incomplete read.
    	pipeCloser := func() {
    		pr.CloseWithError(nil)
    	}
    
    	if !unlockOnDefer {
    		return fn(pr, h, pipeCloser, nsUnlocker)
    	}
    
    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)
  9. cmd/erasure.go

    		state = madmin.DriveStatePermission
    	case errors.Is(err, errFaultyDisk):
    		state = madmin.DriveStateFaulty
    	case err == nil:
    		state = madmin.DriveStateOk
    	default:
    		state = fmt.Sprintf("%s (cause: %s)", madmin.DriveStateUnknown, err)
    	}
    
    	return
    }
    
    func getOnlineOfflineDisksStats(disksInfo []madmin.Disk) (onlineDisks, offlineDisks madmin.BackendDisks) {
    	onlineDisks = make(madmin.BackendDisks)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 16K bytes
    - Viewed (1)
  10. internal/logger/logger.go

    	}
    
    	// Copy tags. We hold read lock already.
    	tags := make(map[string]interface{}, len(req.tags))
    	for _, entry := range req.tags {
    		tags[entry.Key] = entry.Val
    	}
    
    	// Get the cause for the Error
    	deploymentID := req.DeploymentID
    	if req.DeploymentID == "" {
    		deploymentID = xhttp.GlobalDeploymentID
    	}
    
    	objects := make([]log.ObjectVersion, 0, len(req.Objects))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 12.4K bytes
    - Viewed (0)
Back to top