Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Erling (2.58 sec)

  1. internal/s3select/sql/value.go

    	return
    }
    
    // When numeric types are compared, type promotions could happen. If
    // values do not have types (e.g. when reading from CSV), for
    // comparison operations, automatic type conversion happens by trying
    // to check if the value is a number (first an integer, then a float),
    // and falling back to string.
    func (v *Value) compareOp(op string, a *Value) (res bool, err error) {
    	if !isValidComparisonOperator(op) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 20.2K 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. internal/rest/client.go

    	// Calling this returns true or false if the target
    	// is online or offline.
    	HealthCheckFn func() bool
    
    	// HealthCheckRetryUnit will be used to calculate the exponential
    	// backoff when trying to reconnect to an offline node
    	HealthCheckReconnectUnit time.Duration
    
    	// HealthCheckTimeout determines timeout for each call.
    	HealthCheckTimeout time.Duration
    
    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)
  4. cmd/storage-rest-server.go

    		s.writeErrorResponse(w, err)
    		return false
    	}
    
    	diskID := r.Form.Get(storageRESTDiskID)
    	if diskID == "" {
    		// Request sent empty disk-id, we allow the request
    		// as the peer might be coming up and trying to read format.json
    		// or create format.json
    		return true
    	}
    
    	storedDiskID, err := s.getStorage().GetDiskID()
    	if err != nil {
    		s.writeErrorResponse(w, err)
    		return false
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  5. internal/dsync/drwmutex.go

    		lockFound := false
    		for _, uid := range dm.writeLocks {
    			if isLocked(uid) {
    				lockFound = true
    				break
    			}
    		}
    		if !lockFound {
    			panic("Trying to Unlock() while no Lock() is active")
    		}
    
    		// Copy write locks to stack array
    		copy(locks, dm.writeLocks)
    	}
    
    	// Tolerance is not set, defaults to half of the locker clients.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  6. cmd/prepare-storage.go

    	// is invalid. This function returns success for the
    	// most part unless one of the formats is not consistent
    	// with expected Erasure format. For example if a user is
    	// trying to pool FS backend into an Erasure set.
    	if err = checkFormatErasureValues(formatConfigs, storageDisks, setDriveCount); err != nil {
    		return nil, nil, err
    	}
    
    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/data-scanner.go

    		// This may be because of 2 reasons:
    		//
    		// 1) The folder/object was deleted.
    		// 2) We come from another disk and this disk missed the write.
    		//
    		// We therefore perform a heal check.
    		// If that doesn't bring it back we remove the folder and assume it was deleted.
    		// This means that the next run will not look for it.
    		// How to resolve results.
    		resolver := metadataResolutionParams{
    			dirQuorum: f.disksQuorum,
    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