• Kubernetes Submit Queue's avatar
    Merge pull request #38200 from hongchaodeng/e · 6cfe041b
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 37032, 38119, 38186, 38200, 38139)
    
    etcd2: remove unnecessary PrevValue in SetOption
    
    ref: https://github.com/kubernetes/kubernetes/issues/37994
    
    Summary:
    - PrevValue is set in HTTP header, and large value (>1MB) could exceed check limit
    - We don't need PrevValue indeed since we already use PrevIndex in SetOptions and each PrevIndex corresponds to each PrevValue.
    
    I don't really think we need extra tests for this. There is already test for GuaranteedUpdate covering its use cases.
    6cfe041b
Name
Last commit
Last update
..
etcd Loading commit data...
etcd3 Loading commit data...
storagebackend Loading commit data...
testing Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
cacher.go Loading commit data...
cacher_test.go Loading commit data...
doc.go Loading commit data...
errors.go Loading commit data...
interfaces.go Loading commit data...
selection_predicate.go Loading commit data...
selection_predicate_test.go Loading commit data...
util.go Loading commit data...
util_test.go Loading commit data...
watch_cache.go Loading commit data...
watch_cache_test.go Loading commit data...