Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 562 for Shardz (0.11 sec)

  1. pilot/pkg/model/endpointshards.go

    	es.RLock()
    	defer es.RUnlock()
    	res := &EndpointShards{
    		Shards:          make(map[ShardKey][]*IstioEndpoint, len(es.Shards)),
    		ServiceAccounts: es.ServiceAccounts.Copy(),
    	}
    	for k, v := range es.Shards {
    		res.Shards[k] = make([]*IstioEndpoint, 0, len(v))
    		for _, ep := range v {
    			res.Shards[k] = append(res.Shards[k], ep.DeepCopy())
    		}
    	}
    	return res
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  2. pilot/pkg/xds/eds_test.go

    			}
    
    			testEndpoints("10.10.1.1", "outbound|8080||flipflop.com", adscConn, t)
    			if shard, ok := s.Discovery.Env.EndpointIndex.ShardsForService("flipflop.com", ""); !ok {
    				t.Fatalf("Expected service key %s to be present in EndpointIndex. But missing %v", "flipflop.com", s.Discovery.Env.EndpointIndex.Shardz())
    			} else {
    				assert.Equal(t, sets.SortedList(shard.ServiceAccounts), []string{tt.newSa})
    			}
    		})
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 20:58:47 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  3. pilot/pkg/xds/debug.go

    	writeJSON(w, all, req)
    }
    
    // Dumps info about the endpoint shards, tracked using the new direct interface.
    // Legacy registry provides are synced to the new data structure as well, during
    // the full push.
    func (s *DiscoveryServer) endpointShardz(w http.ResponseWriter, req *http.Request) {
    	writeJSON(w, s.Env.EndpointIndex.Shardz(), req)
    }
    
    func (s *DiscoveryServer) cachez(w http.ResponseWriter, req *http.Request) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  4. docs/debugging/xl-meta/main.go

    									valid := 0
    									for shardIdx, shard := range splitFilled[:k] {
    										shardConfig[shardIdx] = shard[offset]
    										valid += int(shard[offset])
    										if shard[offset] == 0 {
    											shards[shardIdx] = shards[shardIdx][:0]
    										} else {
    											shards[shardIdx] = append(shards[shardIdx][:0], splitData[shardIdx][offset])
    										}
    									}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 31 14:49:23 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  5. maven-model-builder/src/test/resources/poms/validation/hard-coded-system-path.xml

      <dependencies>
        <dependency>
          <groupId>test</groupId>
          <artifactId>a</artifactId>
          <version>0.2</version>
          <scope>system</scope>
          <systemPath>should-use-variables-and-not-hard-code-this-path</systemPath>
        </dependency>
        <dependency>
          <groupId>test</groupId>
          <artifactId>b</artifactId>
          <version>0.1</version>
          <scope>system</scope>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Dec 27 17:19:32 UTC 2010
    - 1.4K bytes
    - Viewed (0)
  6. pilot/pkg/xds/eds.go

    func (s *DiscoveryServer) SvcUpdate(shard model.ShardKey, hostname string, namespace string, event model.Event) {
    	// When a service deleted, we should cleanup the endpoint shards and also remove keys from EndpointIndex to
    	// prevent memory leaks.
    	if event == model.EventDelete {
    		inboundServiceDeletes.Increment()
    		s.Env.EndpointIndex.DeleteServiceShard(shard, hostname, namespace, false)
    	} else {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 15:58:06 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. docs/erasure/README.md

    code is a mathematical algorithm to reconstruct missing or corrupted data. MinIO uses Reed-Solomon code to shard objects into variable data and parity blocks. For example, in a 12 drive setup, an object can be sharded to a variable number of data and parity blocks across all the drives - ranging from six data and six parity blocks to ten data and two parity blocks.
    
    By default, MinIO shards the objects across N/2 data and N/2 parity drives. Though, you can use [storage classes](https://github...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  8. src/run.bash

    # Use of this source code is governed by a BSD-style
    # license that can be found in the LICENSE file.
    
    # Environment variables that control run.bash:
    #
    # GO_TEST_SHARDS: number of "dist test" test shards that the
    # $GOROOT/test directory will be sliced up into for parallel
    # execution. Defaults to 1, unless GO_BUILDER_NAME is also specified,
    # in which case it defaults to 10.
    #
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:02:23 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/serviceentry/controller.go

    	}
    }
    
    // doEdsCacheUpdate invokes XdsUpdater's EDSCacheUpdate to update endpoint shards.
    func (s *Controller) doEdsCacheUpdate(keys sets.Set[instancesKey]) {
    	endpoints := s.buildEndpoints(keys)
    	shard := model.ShardKeyFromRegistry(s)
    	// This is delete.
    	if len(endpoints) == 0 {
    		for k := range keys {
    			s.XdsUpdater.EDSCacheUpdate(shard, string(k.hostname), k.namespace, nil)
    		}
    	} else {
    		for k, eps := range endpoints {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modfetch/zip_sum_test/zip_sum_test.go

    	modCacheDir    = flag.String("zipsumcache", "", "module cache to use instead of temp directory")
    	shardCount     = flag.Int("zipsumshardcount", 1, "number of shards to divide TestZipSums into")
    	shardIndex     = flag.Int("zipsumshard", 0, "index of TestZipSums shard to test (0 <= zipsumshard < zipsumshardcount)")
    )
    
    const zipSumsPath = "testdata/zip_sums.csv"
    
    type zipSumTest struct {
    	m                     module.Version
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 18 19:33:59 UTC 2023
    - 6.2K bytes
    - Viewed (0)
Back to top