Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for Mitake (0.22 sec)

  1. cmd/erasure-server-pool-rebalance.go

    				if err != nil {
    					rebalanceLogIf(ctx, err)
    				}
    			}
    		}
    
    		wk.Take()
    		go func(setIdx int) {
    			defer wk.Give()
    			err := set.listObjectsToRebalance(ctx, bucket,
    				func(entry metaCacheEntry) {
    					wk.Take()
    					go rebalanceEntry(entry)
    				},
    			)
    			if err == nil || errors.Is(err, context.Canceled) {
    				return
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  2. cmd/xl-storage-disk-id-check.go

    	if err != nil {
    		// return any error generated while reading `format.json`
    		return err
    	}
    	if err == nil && *p.diskID.Load() == storedDiskID {
    		return nil
    	}
    	// not the same disk we remember, take it offline.
    	return errDiskNotFound
    }
    
    func (p *xlStorageDiskIDCheck) DiskInfo(ctx context.Context, opts DiskInfoOptions) (info DiskInfo, err error) {
    	if contextCanceled(ctx) {
    		return DiskInfo{}, ctx.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. cmd/object-handlers.go

    		return
    	}
    
    	if r.ContentLength <= 0 {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrEmptyRequestBody), r.URL)
    		return
    	}
    
    	// Take read lock on object, here so subsequent lower-level
    	// calls do not need to.
    	lock := objectAPI.NewNSLock(bucket, object)
    	lkctx, err := lock.GetRLock(ctx, globalOperationTimeout)
    	if err != nil {
    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)
  4. internal/rest/client.go

    		// 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
    		// fully it should make sure to respond with '412'
    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)
  5. internal/logger/logrotate.go

    	// If the directory does not exist, it will be created.
    	Directory string
    
    	// MaximumFileSize defines the maximum size of each log file in bytes.
    	MaximumFileSize int64
    
    	// FileNameFunc specifies the name a new file will take.
    	// FileNameFunc must ensure collisions in filenames do not occur.
    	// Do not rely on timestamps to be unique, high throughput writes
    	// may fall on the same timestamp.
    	// Eg.
    	// 	2020-03-28_15-00-945-<random-hash>.log
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 11:38:40 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  6. cmd/tier.go

    }
    
    // isTierNameInUse returns tier type and true if there exists a remote tier by
    // name tierName, otherwise returns madmin.Unsupported and false. N B this
    // function is meant for internal use, where the caller is expected to take
    // appropriate locks.
    func (config *TierConfigMgr) isTierNameInUse(tierName string) (madmin.TierType, bool) {
    	if t, ok := config.Tiers[tierName]; ok {
    		return t.Type, true
    	}
    	return madmin.Unsupported, false
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  7. cmd/erasure-server-pool-decom.go

    			z.poolMetaMutex.Unlock()
    		}
    
    		wk.Take()
    		go func(setIdx int) {
    			defer wk.Give()
    			// We will perpetually retry listing if it fails, since we cannot
    			// possibly give up in this matter
    			for {
    				if contextCanceled(ctx) {
    					break
    				}
    
    				err := set.listObjectsToDecommission(ctx, bi,
    					func(entry metaCacheEntry) {
    						wk.Take()
    						go decommissionEntry(entry)
    					},
    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/iam-store.go

    		if !groups.Contains(group) {
    			continue
    		}
    		groups.Remove(group)
    		c.iamUserGroupMemberships[member] = groups
    	}
    }
    
    // policyDBGet - lower-level helper; does not take locks.
    //
    // If a group is passed, it returns policies associated with the group.
    //
    // If a user is passed, it returns policies of the user along with any groups
    // that the server knows the user is a member of.
    //
    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. docs/distributed/CONFIG.md

    - Ellipses notation (e.g. `{1...10}`) or bracket notations are fully allowed (e.g. `{a,c,f}`) to have multiple entries in one line.
    
    > NOTE: MinIO environmental variables still take precedence over the `config.yaml` file, however `config.yaml` is preferred over MinIO internal config KV settings via `mc admin config set alias/ <sub-system>`.
    
    ### TODO
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  10. cmd/erasure-metadata.go

    		if errs[index] != nil {
    			parities[index] = -1
    			continue
    		}
    		if !metadata.IsValid() {
    			parities[index] = -1
    			continue
    		}
    		// Delete marker or zero byte objects take highest parity.
    		if metadata.Deleted || metadata.Size == 0 {
    			parities[index] = len(partsMetadata) / 2
    		} else {
    			parities[index] = metadata.Erasure.ParityBlocks
    		}
    	}
    	return
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 19.2K bytes
    - Viewed (1)
Back to top