Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. cmd/batch-handlers.go

    				skipReplicate = obj.IsDeleteMarker && s3Type
    			}
    			if skipReplicate {
    				continue
    			}
    
    			wk.Take()
    			go func() {
    				defer wk.Give()
    				stopFn := globalBatchJobsMetrics.trace(batchJobMetricReplication, job.ID, attempts)
    				success := true
    				if err := r.ReplicateFromSource(ctx, api, core, oi, retry); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  10. cmd/metacache-set.go

    // listPathRaw will list a path on the provided drives.
    // See listPathRawOptions on how results are delivered.
    // Directories are always returned.
    // Cache will be bypassed.
    // Context cancellation will be respected but may take a while to effectuate.
    func listPathRaw(ctx context.Context, opts listPathRawOptions) (err error) {
    	disks := opts.disks
    	if len(disks) == 0 {
    		return fmt.Errorf("listPathRaw: 0 drives provided")
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:59:08 GMT 2024
    - 30.4K bytes
    - Viewed (0)
Back to top