mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
commit
e4f40f6554
2
NEWS
2
NEWS
@ -1,5 +1,5 @@
|
||||
etcd v3.1.2 (2017-02-24)
|
||||
- use IPv4 default host, by default (when IPv4 amd IPv6 are available)
|
||||
- use IPv4 default host, by default (when IPv4 and IPv6 are available)
|
||||
- fix 'etcd gateway' with multiple endpoints
|
||||
|
||||
etcd v3.1.1 (2017-02-17)
|
||||
|
@ -64,7 +64,7 @@ func (t *tokenJWT) info(ctx context.Context, token string, rev uint64) (*AuthInf
|
||||
}
|
||||
|
||||
func (t *tokenJWT) assign(ctx context.Context, username string, revision uint64) (string, error) {
|
||||
// Future work: let a jwt token include permission infomation would be useful for
|
||||
// Future work: let a jwt token include permission information would be useful for
|
||||
// permission checking in proxy side.
|
||||
tk := jwt.NewWithClaims(jwt.GetSigningMethod(t.signMethod),
|
||||
jwt.MapClaims{
|
||||
|
@ -240,8 +240,8 @@ func TestV3LeaseRenewStress(t *testing.T) {
|
||||
testLeaseStress(t, stressLeaseRenew)
|
||||
}
|
||||
|
||||
// TestV3LeaseTimeToLiveStress keeps creating lease and retriving it immediately to ensure the lease can be retrived.
|
||||
// it was oberserved that the immediate lease retrival after granting a lease from follower resulted lease not found.
|
||||
// TestV3LeaseTimeToLiveStress keeps creating lease and retrieving it immediately to ensure the lease can be retrieved.
|
||||
// it was oberserved that the immediate lease retrieval after granting a lease from follower resulted lease not found.
|
||||
// related issue https://github.com/coreos/etcd/issues/6978
|
||||
func TestV3LeaseTimeToLiveStress(t *testing.T) {
|
||||
testLeaseStress(t, stressLeaseTimeToLive)
|
||||
@ -334,7 +334,7 @@ func TestV3PutOnNonExistLease(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
// TestV3GetNonExistLease ensures client retriving nonexistent lease on a follower doesn't result node panic
|
||||
// TestV3GetNonExistLease ensures client retrieving nonexistent lease on a follower doesn't result node panic
|
||||
// related issue https://github.com/coreos/etcd/issues/6537
|
||||
func TestV3GetNonExistLease(t *testing.T) {
|
||||
defer testutil.AfterTest(t)
|
||||
|
@ -402,7 +402,7 @@ func (ivt *IntervalTree) MaxHeight() int {
|
||||
return int((2 * math.Log2(float64(ivt.Len()+1))) + 0.5)
|
||||
}
|
||||
|
||||
// IntervalVisitor is used on tree searchs; return false to stop searching.
|
||||
// IntervalVisitor is used on tree searches; return false to stop searching.
|
||||
type IntervalVisitor func(n *IntervalValue) bool
|
||||
|
||||
// Visit calls a visitor function on every tree node intersecting the given interval.
|
||||
|
Loading…
x
Reference in New Issue
Block a user