Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for DRAINING (0.21 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. 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. pkg/envoy/proxy.go

    }
    
    func (e *envoy) Drain(skipExit bool) error {
    	adminPort := uint32(e.AdminPort)
    
    	err := DrainListeners(adminPort, e.Sidecar, skipExit)
    	if err != nil {
    		log.Infof("failed draining listeners for Envoy on port %d: %v", adminPort, err)
    	}
    	return err
    }
    
    func (e *envoy) UpdateConfig(config []byte) error {
    	return os.WriteFile(e.ConfigPath, config, 0o666)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 10:02:56 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top