Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for DRAINING (0.19 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. test/chan/select6.go

    // A bug in select corrupts channel queues of failed cases
    // if there are multiple waiters on those channels and the
    // select is the last in the queue. If further waits are made
    // on the channel without draining it first then those waiters
    // will never wake up. In the code below c1 is such a channel.
    
    package main
    
    func main() {
    	c1 := make(chan bool)
    	c2 := make(chan bool)
    	c3 := make(chan bool)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 783 bytes
    - Viewed (0)
  8. src/runtime/mgclimit_test.go

    		if l.Fill() != procs {
    			t.Fatalf("expected fill %d cpu-ns from draining after a GC started, got fill of %d cpu-ns", procs, l.Fill())
    		}
    
    		// Drain to zero for the rest of the test.
    		l.Update(advance(2 * procs * CapacityPerProc))
    		if l.Fill() != 0 {
    			t.Fatalf("expected empty bucket from draining, got fill of %d cpu-ns", l.Fill())
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 13 16:02:20 UTC 2022
    - 9K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top