Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 51 for moving (0.21 sec)

  1. cmd/bucket-targets.go

    			}
    			sys.updateBandwidthLimit(bucket, tgt.Arn, tgt.BandwidthLimit)
    		}
    
    		if !tgts.Empty() {
    			sys.targetsMap[bucket] = tgts.Targets
    		}
    	}
    }
    
    // create minio-go clients for buckets having remote targets
    func (sys *BucketTargetSys) set(bucket BucketInfo, meta BucketMetadata) {
    	cfg := meta.bucketTargetConfig
    	if cfg == nil || cfg.Empty() {
    		return
    	}
    	sys.Lock()
    	defer sys.Unlock()
    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)
  2. cmd/xl-storage-disk-id-check.go

    	p.diskID.Store(&id)
    }
    
    func (p *xlStorageDiskIDCheck) checkDiskStale() error {
    	if *p.diskID.Load() == emptyDiskID {
    		// For empty disk-id we allow the call as the server might be
    		// coming up and trying to read format.json or create format.json
    		return nil
    	}
    	storedDiskID, err := p.storage.GetDiskID()
    	if err != nil {
    		// return any error generated while reading `format.json`
    		return err
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  3. cmd/sts-handlers_test.go

    			SecretKey: secretKey,
    			Location:  "",
    		},
    	}
    	value, err := assumeRole.Retrieve()
    	if err != nil {
    		c.Fatalf("err calling assumeRole: %v", err)
    	}
    
    	// Check that STS user client has access coming from parent user's
    	// group.
    	minioClient, err := minio.New(s.endpoint, &minio.Options{
    		Creds:     cr.NewStaticV4(value.AccessKeyID, value.SecretAccessKey, value.SessionToken),
    		Secure:    s.secure,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  4. cmd/iam.go

    		// we can safely remove credentials for this parent user
    		// associated with any of the provider configurations.
    		//
    		// If there is no roleARN mapped to the user, the user may be
    		// coming from a policy claim based openid provider.
    		roleArns := puInfo.roleArns.ToSlice()
    		var roleArn string
    		if len(roleArns) == 0 {
    			iamLogIf(GlobalContext,
    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)
  5. cmd/server_test.go

    	response, err = s.client.Do(request)
    	c.Assert(err, nil)
    	// assert the status code of the response.
    	c.Assert(response.StatusCode, http.StatusOK)
    
    	// constructing http request to delete the bucket.
    	// making an attempt to delete an non-empty bucket.
    	// expected to fail.
    	request, err = newTestSignedRequest(http.MethodDelete, getDeleteBucketURL(s.endPoint, bucketName),
    		0, nil, s.accessKey, s.secretKey, s.signer)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  6. cmd/erasure-server-pool-decom.go

    		isDecommissioned := z.poolMeta.isBucketDecommissioned(idx, bucket.String())
    		z.poolMetaMutex.RUnlock()
    		if isDecommissioned {
    			if serverDebugLog {
    				console.Debugln("decommission: already done, moving on", bucket)
    			}
    
    			z.poolMetaMutex.Lock()
    			if z.poolMeta.BucketDone(idx, bucket) {
    				// remove from pendingBuckets and persist.
    				decomLogIf(ctx, z.poolMeta.save(ctx, z.serverPools))
    			}
    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)
  7. cmd/xl-storage.go

    		// It is possible that some drives may not have `xl.meta` file
    		// in such scenarios verify if at least `part.1` files exist
    		// to verify for legacy version.
    		if formatLegacy {
    			// We only need this code if we are moving
    			// from `xl.json` to `xl.meta`, we can avoid
    			// one extra readdir operation here for all
    			// new deployments.
    			entries, err := readDir(currentDataPath)
    			if err != nil && err != errFileNotFound {
    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)
  8. internal/bucket/bandwidth/monitor.go

    	bucketsThrottle    map[BucketOptions]*bucketThrottle
    	bucketsMeasurement map[BucketOptions]*bucketMeasurement // Buckets with objects in flight
    
    	bucketMovingAvgTicker *time.Ticker    // Ticker for calculating moving averages
    	ctx                   context.Context // Context for generate
    	NodeCount             uint64
    }
    
    // NewMonitor returns a monitor with defaults.
    func NewMonitor(ctx context.Context, numNodes uint64) *Monitor {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 19 22:54:46 GMT 2024
    - 6K bytes
    - Viewed (0)
  9. cmd/update-notifier.go

    	msgLine2Fmt := " Update: %s "
    
    	// Calculate length *without* color coding: with ANSI terminal
    	// color characters, the result is incorrect.
    	line1Length := len(fmt.Sprintf(msgLine1Fmt, newerThan))
    	line2Length := len(fmt.Sprintf(msgLine2Fmt, updateString))
    
    	// Populate lines with color coding.
    	line1InColor := fmt.Sprintf(msgLine1Fmt, color.YellowBold(newerThan))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  10. internal/handlers/proxy.go

    		s := strings.Index(fwd, ", ")
    		if s == -1 {
    			s = len(fwd)
    		}
    		addr = fwd[:s]
    	} else if fwd := r.Header.Get(xRealIP); fwd != "" {
    		// X-Real-IP should only contain one IP address (the client making the
    		// request).
    		addr = fwd
    	} else if fwd := r.Header.Get(forwarded); fwd != "" {
    		// match should contain at least two elements if the protocol was
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 22 00:56:55 GMT 2023
    - 5.1K bytes
    - Viewed (0)
Back to top