Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for restarted (0.19 sec)

  1. cni/pkg/nodeagent/ztunnelserver.go

    }
    
    /*
    To clean up stale ztunnels
    
    	we may need to ztunnel to send its (uid, bootid / boot time) to us
    	so that we can remove stale entries when the ztunnel pod is deleted
    	or when the ztunnel pod is restarted in the same pod (remove old entries when the same uid connects again, but with different boot id?)
    
    	save a queue of what needs to be sent to the ztunnel pod and send it one by one when it connects.
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  2. internal/grid/connection.go

    				return nil
    			}
    		}
    	}
    }
    
    /*
    var ErrDone = errors.New("done for now")
    
    var ErrRemoteRestart = errors.New("remote restarted")
    
    
    // Stateless connects to the remote handler and return all packets sent back.
    // If the remote is restarted will return ErrRemoteRestart.
    // If nil will be returned remote call sent EOF or ErrDone is returned by the callback.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/informers.go

    	switch event.Event {
    	case controllers.EventAdd:
    		// pod was added to our cache
    		// we get here in 2 cases:
    		// 1. new pod was created on our node
    		// 2. we were restarted and current existing pods are added to our cache
    
    		// We have no good way to distinguish between these two cases from here. But we don't need to!
    		// Existing pods will be handled by the dataplane using `GetAmbientPods`,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  4. cmd/metacache_test.go

    	0: {
    		id:           "case-1-normal",
    		bucket:       "bucket",
    		root:         "folder/prefix",
    		recursive:    false,
    		status:       scanStateSuccess,
    		fileNotFound: false,
    		error:        "",
    		started:      metaCacheTestsetTimestamp,
    		ended:        metaCacheTestsetTimestamp.Add(time.Minute),
    		lastUpdate:   metaCacheTestsetTimestamp.Add(time.Minute),
    		lastHandout:  metaCacheTestsetTimestamp,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Sep 08 18:06:45 GMT 2021
    - 6.8K bytes
    - Viewed (0)
  5. cmd/metacache_gen.go

    		case "end":
    			z.ended, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "ended")
    				return
    			}
    		case "st":
    			z.started, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "started")
    				return
    			}
    		case "lh":
    			z.lastHandout, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "lastHandout")
    				return
    			}
    		case "u":
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 08 18:26:08 GMT 2021
    - 10K bytes
    - Viewed (0)
  6. cmd/background-newdisks-heal-ops_gen.go

    				return
    			}
    		case "Endpoint":
    			z.Endpoint, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Endpoint")
    				return
    			}
    		case "Started":
    			z.Started, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "Started")
    				return
    			}
    		case "LastUpdate":
    			z.LastUpdate, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "LastUpdate")
    				return
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Feb 28 17:05:40 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  7. cmd/admin-heal-ops.go

    				"(use force-start option to stop and start afresh). " +
    				fmt.Sprintf("The heal was started by IP %s at %s, token is %s",
    					h.clientAddress, h.startTime.Format(http.TimeFormat), h.clientToken)
    			return nil, errorCodes.ToAPIErr(ErrHealAlreadyRunning), errMsg
    		}
    	}
    
    	ahs.Lock()
    	defer ahs.Unlock()
    
    	// Check if new heal sequence to be started overlaps with any
    	// existing, running sequence
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  8. internal/dsync/dsync_test.go

    func TestThreeSimultaneousLocksForSameResource(t *testing.T) {
    	dm1st := NewDRWMutex(ds, "aap")
    	dm2nd := NewDRWMutex(ds, "aap")
    	dm3rd := NewDRWMutex(ds, "aap")
    
    	dm1st.Lock(id, source)
    	started := time.Now()
    	var expect time.Duration
    	// Release lock after 10 seconds
    	go func() {
    		// TOTAL
    		time.Sleep(2 * testDrwMutexAcquireTimeout)
    		// fmt.Println("Unlocking dm1")
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 24 03:49:07 GMT 2022
    - 11K bytes
    - Viewed (0)
  9. src/bufio/scan.go

    //
    // Buffer panics if it is called after scanning has started.
    func (s *Scanner) Buffer(buf []byte, max int) {
    	if s.scanCalled {
    		panic("Buffer called after Scan")
    	}
    	s.buf = buf[0:cap(buf)]
    	s.maxTokenSize = max
    }
    
    // Split sets the split function for the [Scanner].
    // The default split function is [ScanLines].
    //
    // Split panics if it is called after scanning has started.
    func (s *Scanner) Split(split SplitFunc) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/server.go

    	}
    	probeSet.Flush()
    	return probeSet, nil
    }
    
    func (s *Server) Start() {
    	log.Info("CNI ambient server starting")
    	s.kubeClient.RunAndWait(s.ctx.Done())
    	log.Info("CNI ambient server kubeclient started")
    	pods := s.handlers.GetAmbientPods()
    	err := s.dataplane.ConstructInitialSnapshot(pods)
    	if err != nil {
    		log.Warnf("failed to construct initial snapshot: %v", err)
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
Back to top