Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 87 for SELECT (3.25 sec)

  1. cmd/mrf.go

    	if m == nil {
    		return
    	}
    
    	select {
    	case m.opCh <- op:
    	default:
    	}
    }
    
    var healSleeper = newDynamicSleeper(5, time.Second, false)
    
    // healRoutine listens to new disks reconnection events and
    // issues healing requests for queued objects belonging to the
    // corresponding erasure set
    func (m *mrfState) healRoutine(z *erasureServerPools) {
    	for {
    		select {
    		case <-GlobalContext.Done():
    			return
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  2. buildscripts/minio-iam-ldap-upgrade-import-test.sh

    	groups=$(echo "$output" | jq -r '.result.policyMappings[] | select(.policy == "readwrite") | .groups[]')
    	if [ "$groups" != "cn=project.c,ou=groups,ou=swengg,dc=min,dc=io" ]; then
    		echo "Failed to verify groups: $groups"
    		exit 1
    	fi
    
    	users=$(echo "$output" | jq -r '.result.policyMappings[] | select(.policy == "readwrite") | .users[]')
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:49:53 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  3. cmd/listen-notification-handlers.go

    	go func() {
    		buf := bytes.NewBuffer(grid.GetByteBuffer()[:0])
    		enc := json.NewEncoder(buf)
    		tmpEvt := struct{ Records []event.Event }{[]event.Event{{}}}
    		for {
    			select {
    			case ev := <-localCh:
    				buf.Reset()
    				tmpEvt.Records[0] = ev
    				if err := enc.Encode(tmpEvt); err != nil {
    					bugLogIf(ctx, err, "event: Encode failed")
    					continue
    				}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6K bytes
    - Viewed (0)
  4. docs/debugging/s3-check-md5/main.go

    	flag.StringVar(&secretKey, "secret-key", "zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG", "S3 Secret Key")
    	flag.StringVar(&bucket, "bucket", "", "Select a specific bucket")
    	flag.StringVar(&prefix, "prefix", "", "Select a prefix")
    	flag.BoolVar(&debug, "debug", false, "Prints HTTP network calls to S3 endpoint")
    	flag.BoolVar(&versions, "versions", false, "Verify all versions")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Feb 17 01:15:57 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  5. cmd/iam.go

    		return nil, errServerNotInitialized
    	}
    
    	select {
    	case <-sys.configLoaded:
    		return sys.store.GetBucketUsers(bucket)
    	case <-ctx.Done():
    		return nil, ctx.Err()
    	}
    }
    
    // ListUsers - list all users.
    func (sys *IAMSys) ListUsers(ctx context.Context) (map[string]madmin.UserInfo, error) {
    	if !sys.Initialized() {
    		return nil, errServerNotInitialized
    	}
    	select {
    	case <-sys.configLoaded:
    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)
  6. cmd/signals.go

    			shutdownLogIf(context.Background(), srv.Shutdown())
    		}
    
    		if globalEventNotifier != nil {
    			globalEventNotifier.RemoveAllBucketTargets()
    		}
    
    		return true
    	}
    
    	for {
    		select {
    		case err := <-globalHTTPServerErrorCh:
    			shutdownLogIf(context.Background(), err)
    			exit(stopProcess())
    		case osSignal := <-globalOSSignalCh:
    			logger.Info("Exiting on signal: %s", strings.ToUpper(osSignal.String()))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  7. cmd/license-update.go

    	ctx, cancel := globalLeaderLock.GetLock(ctx)
    	defer cancel()
    
    	licenseUpdateTimer := time.NewTimer(licUpdateCycle)
    	defer licenseUpdateTimer.Stop()
    
    	for {
    		select {
    		case <-ctx.Done():
    			return
    		case <-licenseUpdateTimer.C:
    
    			if globalSubnetConfig.Registered() {
    				performLicenseUpdate(ctx, objAPI)
    			}
    
    			// Reset the timer for next cycle.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  8. cmd/api-errors.go

    		Description:    "Other expressions are not allowed in the SELECT list when '*' is used without dot notation in the SQL expression.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrParseCannotMixSqbAndWildcardInSelectList: {
    		Code:           "ParseCannotMixSqbAndWildcardInSelectList",
    		Description:    "Cannot mix [] and * in the same expression in a SELECT list in SQL expression.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
  9. cmd/erasure-common.go

    		quorum := 0
    		toAdd := ReadMultipleResp{
    			Bucket: req.Bucket,
    			Prefix: req.Prefix,
    			File:   wantFile,
    		}
    		for i := range resps {
    			if disks[i] == nil {
    				continue
    			}
    			select {
    			case <-ctx.Done():
    			case gotFile, ok := <-resps[i]:
    				if !ok {
    					continue
    				}
    				if gotFile.Error != "" || !gotFile.Exists {
    					continue
    				}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  10. cmd/bootstrap-peer-server.go

    						offlineEndpoints = append(offlineEndpoints, fmt.Errorf("%s is unreachable: %w", clnt, err))
    					}
    				} else {
    					onlineServers++
    				}
    				mu.Unlock()
    			}(clnt)
    		}
    		wg.Wait()
    
    		select {
    		case <-ctx.Done():
    			return ctx.Err()
    		default:
    			// Sleep and stagger to avoid blocked CPU and thundering
    			// herd upon start up sequence.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 7.5K bytes
    - Viewed (0)
Back to top