Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for topo (0.14 sec)

  1. cmd/data-scanner_test.go

    	versioned := vcfg.Status == "Enabled"
    	wants := make([]ObjectInfo, 2)
    	for i, fi := range fivs[:2] {
    		wants[i] = fi.ToObjectInfo(bucket, obj, versioned)
    	}
    	gots, err := item.applyNewerNoncurrentVersionLimit(context.TODO(), objAPI, fivs, es)
    	if err != nil {
    		t.Fatalf("Failed with err: %v", err)
    	}
    	if len(gots) != len(wants) {
    		t.Fatalf("Expected %d objects but got %d", len(wants), len(gots))
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  2. cmd/object-api-errors.go

    }
    
    // StorageFull storage ran out of space.
    type StorageFull struct{}
    
    func (e StorageFull) Error() string {
    	return "Storage reached its minimum free drive threshold."
    }
    
    // SlowDown  too many file descriptors open or backend busy .
    type SlowDown struct{}
    
    func (e SlowDown) Error() string {
    	return "Please reduce your request rate"
    }
    
    // RQErrType reason for read quorum error.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  3. cmd/api-errors.go

    		HTTPStatusCode: http.StatusPreconditionFailed,
    	},
    	ErrRequestTimeTooSkewed: {
    		Code:           "RequestTimeTooSkewed",
    		Description:    "The difference between the request time and the server's time is too large.",
    		HTTPStatusCode: http.StatusForbidden,
    	},
    	ErrSignatureDoesNotMatch: {
    		Code:           "SignatureDoesNotMatch",
    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)
  4. docs/debugging/xl-meta/main.go

    			if ei.V2Obj.Size != size {
    				return fmt.Errorf("size mismatch. Meta size: %d", ei.V2Obj.Size)
    			}
    		} else {
    			return err
    		}
    		if len(b) < 32 {
    			return fmt.Errorf("file %s too short", file)
    		}
    		// Trim hash. Fine for inline data, since only one block.
    		b = b[32:]
    
    		set := parityData[data]
    		if set == nil {
    			set = make(map[int][]byte)
    		}
    		set[idx] = b
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:56:22 GMT 2024
    - 20.2K bytes
    - Viewed (1)
  5. cmd/xl-storage-disk-id-check.go

    	}
    	xl.SetDiskID(emptyDiskID)
    
    	xl.totalWrites.Store(xl.storage.getWriteAttribute())
    	xl.totalDeletes.Store(xl.storage.getDeleteAttribute())
    	xl.diskCtx, xl.diskCancel = context.WithCancel(context.TODO())
    	for i := range xl.apiLatencies[:] {
    		xl.apiLatencies[i] = &lockedLastMinuteLatency{}
    	}
    	if xl.healthCheck {
    		go xl.monitorDiskWritable(xl.diskCtx)
    	}
    	return &xl
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  6. cmd/iam.go

    	// such a case, is a security issue. Ideally, we should not allow such
    	// behavior, but for compatibility with the Console, we currently allow it.
    	//
    	// TODO:
    	//
    	// 1. fix console behavior and allow this inheritance for service accounts
    	// created before a certain (TBD) future date.
    	//
    	// 2. do not allow empty statement policies for service accounts.
    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)
  7. cmd/erasure-server-pool.go

    	return z.s3Peer.HealBucket(ctx, bucket, opts)
    }
    
    // Walk a bucket, optionally prefix recursively, until we have returned
    // all the contents of the provided bucket+prefix.
    // TODO: Note that most errors will result in a truncated listing.
    func (z *erasureServerPools) Walk(ctx context.Context, bucket, prefix string, results chan<- ObjectInfo, opts WalkOptions) error {
    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)
  8. cmd/iam-store.go

    	if !ok {
    		if err := store.loadMappedPolicyWithRetry(context.TODO(), name, regUser, false, c.iamUserPolicyMap, 3); err != nil && !errors.Is(err, errNoSuchPolicy) {
    			return nil, time.Time{}, err
    		}
    
    		mp, ok = c.iamUserPolicyMap.Load(name)
    		if !ok {
    			// Since user "name" could be a parent user of an STS account, we look up
    			// mappings for those too.
    			mp, ok = c.iamSTSPolicyMap.Load(name)
    			if !ok {
    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)
  9. cmd/format-erasure.go

    	defer disk.Delete(context.TODO(), minioMetaBucket, tmpFormat, DeleteOptions{
    		Recursive: false,
    		Immediate: false,
    	})
    
    	// write to unique file.
    	if err = disk.WriteAll(context.TODO(), minioMetaBucket, tmpFormat, formatData); err != nil {
    		return err
    	}
    
    	// Rename file `uuid.json` --> `format.json`.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  10. cmd/xl-storage.go

    		dataUsageBucket,           // creates .minio.sys/buckets
    		minioConfigBucket,         // creates .minio.sys/config
    	}
    	// Attempt to create MinIO internal buckets.
    	return disk.MakeVolBulk(context.TODO(), volumes...)
    }
    
    // Initialize a new storage disk.
    func newXLStorage(ep Endpoint, cleanUp bool) (s *xlStorage, err error) {
    	immediatePurgeQueue := 100000
    	if globalIsTesting || globalIsCICD {
    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)
Back to top