Gyu-Ho Lee
a1e572b460
dev-guide: add limit.md
2016-12-15 15:44:21 -08:00
Anthony Romano
5aeee917a7
Merge pull request #7006 from heyitsanthony/clusterid-split
...
Documentation: FAQ entry for cluster ID mismatches
2016-12-15 12:43:17 -08:00
Anthony Romano
14c851c863
Documentation: FAQ entry for cluster ID mismatches
2016-12-15 11:27:24 -08:00
Xiang Li
86a43849fb
Merge pull request #7010 from dennwc/keepalive-exit-err
...
clientv3: ensure KeepAlive channel is closed or error is returned
2016-12-15 08:06:36 -08:00
Xiang Li
35fd5dc9fc
Merge pull request #6903 from mitake/auth-member
...
protect membership change RPCs with auth
2016-12-15 08:04:31 -08:00
Denys Smirnov
b126e31132
clientv3: better error message for keep alive loop halt
2016-12-15 16:06:27 +02:00
Hitoshi Mitake
d46b753186
e2e: test cases of protecting membership change with auth
2016-12-15 22:54:20 +09:00
Hitoshi Mitake
86d7390804
auth, etcdserver: protect membership change operations with auth
...
This commit protects membership change operations with auth. Only
users that have root role can issue the operations.
Implements https://github.com/coreos/etcd/issues/6899
2016-12-15 22:54:20 +09:00
Denys Smirnov
5183ce0118
clientv3: add test for keep alive loop exit case
2016-12-15 03:02:44 +02:00
Denys Smirnov
e0bcd4d516
clientv3: return error from KeepAlive if corresponding loop exits
...
after recvKeepAliveLoop exits client might call KeepAlive adding request channel that will not be closed
this fix makes sure that recvKeepAliveLoop is running before adding request to lessor's list and returns error otherwise
Fixes #6922
2016-12-15 03:02:35 +02:00
Anthony Romano
d8513adf1d
Merge pull request #7007 from heyitsanthony/lease-close
...
clientv3: close Lease on client Close
2016-12-14 16:06:32 -08:00
Anthony Romano
246fb29d8a
clientv3: close Lease on client Close
...
Fixes #6987
2016-12-14 12:11:17 -08:00
Anthony Romano
a9f72ee0d4
Merge pull request #7005 from heyitsanthony/fix-pprof
...
embed: deep copy user handlers
2016-12-14 12:05:37 -08:00
Gyu-Ho Lee
8f88632218
Merge pull request #6965 from gyuho/faq
...
Documentation: add more FAQs (follower, leader, sys-require)
2016-12-14 11:51:34 -08:00
Gyu-Ho Lee
626df4d77c
Documentation: add more FAQs (follower, leader, sys-require)
2016-12-14 11:36:07 -08:00
Anthony Romano
cc931a2319
embed: deep copy user handlers
...
Shallow copy of user handlers leads to a nil map assignment when
enabling pprof. Since the map is being modified, it should probably
be deep copied into the server context, which fixes the crash.
2016-12-14 10:17:32 -08:00
Gyu-Ho Lee
4ca78aa89f
Merge pull request #7004 from fbarbeira/patch-3
...
op-guide/clustering: fix typo
2016-12-14 09:52:37 -08:00
Félix Barbeira
972ef3c92e
op-guide/clustering: fix typo
2016-12-14 18:51:30 +01:00
Xiang Li
1e60f88786
Merge pull request #6999 from leonliao/patch-1
...
Documentation: use port 2379 in local cluster guide
2016-12-14 09:29:20 -08:00
leonliao
cb9277f339
Documentation: use port 2379 in local cluster guide
...
The port in endpoints should be 2379, instead of 12379.
2016-12-14 15:09:21 +08:00
Gyu-Ho Lee
cdde0368ad
Merge pull request #6997 from gyuho/range
...
auth: improve 'removeSubsetRangePerms' to O(n)
2016-12-13 16:14:37 -08:00
Gyu-Ho Lee
a53175949e
auth: improve 'removeSubsetRangePerms' to O(n)
2016-12-13 15:43:23 -08:00
Xiang Li
454f1da2f2
Merge pull request #6996 from xiang90/hardware
...
doc: add hardware section
2016-12-13 12:53:52 -08:00
Xiang Li
e3d8ef4cea
doc: add hardware section
2016-12-13 12:42:47 -08:00
Gyu-Ho Lee
1a8e78cd55
Merge pull request #6994 from gyuho/etcd-tester-fix-leak
...
etcd-tester: cancel lease stream; fix OOM panic
2016-12-13 10:44:54 -08:00
Gyu-Ho Lee
301abddc72
etcd-tester: cancel lease stream; fix OOM panic
...
It was never closing lease keep-alive streams, leaking memory.
Fix OOM panics in etcd-tester (after 1K rounds).
2016-12-13 09:56:30 -08:00
Gyu-Ho Lee
cc37beff35
Merge pull request #6995 from gyuho/etcd-tester-pprof
...
etcd-tester: add 'enable-pprof' option
2016-12-13 08:02:47 -08:00
Xiang Li
4e831810c9
Merge pull request #6993 from cloudaice/build-bug
...
build: remove dir use -r flag
2016-12-13 07:57:31 -08:00
Gyu-Ho Lee
7d16e7d27e
etcd-tester: add 'enable-pprof' option
2016-12-13 05:03:27 -08:00
cloudaice
b294ab13a4
build: remove dir use -r flag
2016-12-13 16:08:50 +08:00
Anthony Romano
797d826117
Merge pull request #6979 from heyitsanthony/fields-fmt
...
etcdctl: "fields" output formats
2016-12-12 15:17:12 -08:00
Anthony Romano
5f3140987e
etcdctl: "fields" output formats
...
Writes out fields from responses in the format "FieldName" : FieldValue. If
FieldValue is a string, it is formatted with %q.
2016-12-12 13:21:20 -08:00
Gyu-Ho Lee
be740dc436
Merge pull request #6975 from gyuho/gopath
...
*: fix 'gosimple', 'gounused' checks
2016-12-12 11:53:45 -08:00
Xiang Li
5b7582365e
Merge pull request #6990 from xiang90/faq_m
...
doc: add faq about missing heartbeat
2016-12-12 11:38:10 -08:00
Xiang Li
468187de31
doc: add faq about missing heartbeat
2016-12-12 11:31:17 -08:00
Gyu-Ho Lee
7e74b3f846
grpcproxy: remove unused field 'wbs *watchBroadcasts'
2016-12-12 10:07:14 -08:00
Gyu-Ho Lee
eb8646a381
v3rpc: remove unused 'splitMethodName' function
2016-12-12 10:07:14 -08:00
Gyu-Ho Lee
3512f114e4
e2e: remove unused 'ctlV3GetFailPerm'
2016-12-12 10:07:14 -08:00
Gyu-Ho Lee
b8e09bf849
tools: simplify boolean comparison, remove unused
2016-12-12 10:07:14 -08:00
Gyu-Ho Lee
0c5d1d5641
raft: simplify boolean comparison, remove unused
2016-12-12 10:07:14 -08:00
Gyu-Ho Lee
f3cb93015c
integration: simplify boolean comparison in resp.Created
2016-12-12 10:07:14 -08:00
Gyu-Ho Lee
55307d48ac
auth: fix gosimple errors
2016-12-12 10:07:14 -08:00
Gyu-Ho Lee
6ec4b9c26a
test: exclude '_home' for gosimple, unused
2016-12-12 10:07:14 -08:00
Xiang Li
0a15c1b9c6
Merge pull request #6988 from xiang90/faq_m
...
doc: add faq about apply warning logging
2016-12-12 10:06:32 -08:00
Xiang Li
6969369a32
doc: add faq about apply warning logging
2016-12-12 09:58:42 -08:00
Anthony Romano
20dca1eb80
Merge pull request #6977 from heyitsanthony/move-prof
...
etcdserver, embed, v2http: move pprof setup to embed
2016-12-09 13:30:19 -08:00
Anthony Romano
cf60588b27
Merge pull request #6974 from heyitsanthony/interacting-fixup
...
Documentation: update get examples to be clearer about ranges
2016-12-09 13:08:40 -08:00
Anthony Romano
2c06def8ca
etcdserver, embed, v2http: move pprof setup to embed
...
Seems like a better place for prof setup since it's not specific to v2.
2016-12-09 12:37:35 -08:00
Xiang Li
cb75c40a8b
Merge pull request #6973 from sinsharat/make_contributing_url_based
...
github: make contribution link non-relative
2016-12-09 12:28:07 -08:00
Anthony Romano
46e63cc14a
Merge pull request #6972 from heyitsanthony/bug-report-link
...
github: make bug reporting link non-relative
2016-12-09 11:15:29 -08:00