Compare commits

...

3 Commits

Author SHA1 Message Date
Gyu-Ho Lee
fd17c9101d version: bump to v2.3.7 2016-06-17 11:08:26 -07:00
Xiang Li
9ce0e8bf81 store: copy old value when refresh + cas 2016-06-17 11:07:40 -07:00
Gyu-Ho Lee
5b3ffa86fa version: bump to v2.3.6+git 2016-05-27 13:45:16 -07:00
2 changed files with 5 additions and 1 deletions

View File

@@ -298,6 +298,10 @@ func (s *store) CompareAndSwap(nodePath string, prevValue string, prevIndex uint
return nil, err
}
if expireOpts.Refresh {
value = n.Value
}
// update etcd index
s.CurrentIndex++

View File

@@ -29,7 +29,7 @@ import (
var (
// MinClusterVersion is the min cluster version this etcd binary is compatible with.
MinClusterVersion = "2.2.0"
Version = "2.3.6"
Version = "2.3.7"
// Git SHA Value will be set during build
GitSHA = "Not provided (use ./build instead of go build)"