Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Zweers (0.17 sec)

  1. cmd/peer-rest-client.go

    	_, err = loadSvcActRPC.Call(context.Background(), client.gridConn(), grid.NewMSSWith(map[string]string{
    		peerRESTUser: accessKey,
    	}))
    	return err
    }
    
    // LoadGroup - send load group command to peers.
    func (client *peerRESTClient) LoadGroup(group string) error {
    	_, err := loadGroupRPC.Call(context.Background(), client.gridConn(), grid.NewMSSWith(map[string]string{
    		peerRESTGroup: group,
    	}))
    	return err
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  2. cmd/peer-s3-client.go

    func newPeerS3Clients(endpoints EndpointServerPools) (peers []peerS3Client) {
    	nodes := endpoints.GetNodes()
    	peers = make([]peerS3Client, len(nodes))
    	for i, node := range nodes {
    		if node.IsLocal {
    			peers[i] = &localPeerS3Client{node: node}
    		} else {
    			peers[i] = newPeerS3Client(node)
    		}
    		peers[i].SetPools(node.Pools)
    	}
    
    	return peers
    }
    
    // Returns a peer S3 client.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  3. cmd/storage-rest-server.go

    		w.WriteHeader(499)
    	default:
    		w.WriteHeader(http.StatusForbidden)
    	}
    	w.Write([]byte(err.Error()))
    }
    
    // DefaultSkewTime - skew time is 15 minutes between minio peers.
    const DefaultSkewTime = 15 * time.Minute
    
    // Authenticates storage client's requests and validates for skewed time.
    func storageServerRequestValidate(r *http.Request) error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  4. cmd/admin-handlers_test.go

    	}
    	return toUniqLock(b.LockEntries[i]) < toUniqLock(b.LockEntries[j])
    }
    
    func TestTopLockEntries(t *testing.T) {
    	locksHeld := make(map[string][]lockRequesterInfo)
    	var owners []string
    	for i := 0; i < 4; i++ {
    		owners = append(owners, fmt.Sprintf("node-%d", i))
    	}
    
    	// Simulate DeleteObjects of 10 objects in a single request. i.e same lock
    	// request UID, but 10 different resource names associated with it.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  5. cmd/notification.go

    		return
    	}
    
    	if pools, ok := objAPI.(*erasureServerPools); ok {
    		pools.StopRebalance()
    	}
    }
    
    // LoadRebalanceMeta notifies all peers to load rebalance.bin from object layer.
    // Note: Only peers participating in rebalance operation, namely the first node
    // in each pool will load rebalance.bin.
    func (sys *NotificationSys) LoadRebalanceMeta(ctx context.Context, startRebalance bool) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  6. cmd/endpoint.go

    // The LOCAL host will be nil, but the indexes of all hosts should
    // remain consistent across the cluster.
    func (l EndpointServerPools) hostsSorted() []*xnet.Host {
    	peers, localPeer := l.peers()
    	sort.Strings(peers)
    	hosts := make([]*xnet.Host, len(peers))
    	for i, hostStr := range peers {
    		if hostStr == localPeer {
    			continue
    		}
    		host, err := xnet.ParseHost(hostStr)
    		if err != nil {
    			internalLogIf(GlobalContext, err)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 34.1K bytes
    - Viewed (0)
  7. cmd/admin-handlers-pools.go

    		ID string `json:"id"`
    	}{ID: id})
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	writeSuccessResponseJSON(w, b)
    	// Notify peers to load rebalance.bin and start rebalance routine if they happen to be
    	// participating pool's leader node
    	globalNotificationSys.LoadRebalanceMeta(ctx, true)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  8. internal/http/headers.go

    	// Header indiicates last rtention update time on source
    	MinIOSourceObjectLegalHoldTimestamp = "X-Minio-Source-Replication-LegalHold-Timestamp"
    	// Header indicates a Tag operation was performed on one/more peers successfully, though the
    	// current cluster does not have the object yet. This is in a site/bucket replication scenario.
    	MinIOTaggingProxied = "X-Minio-Tagging-Proxied"
    	// Header indicates the actual replicated object size
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 10.4K bytes
    - Viewed (1)
  9. cmd/endpoint_test.go

    		if !zendpoints[0].Endpoints[0].IsLocal {
    			if err := zendpoints[0].Endpoints.UpdateIsLocal(); err != nil {
    				t.Errorf("error: expected = <nil>, got = %v", err)
    			}
    		}
    		remotePeers, local := zendpoints.peers()
    		if !reflect.DeepEqual(remotePeers, testCase.expectedResult) {
    			t.Errorf("expected: %v, got: %v", testCase.expectedResult, remotePeers)
    		}
    		if local != testCase.expectedLocal {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Jan 13 07:53:03 GMT 2024
    - 18.9K bytes
    - Viewed (1)
Back to top