Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for globalNodeNamesHex (0.08 sec)

  1. cmd/globals.go

    	// All unique nodes for this deployment
    	globalNodes []Node
    
    	// The name of this local node, fetched from arguments
    	globalLocalNodeName    string
    	globalLocalNodeNameHex string
    	globalNodeNamesHex     = make(map[string]struct{})
    
    	// The global subnet config
    	globalSubnetConfig subnet.Config
    
    	// The global callhome config
    	globalCallhomeConfig callhome.Config
    
    	// The global drive config
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 16.2K bytes
    - Viewed (1)
  2. cmd/server-main.go

    		}
    	})
    
    	for _, n := range globalNodes {
    		nodeName := n.Host
    		if n.IsLocal {
    			nodeName = globalLocalNodeName
    		}
    		nodeNameSum := sha256.Sum256([]byte(nodeName + globalDeploymentID()))
    		globalNodeNamesHex[hex.EncodeToString(nodeNameSum[:])] = struct{}{}
    	}
    
    	bootstrapTrace("waitForQuorum", func() {
    		result := newObject.Health(context.Background(), HealthOptions{NoLogging: true})
    		for !result.HealthyRead {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:18:36 UTC 2025
    - 35.9K bytes
    - Viewed (4)
  3. cmd/bucket-replication.go

    	if err != nil {
    		return err
    	}
    	if err == nil {
    		// Drain the connection.
    		xhttp.DrainBody(resp.Body)
    	}
    	if resp != nil {
    		amzid := resp.Header.Get(xhttp.AmzRequestHostID)
    		if _, ok := globalNodeNamesHex[amzid]; ok {
    			return BucketRemoteIdenticalToSource{
    				Endpoint: epURL.String(),
    			}
    		}
    	}
    	return nil
    }
    
    type mustReplicateOptions struct {
    	meta               map[string]string
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 118K bytes
    - Viewed (0)
Back to top