Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for globalNodeNamesHex (0.21 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  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{}{}
    	}
    
    	var err error
    	bootstrapTrace("initServerConfig", func() {
    		if err = initServerConfig(GlobalContext, newObject); err != nil {
    			var cerr config.Err
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 04 15:12:57 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 114.4K bytes
    - Viewed (0)
Back to top