Gyu-Ho Lee
a57405a958
Merge pull request #8153 from gyuho/leadership-transfer
...
*: expose Leadership Transfer API to clients
2017-07-06 13:00:08 -07:00
Saksham Sharma
2a30a754e9
clientv3: add keep-alive to connection
...
this makes the grpc client connection use a keep-alive.
2017-07-06 12:55:52 -07:00
Anthony Romano
a2a80cb1bf
test: bump grpcproxy timeout to 20m, print pass times
2017-07-06 12:51:24 -07:00
Anthony Romano
d48e59e389
Merge pull request #8201 from arthurkiller/master
...
concurrency: fix typo in Serializable godoc
2017-07-06 11:03:55 -07:00
lza@arthur
4df1970188
concurrency: fix typo in Serializable godoc
2017-07-06 12:57:55 +08:00
Gyu-Ho Lee
870302afa6
mvcc/backend: enable 'NoFreelistSync' by default (linux)
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-07-05 16:10:04 -07:00
Gyu-Ho Lee
89ced7c0c9
bill-of-materials.json: regenerate with 'coreos/bbolt'
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-07-05 14:35:25 -07:00
Gyu-Ho Lee
2b9bfda1d5
vendor: regenerate
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-07-05 14:34:54 -07:00
Gyu-Ho Lee
318e9c766f
*: replace 'boltdb' import paths with 'coreos/bbolt'
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-07-05 14:32:13 -07:00
Gyu-Ho Lee
75665c0fd0
glide.yaml: replace 'boltdb/bolt' with 'coreos/bbolt'
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-07-05 14:29:31 -07:00
Xiang Li
894751ef44
Merge pull request #8164 from mitake/auth-granted-keys
...
allow users to know their roles and permissions
2017-07-05 12:26:59 -07:00
Xiang Li
1408b337b6
Merge pull request #8200 from huikang/fix-typo-doc
...
Documentation: cleanup and fix some typo
2017-06-30 22:03:43 -07:00
Hui Kang
663f8835cf
Documentation: cleanup and fix some typo
...
Signed-off-by: Hui Kang <kangh@us.ibm.com>
2017-06-30 20:41:25 -04:00
Xiang Li
b7cf080e2c
Merge pull request #8198 from xiang90/n
...
NEWS: clarify the corruption problem
2017-06-30 15:01:35 -07:00
Xiang
cc114caddd
NEWS: clearify the corruption problem
2017-06-30 14:19:51 -07:00
Gyu-Ho Lee
673c6f0650
Merge pull request #8194 from gyuho/lease
...
lease: fix racey access to 'leaseRevokeRate'
2017-06-30 11:18:21 -07:00
Gyu-Ho Lee
8d41820741
lease: stop lessors after tests
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-06-30 10:13:36 -07:00
Gyu-Ho Lee
36c655f29b
Merge pull request #8170 from gyuho/v2-docs
...
Documentation/v2: 'etcd v2' to the title
2017-06-29 16:24:31 -07:00
Gyu-Ho Lee
49fe77eea0
Documentation/v2: 'etcd v2' to the title
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-06-29 16:10:05 -07:00
Xiang Li
7ab442f8c5
Merge pull request #8183 from yudai/fix_revision_compactor_test_race
...
compactor: Fix data race in revision compactor test
2017-06-27 14:33:08 -07:00
Iwasaki Yudai
c678dcbd91
compactor: Fix data race in revision compactor test
...
Use atomic functions to manipulate `rev` of `fakeRevGetter`
so that the tester goroutine can update the
value without race with the compactor's goroutine.
2017-06-27 13:51:40 -07:00
Xiang Li
4dd7ef0a60
Merge pull request #8176 from huikang/fixing-typo-faq
...
Documentation/faq: fix typo in flag names
2017-06-27 13:20:56 -07:00
Hui Kang
625c67f5c5
Documentation/faq: fix typo in flag names
...
Signed-off-by: Hui Kang <kangh@us.ibm.com>
2017-06-27 16:04:03 -04:00
Hitoshi Mitake
db595887cf
e2e: add test cases for getting user and role information of user itself
2017-06-26 22:20:46 -07:00
Hitoshi Mitake
e0c33ef881
auth, etcdserver: allow users to know their roles and permissions
...
Current UserGet() and RoleGet() RPCs require admin permission. It
means that users cannot know which roles they belong to and what
permissions the roles have. This commit change the semantics and now
users can know their roles and permissions.
2017-06-26 22:20:41 -07:00
Gyu-Ho Lee
86eced670c
Merge pull request #8177 from gyuho/NEWS
...
NEWS: add v3.2.1
2017-06-26 13:13:56 -07:00
Gyu-Ho Lee
54a75f9431
NEWS: add v3.2.1
...
Highlights some important bug fixes + user facing
changes in debugging metrics.
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-06-26 06:55:53 -07:00
Xiang Li
703663d1f6
Merge pull request #8163 from huikang/stm-comment-update
...
Default stm isolation level is serializable snapshot isolation
2017-06-25 18:50:32 -07:00
Xiang Li
204c4aa0b0
Merge pull request #7987 from smetro/disable_proposal_forwarding
...
raft: add DisableProposalForwarding option
2017-06-24 00:02:22 -07:00
Hitoshi Mitake
6ea5676db4
Merge pull request #8145 from mitake/non-authorized-rpcs
...
integration: add a test case for non authorized RPCs
2017-06-24 11:51:47 +09:00
Gyu-Ho Lee
d4289588ac
e2e: test 'move-leader' command
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-06-23 13:19:16 -07:00
Gyu-Ho Lee
6e9b776fce
etcdctl/ctlv3: add 'move-leader' command
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-06-23 13:19:12 -07:00
Gyu-Ho Lee
581a83dfd9
clientv3/*: add 'MoveLeader' method to 'Maintenance'
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-06-23 13:07:17 -07:00
Gyu-Ho Lee
c5532dd2a2
integration: test 'MoveLeader' service
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-06-23 12:53:22 -07:00
Gyu-Ho Lee
403ba1dfa7
etcdserver: expose 'transferLeadership' as 'MoveLeader'
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-06-23 12:51:28 -07:00
Gyu-Ho Lee
3e263d5a4d
proxy/*: add 'MoveLeader' RPC
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-06-23 12:51:27 -07:00
Gyu-Ho Lee
b1a0ae3a3e
etcdserver/api/v3rpc: add 'MoveLeader' to 'maintenanceServer'
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-06-23 12:51:24 -07:00
Gyu-Ho Lee
939bbd77c0
etcdserver/*: add 'ErrNotLeader'
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-06-23 12:46:07 -07:00
Gyu-Ho Lee
265303c19a
*: regenerate proto with 'MoveLeader' RPC
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-06-23 12:45:53 -07:00
Gyu-Ho Lee
d82f2572a4
etcdserver/etcdserverpb: define 'MoveLeader' RPC
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-06-23 12:43:29 -07:00
Hui Kang
7fffd8b827
concurrency: comment the default stm isolation level is serializable snapshot
...
Default stm isolation level is serializable snapshot isolation, which
is different than snapshot isolation (SI)
Signed-off-by: Hui Kang <kangh@us.ibm.com>
2017-06-22 22:24:17 -04:00
Anthony Romano
47a8156851
Merge pull request #8161 from heyitsanthony/fix-watchcancel-test
...
clientv3/integration: wait for leader before trying to count watches
2017-06-22 18:12:30 -07:00
Xiang Li
0fe8fdcb29
Merge pull request #8123 from yudai/revision_compactor
...
Compactor: Add Revisional compactor
2017-06-22 16:34:28 -07:00
Gyu-Ho Lee
4d6174f770
Merge pull request #8160 from gyuho/ggg
...
vendor: upgrade grpc-go to 1.4.2
2017-06-22 16:17:19 -07:00
Anthony Romano
4c43fb83df
Merge pull request #8159 from heyitsanthony/crl-test-fix
...
e2e: accept more kinds of errors in CRL test
2017-06-22 15:59:26 -07:00
Anthony Romano
9e574afb84
clientv3/integration: wait for leader before trying to count watches
...
Fixes #8044
2017-06-22 15:02:41 -07:00
Gyu-Ho Lee
861ebe6950
vendor: upgrade grpc-go to 1.4.2
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-06-22 14:26:45 -07:00
Anthony Romano
f7df3c80d5
Merge pull request #8149 from heyitsanthony/lease-sort-promote
...
lessor: extend leases on promote if expires will be rate limited
2017-06-22 13:31:34 -07:00
Anthony Romano
e22d00a9f1
e2e: accept more kinds of errors in CRL test
...
Semaphore is failing with context exceeded errors and dial timeouts, only
returning an "Error: ..." from expect on etcdctl. So, only test for
"Error:" instead of grpc internal errors.
2017-06-22 13:27:36 -07:00
Gyu-Ho Lee
cdc7d77beb
Merge pull request #8158 from gyuho/fix
...
etcdctl/ctlv3: remove unnecessary 'return'
2017-06-22 12:47:49 -07:00