Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 627 for compactor (0.16 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/etcd3/compact.go

    	if compactInterval != 0 {
    		go compactor(ctx, client, compactInterval)
    	}
    }
    
    // compactor periodically compacts historical versions of keys in etcd.
    // It will compact keys with versions older than given interval.
    // In other words, after compaction, it will only contain keys set during last interval.
    // Any API call for the older versions of keys will return error.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 17 02:54:36 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/storagebackend/factory/etcd3.go

    		}
    
    		if foundBefore {
    			// replace compactor
    			compactor.cancel()
    			compactor.client.Close()
    		} else {
    			// start new compactor
    			compactor = &runningCompactor{}
    			compactors[key] = compactor
    		}
    
    		ctx, cancel := context.WithCancel(context.Background())
    
    		compactor.interval = interval
    		compactor.cancel = cancel
    		compactor.client = compactorClient
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 07:56:39 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/etcd3/compact_test.go

    	curTime, _, err := compact(ctx, client, 0, putResp.Header.Revision)
    	if err != nil {
    		t.Fatalf("compact failed: %v", err)
    	}
    	if curTime != 1 {
    		t.Errorf("Expect current logical time = 1, get = %v", curTime)
    	}
    
    	// Compact again with the same parameters. It won't do compaction but return the latest compact time.
    	curTime2, _, err := compact(ctx, client, 0, putResp.Header.Revision)
    	if err != nil {
    		t.Fatalf("compact failed: %v", err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 23 14:22:57 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/compare/comparator.go

    )
    
    // Comparator diffs between a config dump from Istiod and one from Envoy
    type Comparator struct {
    	envoy, istiod *configdump.Wrapper
    	w             io.Writer
    	context       int
    	location      string
    }
    
    // NewComparator is a comparator constructor
    func NewComparator(w io.Writer, istiodResponses map[string][]byte, envoyResponse []byte) (*Comparator, error) {
    	c := &Comparator{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/text/internal/language/compact/compact.go

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package compact defines a compact representation of language tags.
    //
    // Common language tags (at least all for which locale information is defined
    // in CLDR) are assigned a unique index. Each Tag is associated with such an
    // ID for selecting language-related resources (such as translations) as well
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/text/internal/language/compact.go

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package language
    
    // CompactCoreInfo is a compact integer with the three core tags encoded.
    type CompactCoreInfo uint32
    
    // GetCompactCore generates a uint32 value that is guaranteed to be unique for
    // different language, region, and script values.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 853 bytes
    - Viewed (0)
  7. cmd/data-scanner.go

    	}
    
    	if !into.Compacted && f.newCache.Info.Name != folder.name {
    		flat := f.newCache.sizeRecursive(thisHash.Key())
    		flat.Compacted = true
    		var compact bool
    		if flat.Objects < dataScannerCompactLeastObject {
    			compact = true
    		} else {
    			// Compact if we only have objects as children...
    			compact = true
    			for k := range into.Children {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:43:17 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.3.md

    * Inter pod topological affinity and anti-affinity implementation ([#22985](https://github.com/kubernetes/kubernetes/pull/22985), [@kevin-wangzefeng](https://github.com/kevin-wangzefeng))
    * start etcd compactor in background ([#25010](https://github.com/kubernetes/kubernetes/pull/25010), [@hongchaodeng](https://github.com/hongchaodeng))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 24 02:28:26 UTC 2020
    - 84K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_testing_utils_test.go

    		c.Lock()
    		defer c.Unlock()
    
    		if c.watchCache.resourceVersion < rv {
    			t.Fatalf("Can't compact into a future version: %v", resourceVersion)
    		}
    
    		if len(c.watchers.allWatchers) > 0 || len(c.watchers.valueWatchers) > 0 {
    			// We could consider terminating those watchers, but given
    			// watchcache doesn't really support compaction and we don't
    			// exercise it in tests, we just throw an error here.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 20 20:43:52 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  10. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/CollectionUtils.java

        }
    
    
        /**
         * Returns a sorted copy of the provided collection of things. Uses the provided comparator to sort.
         */
        public static <T> List<T> sort(Iterable<? extends T> things, Comparator<? super T> comparator) {
            List<T> copy = toMutableList(things);
            Collections.sort(copy, comparator);
            return copy;
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 24.3K bytes
    - Viewed (0)
Back to top