Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 309 for lockers (0.24 sec)

  1. tools/dump-docker-logs.sh

    set -eu
    
    if [ -z ${CI+x} ]; then
      # When not in CI, do nothing
      exit 0;
    fi
    
    echo "Fetching docker container status"
    docker ps || true
    echo "Fetching buildx logs"
    docker logs buildx_buildkit_container-builder0 || true
    echo "Fetching docker logs"
    cat /var/log/docker.log || true
    echo "Fetching local registry logs"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 25 20:37:36 UTC 2021
    - 939 bytes
    - Viewed (0)
  2. cmd/lock-rest-client_test.go

    	}
    
    	// Attempt all calls.
    	_, err = lkClient.RLock(context.Background(), dsync.LockArgs{})
    	if err == nil {
    		t.Fatal("Expected for Rlock to fail")
    	}
    
    	_, err = lkClient.Lock(context.Background(), dsync.LockArgs{})
    	if err == nil {
    		t.Fatal("Expected for Lock to fail")
    	}
    
    	_, err = lkClient.RUnlock(context.Background(), dsync.LockArgs{})
    	if err == nil {
    		t.Fatal("Expected for RUnlock to fail")
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/testing/promise/counting.go

    // the given counter is decremented for a goroutine waiting for this
    // varible to be set and incremented when such a goroutine is
    // unblocked.
    type countingPromise struct {
    	lock          sync.Locker
    	cond          sync.Cond
    	activeCounter counter.GoRoutineCounter // counter of active goroutines
    	waitingCount  int                      // number of goroutines idle due to this being unset
    	isSet         bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 10 14:37:53 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  4. cmd/callhome.go

    	// Make sure only 1 callhome is running on the cluster.
    	locker := objAPI.NewNSLock(minioMetaBucket, "callhome/runCallhome.lock")
    	lkctx, err := locker.GetLock(ctx, callhomeLeaderLockTimeout)
    	if err != nil {
    		// lock timedout means some other node is the leader,
    		// cycle back return 'true'
    		return true
    	}
    
    	ctx = lkctx.Context()
    	defer locker.Unlock(lkctx)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 17 16:53:34 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. cmd/local-locker_test.go

    	rng := rand.New(rand.NewSource(0))
    	// Numbers of unique locks
    	for _, locks := range []int{100, 1000, 1e6} {
    		if testing.Short() && locks > 100 {
    			continue
    		}
    		t.Run(fmt.Sprintf("%d-locks", locks), func(t *testing.T) {
    			// Number of readers per lock...
    			for _, readers := range []int{1, 10, 100} {
    				if locks > 1000 && readers > 1 {
    					continue
    				}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Mar 05 04:57:35 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  6. .github/workflows/multipart/docker-compose-site1.yaml

    x-minio-common: &minio-common
      image: quay.io/minio/minio:${RELEASE}
      command: server http://site1-minio{1...4}/data{1...2}
      environment:
        - MINIO_PROMETHEUS_AUTH_TYPE=public
        - CI=true
    
    # starts 4 docker containers running minio server instances.
    # using nginx reverse proxy, load balancing, you can access
    # it through port 9000.
    services:
      site1-minio1:
        <<: *minio-common
        hostname: site1-minio1
        volumes:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Sep 30 10:13:56 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/constants/constants_unix.go

    	CRISocketContainerd = "unix:///var/run/containerd/containerd.sock"
    	// CRISocketCRIO is the cri-o CRI endpoint
    	CRISocketCRIO = "unix:///var/run/crio/crio.sock"
    	// CRISocketDocker is the cri-dockerd CRI endpoint
    	CRISocketDocker = "unix:///var/run/cri-dockerd.sock"
    
    	// DefaultCRISocket defines the default CRI socket
    	DefaultCRISocket = CRISocketContainerd
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 12 15:15:45 UTC 2022
    - 1K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/constants/constants_windows.go

    	// CRISocketCRIO is the cri-o CRI endpoint
    	// NOTE: this is a placeholder as CRI-O does not support Windows
    	CRISocketCRIO = "npipe:////./pipe/cri-o"
    	// CRISocketDocker is the cri-dockerd CRI endpoint
    	CRISocketDocker = "npipe:////./pipe/cri-dockerd"
    
    	// DefaultCRISocket defines the default CRI socket
    	DefaultCRISocket = CRISocketContainerd
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 12 15:15:45 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  9. .github/workflows/sigbuild-docker-branch.yml

          -
            name: Set up Docker Buildx
            uses: docker/setup-buildx-action@8c0edbc76e98fa90f69d9a2c020dcb50019dc325 # v2.2.1
          -
            name: Login to DockerHub
            uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a # v2.1.0
            with:
              username: ${{ secrets.DOCKERHUB_USERNAME }}
              password: ${{ secrets.DOCKERHUB_TOKEN }}
          -
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 18:43:43 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  10. internal/dsync/dsync-server_test.go

    		return false, fmt.Errorf("Unlock attempted on a read locked entity: %s (%d read locks active)", args.Resources[0], locksHeld)
    	}
    	delete(l.lockMap, args.Resources[0]) // Remove the write lock
    	return true, nil
    }
    
    const ReadLock = 1
    
    func (l *lockServer) RLock(args *LockArgs) (reply bool, err error) {
    	if d := atomic.LoadInt64(&l.responseDelay); d != 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jan 23 16:46:37 UTC 2023
    - 8.3K bytes
    - Viewed (0)
Back to top