Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for nothing (0.15 sec)

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

    							NoDecryption: true,
    							NoLock:       true,
    							NoAuditLog:   true,
    						})
    					if isErrObjectNotFound(err) || isErrVersionNotFound(err) {
    						// object deleted by the application, nothing to do here we move on.
    						ignore = true
    						stopFn(nil)
    						break
    					}
    					if err != nil {
    						failure = true
    						rebalanceLogIf(ctx, err)
    						stopFn(err)
    						continue
    					}
    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-object.go

    func (er erasureObjects) restoreTransitionedObject(ctx context.Context, bucket string, object string, opts ObjectOptions) error {
    	setRestoreHeaderFn := func(oi ObjectInfo, rerr error) error {
    		if rerr == nil {
    			return nil // nothing to do; restore object was successful
    		}
    		er.updateRestoreMetadata(ctx, bucket, object, oi, opts)
    		return rerr
    	}
    	var oi ObjectInfo
    	// get the file info on disk for transitioned object
    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)
  3. cmd/iam.go

    	// service account should inherit parent policy.
    	//
    	// However, for a policy like `{"Statement":[]}`, the intention is to not
    	// provide any permissions via the session policy - i.e. the service account
    	// can do nothing (such a JSON could be generated by an external application
    	// as the policy for the service account). Inheriting the parent policy in
    	// such a case, is a security issue. Ideally, we should not allow such
    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)
  4. cmd/erasure-server-pool.go

    // unless all have that, in which case all are preserved.
    func (p serverPoolsAvailableSpace) FilterMaxUsed(max int) {
    	// We aren't modifying p, only entries in it, so we don't need to receive a pointer.
    	if len(p) <= 1 {
    		// Nothing to do.
    		return
    	}
    	var ok bool
    	for _, z := range p {
    		if z.Available > 0 && z.MaxUsedPct < max {
    			ok = true
    			break
    		}
    	}
    	if !ok {
    		// All above limit.
    		// Do not modify
    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)
  5. cmd/admin-bucket-handlers.go

    	for {
    		select {
    		case entry, ok := <-diffCh:
    			if !ok {
    				return
    			}
    			if err := enc.Encode(entry); err != nil {
    				return
    			}
    			if len(diffCh) == 0 {
    				// Flush if nothing is queued
    				w.(http.Flusher).Flush()
    			}
    		case <-keepAliveTicker.C:
    			if len(diffCh) > 0 {
    				continue
    			}
    			if _, err := w.Write([]byte(" ")); err != nil {
    				return
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  6. cmd/object-api-listobjects_test.go

    					}
    					for j := 0; j < len(testCase.resultL.Objects); j++ {
    						if j >= len(resultL.Objects) {
    							t.Errorf("Test %d: %s: Expected object name to be \"%s\", but not nothing instead", i+1, instanceType, testCase.resultL.Objects[j].Name)
    							continue
    						}
    						if testCase.resultL.Objects[j].Name != resultL.Objects[j].Name {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  7. cmd/iam-store.go

    	if err := store.loadIAMConfig(ctx, &iamFmt, path); err != nil && !errors.Is(err, errConfigNotFound) {
    		// if IAM format
    		return err
    	}
    
    	if iamFmt.Version >= iamFormatVersion1 {
    		// Nothing to do.
    		return nil
    	}
    
    	bootstrapTraceMsg("Write IAM format file")
    	// Save iam format to version 1.
    	return store.saveIAMConfig(ctx, newIAMFormatVersion1(), path)
    }
    
    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)
  8. cmd/erasure-server-pool-decom.go

    							NoDecryption: true,
    							NoLock:       true,
    							NoAuditLog:   true,
    						})
    					if isErrObjectNotFound(err) || isErrVersionNotFound(err) {
    						// object deleted by the application, nothing to do here we move on.
    						ignore = true
    						stopFn(nil)
    						break
    					}
    					if err != nil && !ignore {
    						// if usage-cache.bin is not readable log and ignore it.
    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)
  9. cmd/xl-storage.go

    		if dataDir != "" && (xlMeta.SharedDataDirCountStr(reqVID, dataDir) == 0) {
    			// Purge the destination path as we are not preserving anything
    			// versioned object was not requested.
    			res.OldDataDir = dataDir
    			if healing {
    				// if old destination path is same as new destination path
    				// there is nothing to purge, this is true in case of healing
    				// avoid setting OldDataDir at that point.
    				res.OldDataDir = ""
    			} else {
    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)
  10. cmd/erasure-metadata.go

    			continue
    		}
    
    		if occ > maxOcc {
    			maxOcc = occ
    			cparity = parity
    		}
    	}
    
    	if maxOcc == 0 {
    		// Did not found anything useful
    		return -1
    	}
    	return cparity
    }
    
    func listObjectParities(partsMetadata []FileInfo, errs []error) (parities []int) {
    	parities = make([]int, len(partsMetadata))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 19.2K bytes
    - Viewed (1)
Back to top