Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for DRAINING (0.17 sec)

  1. pilot/cmd/pilot-agent/status/ready/probe.go

    	}
    	return err
    }
    
    type ServerInfoState int32
    
    const (
    	// Server is live and serving traffic.
    	Live ServerInfoState = 0
    	// Server is draining listeners in response to external health checks failing.
    	Draining ServerInfoState = 1
    	// Server has not yet completed cluster manager initialization.
    	PreInitializing ServerInfoState = 2
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 00:35:05 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/ReaderInputStream.java

        int totalBytesRead = 0;
        boolean doneEncoding = endOfInput;
    
        DRAINING:
        while (true) {
          // We stay in draining mode until there are no bytes left in the output buffer. Then we go
          // back to encoding/flushing.
          if (draining) {
            totalBytesRead += drain(b, off + totalBytesRead, len - totalBytesRead);
            if (totalBytesRead == len || doneFlushing) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/ReaderInputStream.java

        int totalBytesRead = 0;
        boolean doneEncoding = endOfInput;
    
        DRAINING:
        while (true) {
          // We stay in draining mode until there are no bytes left in the output buffer. Then we go
          // back to encoding/flushing.
          if (draining) {
            totalBytesRead += drain(b, off + totalBytesRead, len - totalBytesRead);
            if (totalBytesRead == len || doneFlushing) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  4. docs/distributed/DECOMMISSION.md

    ┌─────┬─────────────────────────────────┬──────────────────────────────────┬──────────┐
    │ ID  │ Pools                           │ Capacity                         │ Status   │
    │ 1st │ http://minio{1...2}/data{1...4} │ 439 GiB (used) / 561 GiB (total) │ Draining │
    └─────┴─────────────────────────────────┴──────────────────────────────────┴──────────┘
    ```
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jul 11 14:59:49 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  5. istioctl/pkg/util/configdump/listener.go

    		return nil, err
    	}
    
    	dal := make([]*admin.ListenersConfigDump_DynamicListener, 0)
    	for _, l := range listenerDump.DynamicListeners {
    		// If a listener was reloaded, it would contain both the active and draining state
    		// delete the draining state for proper comparison
    		l.DrainingState = nil
    		if l.ActiveState != nil {
    			dal = append(dal, l)
    		}
    	}
    
    	// Support v2 or v3 in config dump. See ads.go:RequestedTypes for more info.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 03 08:41:32 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  6. pkg/envoy/agent.go

    }
    
    func (a *Agent) DisableDraining() {
    	a.skipDrain.Store(true)
    }
    
    func (a *Agent) DrainNow() {
    	log.Infof("Agent draining proxy")
    	err := a.proxy.Drain(true)
    	if err != nil {
    		log.Warnf("Error in invoking drain listeners endpoint: %v", err)
    	}
    	// If we drained now, skip draining + waiting later
    	// When we terminate, we will instead exit immediately
    	a.DisableDraining()
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 24 16:04:22 UTC 2024
    - 9K bytes
    - Viewed (0)
  7. pilot/pkg/features/experimental.go

    		"If not empty, services with this label will use header based persistent sessions",
    	).Get()
    
    	DrainingLabel = env.Register(
    		"PILOT_DRAINING_LABEL",
    		"istio.io/draining",
    		"If not empty, endpoints with the label value present will be sent with status DRAINING.",
    	).Get()
    
    	EnableDistributionTracking = env.Register(
    		"PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING",
    		false,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:02:38 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. pilot/pkg/xds/endpoints/endpoint_builder.go

    	if !features.SendUnhealthyEndpoints.Load() && ep.HealthStatus == model.UnHealthy {
    		return false
    	}
    	// Draining endpoints are only sent to 'persistent session' clusters.
    	draining := ep.HealthStatus == model.Draining ||
    		features.DrainingLabel != "" && ep.Labels[features.DrainingLabel] != ""
    	if draining {
    		persistentSession := b.service.Attributes.Labels[features.PersistentSessionLabel] != ""
    		if !persistentSession {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 02:18:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/plugin/pkg/audit/buffered/buffered.go

    			// This lets the batching routine continue draining the queue immediately.
    			b.delegateBackend.ProcessEvents(events...)
    		}()
    	} else {
    		func() {
    			defer runtime.HandleCrash()
    
    			// Execute the real processing in a goroutine to keep it from blocking.
    			// This lets the batching routine continue draining the queue immediately.
    			b.delegateBackend.ProcessEvents(events...)
    		}()
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 9.1K bytes
    - Viewed (0)
  10. src/time/tick_test.go

    	// When using Go 1.23 sync timers/tickers, draining is never needed
    	// (that's the whole point of the sync timer/ticker change).
    	drain1 := func() {
    		for range drainTries {
    			select {
    			case <-C:
    				return
    			default:
    			}
    			Sleep(sched)
    		}
    	}
    
    	// drainAsync removes potential stale time values after Stop/Reset.
    	// When using Go 1 async timers, draining one or two values
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:10:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
Back to top