45390b9 | Tamir Duberstein | 03 September 2015, 16:57:59 UTC | *: regenerate proto to use local import path Using Go-style import paths in protos is not idiomatic. Normally, this detail would be internal to etcd, but the path from which gogoproto is imported affects downstream consumers (e.g. cockroachdb). In cockroach, we want to avoid including `$GOPATH/src` in our protoc include path for various reasons. This patch puts etcd on the same convention, which allows this for cockroach. More information: https://github.com/cockroachdb/cockroach/pull/2339#discussion_r38663417 This commit also regenerates all the protos, which seem to have drifted a tiny bit. | 03 September 2015, 17:38:28 UTC |
1eaf169 | Yicheng Qin | 03 September 2015, 14:23:38 UTC | Merge pull request #3395 from yichengq/backend-test storage/backend: add unit tests for backend and batchTx | 03 September 2015, 14:23:38 UTC |
44fd734 | Yicheng Qin | 29 August 2015, 05:04:19 UTC | storage/backend: add unit tests for backend and batchTx | 02 September 2015, 23:57:13 UTC |
16e9e4b | Yicheng Qin | 02 September 2015, 23:49:00 UTC | Merge pull request #3412 from yichengq/etcdctl-sync etcdctl: better logging for sync process | 02 September 2015, 23:49:00 UTC |
8e040ef | Yicheng Qin | 02 September 2015, 21:52:31 UTC | etcdctl: log more about sync process Users don't even know that etcdctl is doing sync and fails on sync process. So we add more logs for sync process. | 02 September 2015, 23:10:25 UTC |
3a8db48 | Yicheng Qin | 02 September 2015, 17:11:45 UTC | Merge pull request #3415 from yichengq/better-err etcdctl/command: print more details about ErrNoEndpoint | 02 September 2015, 17:11:45 UTC |
41cc164 | Yicheng Qin | 02 September 2015, 05:44:23 UTC | Merge pull request #3418 from AdoHe/fix_build_script_error build: fix build error on ubuntu | 02 September 2015, 05:44:23 UTC |
9665cda | Tony | 02 September 2015, 05:28:55 UTC | build: fix build error on ubuntu | 02 September 2015, 05:28:55 UTC |
484a115 | Xiang Li | 01 September 2015, 23:19:23 UTC | Merge pull request #3424 from akolb1/bolt_solaris1 Godeps: boltdb dependency missing solaris support | 01 September 2015, 23:19:23 UTC |
ecbc44f | Alex Kolbasov | 01 September 2015, 23:17:36 UTC | Godeps: boltdb dependency missing solaris support | 01 September 2015, 23:17:36 UTC |
423e3bb | Yicheng Qin | 01 September 2015, 00:05:35 UTC | etcdctl/cluster_health: provide better message for empty client urls It skips sync when init client, and prints out unreachable messagen and points to notice when checking health of etcd members one by one. | 01 September 2015, 21:42:19 UTC |
aa0c8fe | Yicheng Qin | 01 September 2015, 21:28:40 UTC | Merge pull request #3321 from yichengq/doc-tls-setup docs/security: link cfssl example | 01 September 2015, 21:28:40 UTC |
6caae58 | Yicheng Qin | 18 August 2015, 05:56:32 UTC | docs/security: recommend cfssl instead of etcd-ca This provides a more general and stable way for users to set TLS cluster. | 01 September 2015, 21:07:26 UTC |
d412eaa | Yicheng Qin | 01 September 2015, 21:04:38 UTC | Merge pull request #3308 from yichengq/go-codec Use ugorji codec for unmarshalling key responses in client | 01 September 2015, 21:04:38 UTC |
53b8175 | Xiang Li | 01 September 2015, 20:49:31 UTC | Merge pull request #3421 from xiang90/3411 etcdmain: proxy does not need to belong to the discovered cluster | 01 September 2015, 20:49:31 UTC |
7957677 | Xiang Li | 01 September 2015, 18:24:02 UTC | etcdmain: proxy does not need to belong to the discovered cluster | 01 September 2015, 18:24:02 UTC |
a941188 | Xiang Li | 01 September 2015, 17:03:50 UTC | Merge pull request #3413 from xiang90/snapshot_dir *: support wal dir | 01 September 2015, 17:03:50 UTC |
d94e712 | Xiang Li | 31 August 2015, 22:01:18 UTC | *: support wal dir | 01 September 2015, 16:54:27 UTC |
85b6c51 | Yicheng Qin | 01 September 2015, 16:25:46 UTC | Merge pull request #3420 from yichengq/wait-more storage: extend timeout to wait for put complete | 01 September 2015, 16:25:46 UTC |
a21166c | Yicheng Qin | 01 September 2015, 15:58:55 UTC | storage: extend timeout to wait for put complete travis is sometimes slow, and it could fail to complete the put in 10ms. | 01 September 2015, 16:03:03 UTC |
8ac981e | Yicheng Qin | 01 September 2015, 16:00:19 UTC | Merge pull request #3416 from yichengq/get-cluster-timeout etcdserver: add timeout param on getClusterFromRemotePeers | 01 September 2015, 16:00:19 UTC |
f3bfcb9 | Yicheng Qin | 31 August 2015, 22:12:58 UTC | etcdserver: add timeout param on getClusterFromRemotePeers It sets 10s timeout for public GetClusterFromRemotePeers. This helps the following cases to work well in high latency scenario: 1. proxy sync members from the cluster 2. newly-joined member sync members from the cluster Besides 10s request timeout, the request is also controlled by dial timeout and read connection timeout. | 01 September 2015, 15:49:01 UTC |
1fabc48 | Yicheng Qin | 01 September 2015, 03:06:34 UTC | Merge pull request #3404 from bdarnell/multinode-propose-panic raft: A removed node can no longer be leader. | 01 September 2015, 03:06:34 UTC |
4f20e01 | Ben Darnell | 29 August 2015, 09:09:56 UTC | raft: Ignore proposals if not a current member. Fixes another panic in MultiNode.Propose. | 01 September 2015, 00:31:14 UTC |
c2caa4a | Yicheng Qin | 31 August 2015, 22:57:12 UTC | etcdctl/command: print more details about ErrNoEndpoint This commit prints more details if getting ErrNoEndpoint when sync with cluster. This helps users to know what happens. | 31 August 2015, 23:28:43 UTC |
4b9b0cb | Yicheng Qin | 29 August 2015, 05:03:32 UTC | storage: add newBackend and newBatchTx This is for ease of testing. | 31 August 2015, 20:25:10 UTC |
57b39ac | Xiang Li | 31 August 2015, 18:28:25 UTC | Merge pull request #3403 from xiang90/doc doc: add 0.4.9 to 2.2 migration guide | 31 August 2015, 18:28:25 UTC |
3c1f80b | Xiang Li | 31 August 2015, 16:55:29 UTC | Merge pull request #3401 from xiang90/more_metrics more on storage metrics | 31 August 2015, 16:55:29 UTC |
406bb67 | Xiang Li | 29 August 2015, 03:57:12 UTC | doc: add 0.4.9 to 2.2 migration guide | 31 August 2015, 16:55:12 UTC |
bc71aab | Xiang Li | 31 August 2015, 16:44:10 UTC | Merge pull request #3409 from xiang90/fix_force_new etcdserver: ignore confChangeUpdateNode in getIDs | 31 August 2015, 16:44:10 UTC |
1bcaa9f | Xiang Li | 31 August 2015, 01:33:18 UTC | etcdserver: ignore confChangeUpdateNode in getIDs | 31 August 2015, 16:36:39 UTC |
aaa7dfc | Xiang Li | 31 August 2015, 14:47:23 UTC | Merge pull request #3407 from MSamman/fix-build-warning build: fixed build warning | 31 August 2015, 14:47:23 UTC |
dd4317d | Mohammad Samman | 30 August 2015, 10:14:23 UTC | build: fixed build warning to clear warning and ensure git sha linkage works in the future Fixes #3406 | 30 August 2015, 22:05:56 UTC |
b9632e0 | Xiang Li | 28 August 2015, 22:17:16 UTC | storage: register txnCounter | 28 August 2015, 22:17:16 UTC |
dd443be | Xiang Li | 28 August 2015, 22:16:53 UTC | storage: report total number of keys | 28 August 2015, 22:16:53 UTC |
d2cb732 | Yicheng Qin | 28 August 2015, 06:00:05 UTC | test: activate test on storage/backend | 28 August 2015, 20:52:31 UTC |
054fab8 | Yicheng Qin | 28 August 2015, 05:59:14 UTC | storage/backend: remove startc var This makes start logic cleaner. | 28 August 2015, 20:52:31 UTC |
fca98c9 | Xiang Li | 28 August 2015, 20:50:44 UTC | Merge pull request #3398 from xiang90/storage_metrics storage: add initial metrics for kv | 28 August 2015, 20:50:44 UTC |
b5838ed | Xiang Li | 28 August 2015, 17:35:30 UTC | storage: add initial metrics for kv | 28 August 2015, 20:41:42 UTC |
6cbaaa7 | Xiang Li | 28 August 2015, 19:34:49 UTC | Merge pull request #3396 from bdarnell/multinode-propose-panic raft: Fix a nil-pointer panic in MultiNode.Propose. | 28 August 2015, 19:34:49 UTC |
cba7c6a | Yicheng Qin | 28 August 2015, 17:26:56 UTC | *: bump to v2.2.0-rc.0+git | 28 August 2015, 17:26:56 UTC |
dc3e027 | Yicheng Qin | 28 August 2015, 17:26:32 UTC | *: bump to v2.2.0-rc.0 | 28 August 2015, 17:26:32 UTC |
b40e077 | Yicheng Qin | 28 August 2015, 16:23:58 UTC | Merge pull request #3388 from sckott/docfix-tuning fix docs, change tuning link in api.md from section to file | 28 August 2015, 16:23:58 UTC |
05924b3 | Ben Darnell | 28 August 2015, 09:17:59 UTC | raft: Fix a nil-pointer panic in MultiNode.Propose. | 28 August 2015, 09:17:59 UTC |
f04884f | Yicheng Qin | 28 August 2015, 05:47:24 UTC | storage/backend: fix off-by-one error for pending var Or it may commit until batchLimit + 1. | 28 August 2015, 05:51:32 UTC |
7ed929f | Yicheng Qin | 28 August 2015, 05:40:04 UTC | storage/backend: fix limit doesn't effect in range | 28 August 2015, 05:51:32 UTC |
37d9354 | Yicheng Qin | 28 August 2015, 04:09:39 UTC | Merge pull request #3394 from yichengq/bench-2.2 adjust file and README in docs/benchmark | 28 August 2015, 04:09:39 UTC |
9d78d84 | Xiang Li | 28 August 2015, 04:03:39 UTC | Merge pull request #3390 from xiang90/ctl_peer etcdctl: suggest endpoint over peers flag | 28 August 2015, 04:03:39 UTC |
8d8033d | Xiang Li | 27 August 2015, 22:42:44 UTC | etcdctl: suggest endpoint over peers flag | 28 August 2015, 01:52:17 UTC |
753a079 | Yicheng Qin | 28 August 2015, 00:06:19 UTC | docs/benchmark: add benchmark result links in README | 28 August 2015, 00:08:49 UTC |
425afa6 | Yicheng Qin | 28 August 2015, 00:03:02 UTC | docs/benchmarks: update bench version for more accuracy | 28 August 2015, 00:08:30 UTC |
f68e4a1 | Xiang Li | 27 August 2015, 23:58:04 UTC | Merge pull request #3392 from yichengq/bench-2.2 docs/benchmark: update etcd 2.2 bench | 27 August 2015, 23:58:04 UTC |
605f0ce | Yicheng Qin | 27 August 2015, 23:52:55 UTC | docs/benchmark: update etcd 2.2 bench This benchmark is for etcd 2.2 rc after fixing several performance downgrade bugs. | 27 August 2015, 23:52:55 UTC |
b019211 | Scott Chamberlain | 27 August 2015, 21:44:10 UTC | doc: change tuning link in api.md from section to file | 27 August 2015, 22:04:07 UTC |
1124a06 | Xiang Li | 27 August 2015, 21:48:39 UTC | Merge pull request #3387 from yichengq/fix-quorum doc: correct calculation of fault tolerance of an etcd cluster in adm… | 27 August 2015, 21:48:39 UTC |
bc2b885 | Raoof Mohammed | 25 August 2015, 16:30:56 UTC | doc: correct calculation of fault tolerance of an etcd cluster in admin_guide.md doc: correct calculation of fault tolerance of an etcd cluster in admin_guide.md | 27 August 2015, 21:30:12 UTC |
df83af9 | Yicheng Qin | 27 August 2015, 21:27:57 UTC | Merge pull request #3384 from yichengq/fix-shadow test: use go vet shadow feature instead of go-nyet | 27 August 2015, 21:27:57 UTC |
92cd24d | Yicheng Qin | 27 August 2015, 20:24:47 UTC | *: fix govet shadow check failure | 27 August 2015, 21:15:30 UTC |
b2d33e6 | Xiang Li | 27 August 2015, 20:36:55 UTC | Merge pull request #3382 from xiang90/env pkg/flags: print out evn usage information | 27 August 2015, 20:36:55 UTC |
ccdb850 | Yicheng Qin | 27 August 2015, 20:23:33 UTC | test: use go vet shadow feature instead of go-nyet Use official support instead of home-made one. | 27 August 2015, 20:29:12 UTC |
4ac4648 | Yicheng Qin | 27 August 2015, 20:22:19 UTC | Merge pull request #3383 from cognusion/fixes2 Test Fixes: Take 2 | 27 August 2015, 20:22:19 UTC |
3276320 | Matt Keller | 27 August 2015, 19:23:14 UTC | cors: Removed new(?) header from test, resolving failure "X-Content-Type-Options" was being autoadded, but none of the test maps took it into account. I saw that "Content-Type" was also being deleted, so I figured that was the best solution for this as well. | 27 August 2015, 19:23:14 UTC |
19a28c8 | Matt Keller | 27 August 2015, 19:20:29 UTC | storage: Fixed backend test ./backend_test.go:23: multiple-value batchTx.UnsafeRange() in single-value context | 27 August 2015, 19:20:29 UTC |
32372e1 | Matt Keller | 27 August 2015, 19:15:34 UTC | raft: Fixed a test misassumption network_test.go:56: total = 59.22354ms, want > 50ms 59 is > 50, but the equation added 10 to the right side | 27 August 2015, 19:15:34 UTC |
c8f5e03 | Xiang Li | 27 August 2015, 19:08:31 UTC | pkg/flags: print out evn usage information | 27 August 2015, 19:08:31 UTC |
25c87f1 | Xiang Li | 26 August 2015, 23:36:04 UTC | Merge pull request #3354 from mx2323/faq add faq documentation | 26 August 2015, 23:36:04 UTC |
8f3ea5e | Michael Xu | 21 August 2015, 21:49:06 UTC | doc: add faq documentation | 26 August 2015, 23:34:52 UTC |
59a5a7e | Yicheng Qin | 26 August 2015, 22:32:02 UTC | Merge pull request #3368 from yichengq/storage-test add unit tests for storage | 26 August 2015, 22:32:02 UTC |
0d38c13 | Yicheng Qin | 25 August 2015, 18:35:05 UTC | storage: use temp path to handle test file | 26 August 2015, 22:01:41 UTC |
2d01eb4 | Yicheng Qin | 25 August 2015, 06:32:06 UTC | storage: add tests for kvstore_compaction | 26 August 2015, 22:01:13 UTC |
f387781 | Yicheng Qin | 26 August 2015, 20:09:30 UTC | Merge pull request #3376 from yichengq/connection-down etcdserver: specify request timeout error due to connection down | 26 August 2015, 20:09:30 UTC |
0813139 | Yicheng Qin | 25 August 2015, 05:36:16 UTC | storage: add more tests for index | 26 August 2015, 19:53:30 UTC |
3723f01 | Yicheng Qin | 24 August 2015, 18:29:08 UTC | storage: add more unit tests for keyIndex | 26 August 2015, 19:53:30 UTC |
ad8a291 | Yicheng Qin | 25 August 2015, 06:52:14 UTC | storage: return error when tombstone on new generation It is not allowed to put tombstone on an empty generation. | 26 August 2015, 19:53:30 UTC |
ffa87f9 | Yicheng Qin | 25 August 2015, 03:06:13 UTC | storage: fix the comment in generation.walk | 26 August 2015, 19:53:30 UTC |
8f6bf02 | Yicheng Qin | 25 August 2015, 22:14:41 UTC | etcdserver: specify request timeout error due to connection lost It specifies request timeout error possibly caused by connection lost, and print out better log for user to understand. It handles two cases: 1. the leader cannot connect to majority of cluster. 2. the connection between follower and leader is down for a while, and it losts proposals. log format: ``` 20:04:19 etcd3 | 2015-08-25 20:04:19.368126 E | etcdhttp: etcdserver: request timed out, possibly due to connection lost 20:04:19 etcd3 | 2015-08-25 20:04:19.368227 E | etcdhttp: etcdserver: request timed out, possibly due to connection lost ``` | 26 August 2015, 19:38:37 UTC |
76db974 | Yicheng Qin | 26 August 2015, 05:45:10 UTC | Merge pull request #3377 from yichengq/tls-info-string pkg/transport: print ClientCertAuth in TLSInfo.String() | 26 August 2015, 05:45:10 UTC |
45bb880 | Yicheng Qin | 26 August 2015, 05:38:36 UTC | Merge pull request #3378 from yichengq/set-late etcdmain: check error before assigning peer transport | 26 August 2015, 05:38:36 UTC |
58455a2 | Yicheng Qin | 26 August 2015, 04:59:56 UTC | etcdmain: check error before assigning peer transport Or it may panic when new transport fails, e.g., TLS info is invalid. | 26 August 2015, 05:04:26 UTC |
57e8846 | Yicheng Qin | 26 August 2015, 04:53:52 UTC | pkg/transport: print ClientCertAuth in TLSInfo.String() It is good to print it in debug output: ``` 21:56:12 etcd1 | 2015-08-25 21:56:12.162406 I | etcdmain: peerTLS: cert = certs/etcd1.pem, key = certs/etcd1-key.pem, ca = , trusted-ca = certs/ca.pem, client-cert-auth = true ``` | 26 August 2015, 04:53:52 UTC |
6250fed | Yicheng Qin | 26 August 2015, 03:08:19 UTC | Merge pull request #3096 from philips/tls-info-debug pkg/transport: include debug output for trusted-ca | 26 August 2015, 03:08:19 UTC |
008f988 | Xiang Li | 25 August 2015, 21:48:35 UTC | Merge pull request #3375 from xiang90/doc doc: add evn variable name to configuration.md | 25 August 2015, 21:48:35 UTC |
2b58da1 | Yicheng Qin | 25 August 2015, 21:48:00 UTC | Merge pull request #3374 from yichengq/gomaxprocs etcdmain: change default GOMAXPROCS when compiling in go1.5 | 25 August 2015, 21:48:00 UTC |
35a0459 | Xiang Li | 25 August 2015, 21:35:15 UTC | doc: add evn variable name to configuration.md | 25 August 2015, 21:35:15 UTC |
32ab3f6 | Xiang Li | 25 August 2015, 21:04:30 UTC | Merge pull request #3372 from xiang90/doc improve clustering.md doc | 25 August 2015, 21:04:30 UTC |
c30c858 | Xiang Li | 25 August 2015, 18:32:46 UTC | doc: add explanation for client urls | 25 August 2015, 20:46:27 UTC |
2ac9a32 | Yicheng Qin | 25 August 2015, 19:08:52 UTC | etcdmain: stop setting GOMAXPROCS explicitly We always want to use GOMAXPROCS() as the way go parses it. When in go1.4, we want to expose GOMAXPROCS value, so we set GOMAXPROCS explicitly as the way go 1.4 does and print it out. But it becomes a problem when go 1.5 changes the way to set GOMAXPROCS. Fix the problem by stop setting GOMAXPROCS and get its value directly. Due to this change, it sets default GOMAXPROCS to the number of CPUs available when compiling in go 1.5, which matches how go 1.5 works: https://docs.google.com/document/d/1At2Ls5_fhJQ59kDK2DFVhFu3g5mATSXqqV5QrxinasI/edit This is a behavior change in etcd 2.2. | 25 August 2015, 20:38:16 UTC |
a4285ef | Yicheng Qin | 25 August 2015, 20:12:48 UTC | Merge pull request #3367 from MSamman/master etcdserver: handle malformed basic auth | 25 August 2015, 20:12:48 UTC |
e2e002f | Mohammad Samman | 24 August 2015, 18:10:19 UTC | etcdserver: handle malformed basic auth return insufficient credentials if basic auth header is malformed Fixes #3280 | 25 August 2015, 19:37:24 UTC |
7bd558b | Xiang Li | 25 August 2015, 19:17:06 UTC | Merge pull request #3373 from ecnahc515/add_report_bugs_contributing Contributing: Link to reporting bugs doc | 25 August 2015, 19:17:06 UTC |
ad84334 | Chance Zibolski | 25 August 2015, 19:13:10 UTC | Contributing: Link to reporting bugs doc | 25 August 2015, 19:15:03 UTC |
f56c545 | Xiang Li | 25 August 2015, 18:22:08 UTC | doc: mention reconfiguration design in clustering.md | 25 August 2015, 18:22:08 UTC |
986f354 | Xiang Li | 25 August 2015, 18:17:14 UTC | Merge pull request #3371 from xiang90/bolt Godeps: update bolt dependency | 25 August 2015, 18:17:14 UTC |
e8f40b0 | Xiang Li | 25 August 2015, 17:57:23 UTC | storage/backend: add commitAndStop After the upgrade of boltdb, db.Close waits for all txn to finish. CommitAndStop commits the current txn and stop creating new ones. | 25 August 2015, 17:57:25 UTC |
8738a88 | Xiang Li | 25 August 2015, 17:39:29 UTC | Godeps: update bolt dependency | 25 August 2015, 17:39:29 UTC |
2d06f6b | Yicheng Qin | 25 August 2015, 16:26:46 UTC | Merge pull request #3362 from yichengq/rafthttp-cancel rafthttp: always cancel in-flight request when stop streamReader | 25 August 2015, 16:26:46 UTC |
61a75b3 | Yicheng Qin | 24 August 2015, 17:33:21 UTC | rafthttp: always cancel in-flight request when pipeline.send This fits the way for go1.5 to cancel request. | 25 August 2015, 16:07:49 UTC |
27b9963 | Yicheng Qin | 24 August 2015, 17:42:28 UTC | client: always cancel in-flight request when do request This fits the way for go1.5 to cancel request. | 25 August 2015, 16:04:58 UTC |
ece39c9 | Yicheng Qin | 24 August 2015, 17:51:17 UTC | proxy: always cancel in-flight request This fits the way for go1.5 to cancel request. | 25 August 2015, 15:59:59 UTC |
6fc6386 | Yicheng Qin | 25 August 2015, 15:52:48 UTC | rafthttp: return err if stopped before setting cancel in dial() The original workflow may fail to cancel if stop() cancels the finished request just before dial() assigning a new cancel. This commit checks streamReader status before setting cancel to avoid this problem. It is tested at travis for 300 times. go 1.5 always works well, while go 1.4 fails to stop once. | 25 August 2015, 15:59:12 UTC |