Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetMinimumRingSize (0.22 sec)

  1. pilot/pkg/networking/core/cluster_test.go

    					return fmt.Errorf("unexpected load balancer. expected: %v, got: %v", cluster.Cluster_RING_HASH, c.LbPolicy)
    				}
    				if c.GetRingHashLbConfig().GetMinimumRingSize().Value != 1024 {
    					return fmt.Errorf("unexpected minimum ring size. expected: %v, got: %v", 1024, c.GetRingHashLbConfig().GetMinimumRingSize().Value)
    				}
    				return nil
    			},
    		},
    		{
    			"consistent hash settings with deprecated minring size",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/cluster_traffic_policy.go

    		minRingSize := &wrapperspb.UInt64Value{Value: 1024}
    
    		if consistentHash.MinimumRingSize != 0 { // nolint: staticcheck
    			minRingSize = &wrapperspb.UInt64Value{Value: consistentHash.GetMinimumRingSize()} // nolint: staticcheck
    		}
    		c.LbPolicy = cluster.Cluster_RING_HASH
    		c.LbConfig = &cluster.Cluster_RingHashLbConfig_{
    			RingHashLbConfig: &cluster.Cluster_RingHashLbConfig{
    				MinimumRingSize: minRingSize,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 23 05:38:57 UTC 2024
    - 20K bytes
    - Viewed (0)
Back to top