Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 158 for called (0.16 sec)

  1. cmd/object-api-multipart_test.go

    		if err != nil {
    			// Failed to create NewMultipartUpload, abort.
    			t.Fatalf("%s : %s", instanceType, err.Error())
    		}
    		// uploadIds [4-9].
    		uploadIDs = append(uploadIDs, res.UploadID)
    	}
    	// Create multipart parts.
    	// Need parts to be uploaded before MultipartLists can be called and tested.
    	createPartCases := []struct {
    		bucketName      string
    		objName         string
    		uploadID        string
    		PartID          int
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  2. cmd/object-handlers.go

    	objectEncryption = objectEncryption || crypto.IsSourceEncrypted(srcInfo.UserDefined)
    
    	var compressMetadata map[string]string
    	// No need to compress for remote etcd calls
    	// Pass the decompressed stream to such calls.
    	isDstCompressed := isCompressible(r.Header, dstObject) &&
    		length > minCompressibleSize &&
    		!isRemoteCopyRequired(ctx, srcBucket, dstBucket, objectAPI) && !cpSrcDstSame && !objectEncryption
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  3. cmd/metrics-resource.go

    }
    
    // Describe sends the super-set of all possible descriptors of metrics
    func (c *minioResourceCollector) Describe(ch chan<- *prometheus.Desc) {
    	ch <- c.desc
    }
    
    // Collect is called by the Prometheus registry when collecting metrics.
    func (c *minioResourceCollector) Collect(out chan<- prometheus.Metric) {
    	var wg sync.WaitGroup
    	publish := func(in <-chan MetricV2) {
    		defer wg.Done()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  4. cmd/admin-heal-ops.go

    		StartTime:     h.startTime,
    	})
    	if err != nil {
    		bugLogIf(h.ctx, err)
    		return nil, toAdminAPIErr(h.ctx, err), ""
    	}
    	return b, noError, ""
    }
    
    // PopHealStatusJSON - Called by heal-status API. It fetches the heal
    // status results from global state and returns its JSON
    // representation. The clientToken helps ensure there aren't
    // conflicting clients fetching status.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  5. cmd/site-replication.go

    				v2.DeploymentID = v.DeploymentID
    			}
    			v2.ReplicatedCount += v.ReplicatedCount
    			v2.ReplicatedSize += v.ReplicatedSize
    			v2.Failed = v2.Failed.Add(v.Failed)
    			for k, v := range v.Failed.ErrCounts {
    				v2.Failed.ErrCounts[k] += v
    			}
    			if v2.XferStats == nil {
    				v2.XferStats = make(map[replication.MetricName]replication.XferStats)
    			}
    			for rm, x := range v.XferStats {
    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)
  6. cmd/iam-store.go

    // Assumes that c.Lock is held by caller.
    func (c *iamCache) buildUserGroupMemberships() {
    	for group, gi := range c.iamGroupsMap {
    		c.updateGroupMembershipsMap(group, &gi)
    	}
    }
    
    // updateGroupMembershipsMap - updates the memberships map for a
    // group. IMPORTANT: Assumes c.Lock() is held by caller.
    func (c *iamCache) updateGroupMembershipsMap(group string, gi *GroupInfo) {
    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/erasure-server-pool-decom.go

    		if err != nil {
    			decomLogIf(ctx, err)
    			failed = true
    		}
    	}
    
    	if failed {
    		// Decommission failed indicate as such.
    		decomLogIf(GlobalContext, z.DecommissionFailed(dctx, idx))
    	} else {
    		// Complete the decommission..
    		decomLogIf(GlobalContext, z.CompleteDecommission(dctx, idx))
    	}
    }
    
    func (z *erasureServerPools) IsSuspended(idx int) bool {
    	z.poolMetaMutex.RLock()
    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)
  8. cmd/xl-storage.go

    			// that for fresh PutObject() call dstDataPath can never exist.
    			// if its an overwrite then the caller deletes the DataDir
    			// in a separate RPC call.
    			s.moveToTrash(dstDataPath, true, false)
    
    			// If we are healing we should purge any legacyDataPath content,
    			// that was previously preserved during PutObject() call
    			// on a versioned bucket.
    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)
  9. cmd/local-locker.go

    	}
    	return true
    }
    
    func (l *localLocker) Lock(ctx context.Context, args dsync.LockArgs) (reply bool, err error) {
    	if len(args.Resources) > maxDeleteList {
    		return false, fmt.Errorf("internal error: localLocker.Lock called with more than %d resources", maxDeleteList)
    	}
    
    	l.mutex.Lock()
    	defer l.mutex.Unlock()
    
    	if !l.canTakeLock(args.Resources...) {
    		// Not all locks can be taken on resources,
    		// reject it completely.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 19 22:54:46 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  10. internal/rest/client.go

    	if resp.StatusCode != http.StatusOK {
    		// If server returns 412 pre-condition failed, it would
    		// mean that authentication succeeded, but another
    		// side-channel check has failed, we shall take
    		// the client offline in such situations.
    		// generally all implementations should simply return
    		// 403, but in situations where there is a dependency
    		// with the caller to take the client offline purpose
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 14.4K bytes
    - Viewed (0)
Back to top