Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Reymond (0.22 sec)

  1. cmd/bucket-policy-handlers.go

    	// PutBucketPolicy always needs Content-Length.
    	if r.ContentLength <= 0 {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrMissingContentLength), r.URL)
    		return
    	}
    
    	// Error out if Content-Length is beyond allowed size.
    	if r.ContentLength > maxBucketPolicySize {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrPolicyTooLarge), r.URL)
    		return
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  2. cmd/storage-errors.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"errors"
    )
    
    // errMaxVersionsExceeded return error beyond 10000 (default) versions per object
    var errMaxVersionsExceeded = StorageErr("maximum versions exceeded, please delete few versions to proceed")
    
    // errUnexpected - unexpected error, requires manual intervention.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  3. cmd/admin-bucket-handlers.go

    				continue
    			}
    
    			bucketMap[bucket].NotificationConfigXML = configData
    			rpt.SetStatus(bucket, fileName, nil)
    		case bucketPolicyConfig:
    			// Error out if Content-Length is beyond allowed size.
    			if sz > maxBucketPolicySize {
    				rpt.SetStatus(bucket, fileName, fmt.Errorf(ErrPolicyTooLarge.String()))
    				continue
    			}
    
    			bucketPolicyBytes, err := io.ReadAll(io.LimitReader(reader, sz))
    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)
  4. cmd/common-main.go

    // Cancellation/timeouts are removed, so parent cancellations/timeout will
    // not propagate from parent.
    // Context values are preserved.
    // This can be used for goroutines that live beyond the parent context.
    func bgContext(parent context.Context) context.Context {
    	return bgCtx{parent: parent}
    }
    
    type bgCtx struct {
    	parent context.Context
    }
    
    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)
  5. cmd/xl-storage.go

    			s.deleteFile(dstVolumeDir, legacyDataPath, true, false)
    		}
    		return res, err
    	}
    
    	if len(xlMeta.versions) <= 10 {
    		// any number of versions beyond this is excessive
    		// avoid healing such objects in this manner, let
    		// it heal during the regular scanner cycle.
    		dst := []byte{}
    		for _, ver := range xlMeta.versions {
    			dst = slices.Grow(dst, 16)
    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/erasure-metadata.go

    		if partOffset < part.Size {
    			return partIndex, partOffset, nil
    		}
    		// Continue to towards the next part.
    		partOffset -= part.Size
    	}
    	internalLogIf(ctx, InvalidRange{})
    	// Offset beyond the size of the object return InvalidRange.
    	return 0, 0, InvalidRange{}
    }
    
    func findFileInfoInQuorum(ctx context.Context, metaArr []FileInfo, modTime time.Time, etag string, quorum int) (FileInfo, error) {
    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)
  7. cmd/bucket-replication.go

    		case <-mTimer.C:
    			saveMRFToDisk()
    			mTimer.Reset(mrfSaveInterval)
    		case <-p.ctx.Done():
    			p.mrfStopCh <- struct{}{}
    			xioutil.SafeClose(p.mrfSaveCh)
    			// We try to save if possible, but we don't care beyond that.
    			saveMRFToDisk()
    			return
    		case e, ok := <-p.mrfSaveCh:
    			if !ok {
    				return
    			}
    			entries[e.versionID] = e
    
    			if len(entries) >= mrfMaxEntries {
    				saveMRFToDisk()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  8. cmd/metacache-set.go

    // findFirstPart will find the part with 0 being the first that corresponds to the marker in the options.
    // io.ErrUnexpectedEOF is returned if the place containing the marker hasn't been scanned yet.
    // io.EOF indicates the marker is beyond the end of the stream and does not exist.
    func (o *listPathOptions) findFirstPart(fi FileInfo) (int, error) {
    	search := o.Marker
    	if search == "" {
    		search = o.Prefix
    	}
    	if search == "" {
    		return 0, nil
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:59:08 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  9. cmd/admin-handlers.go

    		newConcurrent := concurrent + (concurrent+1)/2
    		autoTunedCapacityNeeded := uint64(newConcurrent * size)
    		if capacity < autoTunedCapacityNeeded {
    			// Turn-off auto-tuning if next possible concurrency would reach beyond disk capacity.
    			return true, false, ""
    		}
    	}
    
    	return true, autotune, ""
    }
    
    // DriveSpeedtestHandler - reports throughput of drives available in the cluster
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  10. cmd/bucket-handlers.go

    	// check if client is attempting to create more buckets, complain about it.
    	if currBuckets := globalBucketMetadataSys.Count(); currBuckets+1 > maxBuckets {
    		internalLogIf(ctx, fmt.Errorf("Please avoid creating more buckets %d beyond recommended %d", currBuckets+1, maxBuckets), logger.WarningKind)
    	}
    
    	opts := MakeBucketOptions{
    		LockEnabled: objectLockEnabled,
    		ForceCreate: forceCreate,
    	}
    
    	if globalDNSConfig != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
Back to top