Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for operations (0.48 sec)

  1. cmd/erasure-object.go

    	"github.com/minio/pkg/v2/mimedb"
    	"github.com/minio/pkg/v2/sync/errgroup"
    )
    
    // list all errors which can be ignored in object operations.
    var objectOpIgnoredErrs = append(baseIgnoredErrs, errDiskAccessDenied, errUnformattedDisk, errDiskOngoingReq)
    
    // Object Operations
    
    func countOnlineDisks(onlineDisks []StorageAPI) (online int) {
    	for _, onlineDisk := range onlineDisks {
    		if onlineDisk != nil && onlineDisk.IsOnline() {
    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)
  2. cmd/erasure-server-pool.go

    	z.poolMeta = newPoolMeta(z, poolMeta{})
    	z.poolMeta.dontSave = true
    
    	bootstrapTrace("newSharedLock", func() {
    		globalLeaderLock = newSharedLock(GlobalContext, z, "leader.lock")
    	})
    
    	// Enable background operations on
    	//
    	// - Disk auto healing
    	// - MRF (most recently failed) healing
    	// - Background expiration routine for lifecycle policies
    	bootstrapTrace("initAutoHeal", func() {
    		initAutoHeal(GlobalContext, z)
    	})
    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)
  3. cmd/iam.go

    		}
    		if len(policyBuf) > 2048 {
    			return auth.Credentials{}, time.Time{}, errSessionPolicyTooLarge
    		}
    	}
    
    	// found newly requested service account, to be same as
    	// parentUser, reject such operations.
    	if parentUser == opts.accessKey {
    		return auth.Credentials{}, time.Time{}, errIAMActionNotAllowed
    	}
    	if siteReplicatorSvcAcc == opts.accessKey && !opts.allowSiteReplicatorAccount {
    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/api-errors.go

    		Code:           "XMinioInvalidIAMCredentials",
    		Description:    "The administrator key is not eligible for this operation",
    		HTTPStatusCode: http.StatusForbidden,
    	},
    	ErrAccountNotEligible: {
    		Code:           "XMinioInvalidIAMCredentials",
    		Description:    "The account key is not eligible for this operation",
    		HTTPStatusCode: http.StatusForbidden,
    	},
    	ErrAdminServiceAccountNotFound: {
    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)
  5. cmd/test-utils_test.go

    	// All object storage operations are registered as HTTP handlers on `objectAPIHandlers`.
    	// When the handlers get a HTTP request they use the underlying ObjectLayer to perform operations.
    	globalObjLayerMutex.Lock()
    	globalObjectAPI = objLayer
    	globalObjLayerMutex.Unlock()
    
    	// When cache is enabled, Put and Get operations are passed
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  6. cmd/object-api-listobjects_test.go

    }
    
    func testListObjectsVersionedFolders(obj ObjectLayer, instanceType string, t1 TestErrHandler) {
    	t, _ := t1.(*testing.T)
    	testBuckets := []string{
    		// This bucket is used for testing ListObject operations.
    		"test-bucket-folders",
    		// This bucket has file delete marker.
    		"test-bucket-files",
    	}
    	for _, bucket := range testBuckets {
    		err := obj.MakeBucket(context.Background(), bucket, MakeBucketOptions{
    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/xl-storage.go

    	// For hardrives it is possible to set this to a lower value to avoid any
    	// spike in latency. But currently we are simply keeping it optimal for SSDs.
    
    	// bigFileThreshold is the point where we add readahead to put operations.
    	bigFileThreshold = 128 * humanize.MiByte
    
    	// XL metadata file carries per object metadata.
    	xlStorageFormatFile = "xl.meta"
    
    	// XL metadata file backup file carries previous per object metadata.
    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. cmd/object-api-multipart_test.go

    				{
    					Object:   objectNames[0],
    					UploadID: uploadIDs[2],
    				},
    				{
    					Object:   objectNames[0],
    					UploadID: uploadIDs[3],
    				},
    			},
    		},
    
    		// Operations on bucket 2.
    		// listMultipartResults - 26.
    		// checking listing everything.
    		{
    			MaxUploads:  100,
    			IsTruncated: false,
    
    			Uploads: []MultipartInfo{
    				{
    					Object:   objectNames[0],
    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)
  9. cmd/iam-store.go

    		Status:    gi.Status,
    		Members:   gi.Members,
    		Policy:    policy,
    		UpdatedAt: gi.UpdatedAt,
    	}, nil
    }
    
    // ListGroups - lists groups. Since this is not going to be a frequent
    // operation, we fetch this info from storage, and refresh the cache as well.
    func (store *IAMStoreSys) ListGroups(ctx context.Context) (res []string, err error) {
    	cache := store.lock()
    	defer store.unlock()
    
    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)
  10. cmd/peer-rest-server.go

    	info := madmin.GetPartitions(context.Background(), globalLocalNodeName)
    	return madminPartitions.NewJSONWith(&info), nil
    }
    
    // GetOSInfoHandler - returns operating system's information.
    func (s *peerRESTServer) GetOSInfoHandler(_ *grid.MSS) (*grid.JSON[madmin.OSInfo], *grid.RemoteErr) {
    	info := madmin.GetOSInfo(context.Background(), globalLocalNodeName)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
Back to top