Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 461 for race (0.09 sec)

  1. pkg/controller/storageversionmigrator/resourceversion.go

    	}
    
    	svm, err := rv.svmListers.Get(name)
    	if apierrors.IsNotFound(err) {
    		// no work to do, don't fail and requeue
    		return nil
    	}
    	if err != nil {
    		return err
    	}
    	// working with copy to avoid race condition between this and migration controller
    	toBeProcessedSVM := svm.DeepCopy()
    	gvr := getGVRFromResource(toBeProcessedSVM)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_handler.go

    	newCRD := newObj.(*apiextensionsv1.CustomResourceDefinition)
    
    	r.customStorageLock.Lock()
    	defer r.customStorageLock.Unlock()
    
    	// Add CRD to the establishing controller queue.
    	// For HA clusters, we want to prevent race conditions when changing status to Established,
    	// so we want to be sure that CRD is Installing at least for 5 seconds before Establishing it.
    	// TODO: find a real HA safe checkpointing mechanism instead of an arbitrary wait.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 52.9K bytes
    - Viewed (0)
  3. src/net/unixsock_posix.go

    	// we have to clean it up ourselves.
    	// There's a race here--we can't know for
    	// sure whether someone else has come along
    	// and replaced our socket name already--
    	// but this sequence (remove then close)
    	// is at least compatible with the auto-remove
    	// sequence in ListenUnix. It's only non-Go
    	// programs that can mess us up.
    	// Even if there are racy calls to Close, we want to unlink only for the first one.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:54:32 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/RetryConditions.groovy

                    && failure.cause?.message == "Unable to create directory 'metadata-2.1'") {
    
                    println "Retrying cross version test for " + targetDistVersion.version + " because failure was caused by directory creation race condition"
                    return cleanProjectDir(specification)
                }
            }
    
            // daemon connection issue that does not appear anymore with 3.x versions of Gradle
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  5. pilot/pkg/config/monitor/monitor.go

    	if err != nil {
    		log.Warnf("checkAndUpdate Error Caught %s: %v\n", m.name, err)
    		return
    	}
    
    	// make a deep copy of newConfigs to prevent data race
    	copyConfigs := make([]*config.Config, 0)
    	for _, config := range newConfigs {
    		cpy := config.DeepCopy()
    		copyConfigs = append(copyConfigs, &cpy)
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 12 17:36:33 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  6. src/internal/poll/fd_wasip1.go

    		return nil
    	}
    
    	// We don't use ignoringEINTR here because POSIX does not define
    	// whether the descriptor is closed if close returns EINTR.
    	// If the descriptor is indeed closed, using a loop would race
    	// with some other goroutine opening a new descriptor.
    	// (The Linux kernel guarantees that it is closed on an EINTR error.)
    	return CloseFunc(fd)
    }
    
    // Copy creates a copy of the FD.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 20:14:02 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  7. pkg/istio-agent/xds_proxy.go

    	// Wasm cache and ecds channel are used to replace wasm remote load with local file.
    	wasmCache wasm.Cache
    
    	// ecds version and nonce uses atomic only to prevent race in testing.
    	// In reality there should not be race as istiod will only have one
    	// in flight update for each type of resource.
    	// TODO(bianpengyuan): this relies on the fact that istiod versions all ECDS resources
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  8. doc/next/9-todo.md

    CL 561935 - crypto CL that used purego tag and mentioned accepted-but-not-implemented proposal https://go.dev/issue/23172 to document purego tag; doesn't need a release note
    CL 568340 - fixed a spurious race in time.Ticker.Reset (added via accepted proposal https://go.dev/issue/33184), doesn't seem to need a release note
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:18:52 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. pkg/controller/storageversionmigrator/storageversionmigrator.go

    	svm, err := svmc.svmListers.Get(name)
    	if apierrors.IsNotFound(err) {
    		// no work to do, don't fail and requeue
    		return nil
    	}
    	if err != nil {
    		return err
    	}
    	// working with a copy to avoid race condition between this and resource version controller
    	toBeProcessedSVM := svm.DeepCopy()
    
    	if IsConditionTrue(toBeProcessedSVM, svmv1alpha1.MigrationSucceeded) || IsConditionTrue(toBeProcessedSVM, svmv1alpha1.MigrationFailed) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  10. src/os/dir_windows.go

    	for {
    		d = file.dirinfo.Load()
    		if d != nil {
    			break
    		}
    		d = new(dirInfo)
    		d.init(file.pfd.Sysfd)
    		if file.dirinfo.CompareAndSwap(nil, d) {
    			break
    		}
    		// We lost the race: try again.
    		d.close()
    	}
    	d.mu.Lock()
    	defer d.mu.Unlock()
    	if d.buf == nil {
    		d.buf = dirBufPool.Get().(*[]byte)
    	}
    
    	wantAll := n <= 0
    	if wantAll {
    		n = -1
    	}
    	for n != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 20:52:06 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top