Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 46 for Mayers (0.22 sec)

  1. cmd/erasure.go

    var bucketMetadataOpIgnoredErrs = append(bucketOpIgnoredErrs, errVolumeNotFound)
    
    // OfflineDisk represents an unavailable disk.
    var OfflineDisk StorageAPI // zero value is nil
    
    // erasureObjects - Implements ER object layer.
    type erasureObjects struct {
    	setDriveCount      int
    	defaultParityCount int
    
    	setIndex  int
    	poolIndex int
    
    	// getDisks returns list of storageAPIs.
    	getDisks func() []StorageAPI
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 16K bytes
    - Viewed (1)
  2. cmd/metacache.go

    		bugLogIf(ctx, fmt.Errorf("metacache.delete: bucket (%s) or id (%s) empty", m.bucket, m.id))
    		return
    	}
    	objAPI := newObjectLayerFn()
    	if objAPI == nil {
    		internalLogIf(ctx, errors.New("metacache.delete: no object layer"))
    		return
    	}
    	ez, ok := objAPI.(deleteAllStorager)
    	if !ok {
    		bugLogIf(ctx, errors.New("metacache.delete: expected objAPI to be 'deleteAllStorager'"))
    		return
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5K bytes
    - Viewed (0)
  3. cmd/bitrot-streaming.go

    	hashBytes  []byte
    }
    
    func (b *streamingBitrotReader) Close() error {
    	if b.rc == nil {
    		return nil
    	}
    	if closer, ok := b.rc.(io.Closer); ok {
    		// drain the body for connection reuse at network layer.
    		xhttp.DrainBody(struct {
    			io.Reader
    			io.Closer
    		}{
    			Reader: b.rc,
    			Closer: closeWrapper(func() error { return nil }),
    		})
    		return closer.Close()
    	}
    	return nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 02:11:45 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  4. cmd/warm-backend-gcs.go

    	)
    	if err != nil {
    		return nil, err
    	}
    	return &warmBackendGCS{client, conf.Bucket, conf.Prefix, conf.StorageClass}, nil
    }
    
    // Convert GCS errors to minio object layer errors.
    func gcsToObjectError(err error, params ...string) error {
    	if err == nil {
    		return nil
    	}
    
    	bucket := ""
    	object := ""
    	uploadID := ""
    	if len(params) >= 1 {
    		bucket = params[0]
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  5. cmd/admin-handlers_test.go

    func (atb *adminErasureTestBed) TearDown() {
    	atb.done()
    	removeRoots(atb.erasureDirs)
    	resetTestGlobals()
    }
    
    // initTestObjLayer - Helper function to initialize an Erasure-based object
    // layer and set globalObjectAPI.
    func initTestErasureObjLayer(ctx context.Context) (ObjectLayer, []string, error) {
    	erasureDirs, err := getRandomDisks(16)
    	if err != nil {
    		return nil, nil, err
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  6. cmd/prepare-storage.go

    		return nil, nil, errInvalidArgument
    	}
    
    	globalDeploymentIDPtr.Store(&format.ID)
    	return storageDisks, format, nil
    }
    
    // Format disks before initialization of object layer.
    func waitForFormatErasure(firstDisk bool, endpoints Endpoints, poolCount, setCount, setDriveCount int, deploymentID string) ([]StorageAPI, *formatErasureV3, error) {
    	if len(endpoints) == 0 || setCount == 0 || setDriveCount == 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  7. cmd/admin-handlers-idp-ldap.go

    	}
    }
    
    // ListAccessKeysLDAP - GET /minio/admin/v3/idp/ldap/list-access-keys
    func (a adminAPIHandlers) ListAccessKeysLDAP(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	// Get current object layer instance.
    	objectAPI := newObjectLayerFn()
    	if objectAPI == nil || globalNotificationSys == nil {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrServerNotInitialized), r.URL)
    		return
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  8. cmd/server-main.go

    		errors.Is(err, errServerNotInitialized)
    
    	// Initializing sub-systems needs a retry mechanism for
    	// the following reasons:
    	//  - Read quorum is lost just after the initialization
    	//    of the object layer.
    	//  - Write quorum not met when upgrading configuration
    	//    version is needed, migration is needed etc.
    	rquorum := InsufficientReadQuorum{}
    	wquorum := InsufficientWriteQuorum{}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (1)
  9. cmd/notification.go

    		return
    	}
    
    	if pools, ok := objAPI.(*erasureServerPools); ok {
    		pools.StopRebalance()
    	}
    }
    
    // LoadRebalanceMeta notifies all peers to load rebalance.bin from object layer.
    // Note: Only peers participating in rebalance operation, namely the first node
    // in each pool will load rebalance.bin.
    func (sys *NotificationSys) LoadRebalanceMeta(ctx context.Context, startRebalance bool) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  10. cmd/data-scanner.go

    	return objInfos, nil
    }
    
    // applyActions will apply lifecycle checks on to a scanned item.
    // The resulting size on disk will always be returned.
    // The metadata will be compared to consensus on the object layer before any changes are applied.
    // If no metadata is supplied, -1 is returned if no action is taken.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 47.6K bytes
    - Viewed (0)
Back to top