Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 49 for Pairing (0.15 sec)

  1. internal/dsync/dsync_test.go

    		},
    	}
    
    	code := m.Run()
    	stopLockServers()
    	os.Exit(code)
    }
    
    func TestSimpleLock(t *testing.T) {
    	dm := NewDRWMutex(ds, "test")
    
    	dm.Lock(id, source)
    
    	// fmt.Println("Lock acquired, waiting...")
    	time.Sleep(testDrwMutexRefreshCallTimeout)
    
    	dm.Unlock(context.Background())
    }
    
    func TestSimpleLockUnlockMultipleTimes(t *testing.T) {
    	dm := NewDRWMutex(ds, "test")
    
    	dm.Lock(id, source)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 24 03:49:07 GMT 2022
    - 11K bytes
    - Viewed (0)
  2. internal/grid/connection.go

    			continue
    		}
    		c.reconnectMu.Lock()
    		remoteUUID := uuid.UUID(r.ID)
    		if c.remoteID != nil {
    			c.reconnected()
    		}
    		c.remoteID = &remoteUUID
    		if debugPrint {
    			fmt.Println(c.Local, "Connected Waiting for Messages")
    		}
    		// Handle messages...
    		c.handleMessages(c.ctx, conn)
    		// Reconnect unless we are shutting down (debug only).
    		if c.State() == StateShutdown {
    			conn.Close()
    			return
    		}
    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. cmd/api-router.go

    	// ListBuckets
    	apiRouter.Methods(http.MethodGet).Path(SlashSeparator).
    		HandlerFunc(s3APIMiddleware(api.ListBucketsHandler))
    
    	// S3 browser with signature v4 adds '//' for ListBuckets request, so rather
    	// than failing with UnknownAPIRequest we simply handle it for now.
    	apiRouter.Methods(http.MethodGet).Path(SlashSeparator + SlashSeparator).
    		HandlerFunc(s3APIMiddleware(api.ListBucketsHandler))
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  4. cmd/test-utils_test.go

    				if !s.IsLocal() {
    					for {
    						if s.IsOnline() {
    							break
    						}
    						time.Sleep(100 * time.Millisecond)
    						if time.Since(t) > 10*time.Second {
    							return nil, nil, errors.New("timeout waiting for disk to come online")
    						}
    					}
    				}
    			}
    		}
    	}
    
    	return obj, fsDirs, nil
    }
    
    func prepareErasure16(ctx context.Context) (ObjectLayer, []string, error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  5. cmd/metrics-v3-system-drive.go

    	driveTimeoutErrorsTotal      = "timeout_errors_total"
    	driveIOErrorsTotal           = "io_errors_total"
    	driveAvailabilityErrorsTotal = "availability_errors_total"
    	driveWaitingIO               = "waiting_io"
    	driveAPILatencyMicros        = "api_latency_micros"
    	driveHealing                 = "healing"
    	driveOnline                  = "online"
    
    	driveOfflineCount = "offline_count"
    	driveOnlineCount  = "online_count"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  6. .github/workflows/multipart/migrate.sh

    	if ((attempt >= max_wait_attempts)); then
    		echo "Outputs remain inconsistent after $max_wait_attempts attempts. Exiting with error."
    		exit 1
    	else
    		echo "Outputs are inconsistent. Waiting for $wait_interval seconds (attempt $attempt/$max_wait_attempts)."
    		sleep $wait_interval
    	fi
    
    	((attempt++))
    done
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 15:54:24 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  7. docs/distributed/decom-encrypted-sse-s3.sh

    ./mc ls -r --versions myminio/versioned/ >expanded_ns_versions.txt
    
    ./mc admin decom start myminio/ http://localhost:9000/tmp/xl/{1...10}/disk{0...1}
    
    until $(./mc admin decom status myminio/ | grep -q Complete); do
    	echo "waiting for decom to finish..."
    	sleep 1
    done
    
    kill $pid_1
    kill $pid_2
    
    sleep 5
    
    (minio server --address ":9001" http://localhost:9001/tmp/xl/{11...30}/disk{0...3} 2>&1 >/tmp/removed.log) &
    pid=$!
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  8. internal/lsync/lrwmutex_test.go

    		panic("Failed to acquire read lock")
    	}
    	// fmt.Println("1st read lock acquired, waiting...")
    
    	if !lrwm.GetRLock(ctx, "", "object1", time.Second) {
    		panic("Failed to acquire read lock")
    	}
    	// fmt.Println("2nd read lock acquired, waiting...")
    
    	go func() {
    		time.Sleep(2 * time.Second)
    		lrwm.RUnlock()
    		// fmt.Println("1st read lock released, waiting...")
    	}()
    
    	go func() {
    		time.Sleep(3 * time.Second)
    		lrwm.RUnlock()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 05 04:57:35 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  9. internal/dsync/drwmutex_test.go

    		// fmt.Println("1st read lock released, waiting...")
    	}()
    
    	go func() {
    		time.Sleep(3 * testDrwMutexAcquireTimeout)
    		drwm2.RUnlock(context.Background())
    		// fmt.Println("2nd read lock released, waiting...")
    	}()
    
    	drwm3 := NewDRWMutex(ds, "simplelock")
    	// fmt.Println("Trying to acquire write lock, waiting...")
    	ctx3, cancel3 := context.WithCancel(context.Background())
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 24 03:49:07 GMT 2022
    - 9.7K bytes
    - Viewed (0)
  10. cmd/metacache-set.go

    	i := 0
    	for {
    		partKey := fmt.Sprintf("%s-metacache-part-%d", ReservedMetadataPrefixLower, i)
    		v, ok := fi.Metadata[partKey]
    		if !ok {
    			o.debugln("no match in metadata, waiting")
    			return -1, io.ErrUnexpectedEOF
    		}
    		err := json.Unmarshal([]byte(v), &tmp)
    		if !ok {
    			bugLogIf(context.Background(), err)
    			return -1, err
    		}
    		if tmp.First == "" && tmp.Last == "" && tmp.EOS {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:59:08 GMT 2024
    - 30.4K bytes
    - Viewed (0)
Back to top