Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for attempted (0.28 sec)

  1. cmd/erasure-object.go

    		// to attempt a heal on the object.
    		if countErrs(errs, errDiskNotFound) > 0 {
    			return
    		}
    
    		var missingBlocks int
    		for i := range errs {
    			if IsErr(errs[i],
    				errFileNotFound,
    				errFileVersionNotFound,
    				errFileCorrupt,
    			) {
    				missingBlocks++
    			}
    		}
    
    		// if missing metadata can be reconstructed, attempt to reconstruct.
    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)
  2. cmd/erasure-server-pool.go

    	})
    
    	// initialize the object layer.
    	defer setObjectLayer(z)
    
    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    	attempt := 1
    	for {
    		var err error
    		bootstrapTrace(fmt.Sprintf("poolMeta.Init: loading pool metadata, attempt: %d", attempt), func() {
    			err = z.Init(ctx) // Initializes all pools.
    		})
    		if err != nil {
    			if !configRetriableErrors(err) {
    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/test-utils_test.go

    	}
    
    	// httptest Recorder to capture all the response by the http handler.
    	rec := httptest.NewRecorder()
    	// reading the body to preserve it so that it can be used again for second attempt of sending unsigned HTTP request.
    	// If the body is read in the handler the same request cannot be made use of.
    	buf, err := io.ReadAll(anonReq.Body)
    	if err != nil {
    		t.Fatal(failTestStr(anonTestStr, err.Error()))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  4. cmd/iam-store.go

    	if err := store.saveUserIdentity(ctx, cred.AccessKey, userType, ui); err != nil {
    		return err
    	}
    
    	return cache.updateUserWithClaims(cred.AccessKey, ui)
    }
    
    // LoadUser - attempts to load user info from storage and updates cache.
    func (store *IAMStoreSys) LoadUser(ctx context.Context, accessKey string) {
    	cache := store.lock()
    	defer store.unlock()
    
    	cache.updatedAt = time.Now()
    
    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)
  5. cmd/xl-storage.go

    		}
    		// if its a partial rename() do not attempt to delete recursively.
    		// this can be healed since all parts are available.
    		s.deleteFile(dstVolumeDir, dstDataPath, false, false)
    		return res, osErrToFileErr(err)
    	}
    
    	if srcVolume != minioMetaMultipartBucket {
    		// srcFilePath is some-times minioMetaTmpBucket, an attempt to
    		// remove the temporary folder is enough since at this point
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  6. cmd/api-errors.go

    	},
    	ErrCastFailed: {
    		Code:           "CastFailed",
    		Description:    "Attempt to convert from one data type to another using CAST failed in the SQL expression.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidCast: {
    		Code:           "InvalidCast",
    		Description:    "Attempt to convert from one data type to another using CAST failed in the SQL expression.",
    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)
  7. cmd/iam.go

    	var isGroup bool
    	if r.User != "" {
    		dn, err = sys.LDAPConfig.GetValidatedDNForUsername(r.User)
    		if err != nil {
    			iamLogIf(ctx, err)
    			return
    		}
    		if dn == "" {
    			// Still attempt to detach if provided user is a DN.
    			if !isAttach && sys.LDAPConfig.IsLDAPUserDN(r.User) {
    				dn = r.User
    			} else {
    				err = errNoSuchUser
    				return
    			}
    		}
    		isGroup = false
    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)
  8. cmd/xl-storage-format-v2.go

    	}
    	return time.Unix(0, x.versions[0].header.ModTime)
    }
    
    func (x *xlMetaV2) addVersion(ver xlMetaV2Version) error {
    	modTime := ver.getModTime().UnixNano()
    	if !ver.Valid() {
    		return errors.New("attempted to add invalid version")
    	}
    	encoded, err := ver.MarshalMsg(nil)
    	if err != nil {
    		return err
    	}
    
    	// returns error if we have exceeded configured object max versions
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  9. cmd/batch-handlers.go

    	}
    
    	wk, err := workers.New(workerSize)
    	if err != nil {
    		// invalid worker size.
    		return err
    	}
    
    	retryAttempts := ri.RetryAttempts
    	retry := false
    	for attempts := 1; attempts <= retryAttempts; attempts++ {
    		attempts := attempts
    		// one of source/target is s3, skip delete marker and all versions under the same object name.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  10. src/cmd/cgo/gcc.go

    			// type and source locations of constant strings)
    			// like the second arg in the call below:
    			//
    			//     myfunction(42, "foo")
    			//
    			// If a var has no name we won't see attempts to
    			// refer to it via "C.<name>", so skip these vars
    			//
    			// See issue 53000 for more context.
    			if name == "" {
    				break
    			}
    			typOff, _ := e.Val(dwarf.AttrType).(dwarf.Offset)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
Back to top