etcd/etcdserver
Hitoshi Mitake 39e9b1f75a auth, etcdserver: check password at API layer
The cost of bcrypt password checking is quite high (almost 100ms on a
modern machine) so executing it in apply loop will be
problematic. This commit exclude the checking mechanism to the API
layer. The password checking is validated with the OCC like way
similar to the auth of serializable get.

This commit also removes a unit test of Authenticate RPC from
auth/store_test.go. It is because the RPC now accepts an auth request
unconditionally and delegates the checking functionality to
authStore.CheckPassword() (so a unit test for CheckPassword() is
added). The combination of the two functionalities can be tested by
e2e (e.g. TestCtlV3AuthWriteKey).

Fixes https://github.com/coreos/etcd/issues/6530
2016-10-17 14:18:21 +09:00
..
api Merge pull request #6599 from fanminshi/lease_error_type_fix 2016-10-06 15:47:51 -07:00
auth *: set repo correctly for logging 2016-10-03 17:03:22 +08:00
etcdserverpb Merge pull request #6655 from kragniz/range_end-docs 2016-10-14 15:00:24 -07:00
membership *: set repo correctly for logging 2016-10-03 17:03:22 +08:00
stats *: set repo correctly for logging 2016-10-03 17:03:22 +08:00
apply.go etcdserver: increase warnApplyDuration from 10ms to 100ms 2016-10-13 17:55:50 +01:00
apply_auth.go etcdserver: apply serialized requests outside auth apply lock 2016-07-30 22:00:49 -07:00
apply_v2.go etcdserver, api, membership: don't race on setting version 2016-07-26 18:21:40 -07:00
cluster_util.go etcdserver: Error handling for invalid empty raft cluster 2016-08-10 19:23:19 +05:30
cluster_util_test.go etcdserver: update LICENSE header 2016-05-12 20:49:40 -07:00
config.go etcdserver: optimized veryfying local member 2016-08-13 06:17:21 +05:30
config_test.go etcdserver: update LICENSE header 2016-05-12 20:49:40 -07:00
consistent_index.go etcdserver: update LICENSE header 2016-05-12 20:49:40 -07:00
consistent_index_test.go etcdserver: update LICENSE header 2016-05-12 20:49:40 -07:00
doc.go etcdserver: update LICENSE header 2016-05-12 20:49:40 -07:00
errors.go etcdserver: transfer leadership when stopping 2016-08-13 14:31:58 -07:00
metrics.go etcdserver: use Counter for proposals_failed_total 2016-08-10 09:27:51 -07:00
quota.go etcdserver: following updates for proto change 2016-06-07 13:32:07 -07:00
raft.go etcdserver: separate EtcdServer from raftNode 2016-10-07 13:18:39 -07:00
raft_test.go etcdserver: separate EtcdServer from raftNode 2016-10-07 13:18:39 -07:00
server.go etcdserver: make WaitGroup.Add sync with Wait 2016-10-12 13:11:35 -07:00
server_test.go etcdserver: make WaitGroup.Add sync with Wait 2016-10-12 13:11:35 -07:00
snapshot_merge.go etcdserver: commit before sending snapshot 2016-07-03 13:54:05 -07:00
storage.go *: remove unnecessary data upgrade code 2016-07-11 15:11:56 -07:00
util.go etcdserver: support read index 2016-09-27 13:41:40 +08:00
util_test.go etcdserver: transfer leadership when stopping 2016-08-13 14:31:58 -07:00
v2_server.go etcdserver: tighten up goroutine management 2016-09-19 12:10:41 -07:00
v3_server.go auth, etcdserver: check password at API layer 2016-10-17 14:18:21 +09:00