sort by:
Revision Author Date Message Commit Date
45390b9 *: 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 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 storage/backend: add unit tests for backend and batchTx 02 September 2015, 23:57:13 UTC
16e9e4b Merge pull request #3412 from yichengq/etcdctl-sync etcdctl: better logging for sync process 02 September 2015, 23:49:00 UTC
8e040ef 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 Merge pull request #3415 from yichengq/better-err etcdctl/command: print more details about ErrNoEndpoint 02 September 2015, 17:11:45 UTC
41cc164 Merge pull request #3418 from AdoHe/fix_build_script_error build: fix build error on ubuntu 02 September 2015, 05:44:23 UTC
9665cda build: fix build error on ubuntu 02 September 2015, 05:28:55 UTC
484a115 Merge pull request #3424 from akolb1/bolt_solaris1 Godeps: boltdb dependency missing solaris support 01 September 2015, 23:19:23 UTC
ecbc44f Godeps: boltdb dependency missing solaris support 01 September 2015, 23:17:36 UTC
423e3bb 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 Merge pull request #3321 from yichengq/doc-tls-setup docs/security: link cfssl example 01 September 2015, 21:28:40 UTC
6caae58 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 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 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 etcdmain: proxy does not need to belong to the discovered cluster 01 September 2015, 18:24:02 UTC
a941188 Merge pull request #3413 from xiang90/snapshot_dir *: support wal dir 01 September 2015, 17:03:50 UTC
d94e712 *: support wal dir 01 September 2015, 16:54:27 UTC
85b6c51 Merge pull request #3420 from yichengq/wait-more storage: extend timeout to wait for put complete 01 September 2015, 16:25:46 UTC
a21166c 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 Merge pull request #3416 from yichengq/get-cluster-timeout etcdserver: add timeout param on getClusterFromRemotePeers 01 September 2015, 16:00:19 UTC
f3bfcb9 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 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 raft: Ignore proposals if not a current member. Fixes another panic in MultiNode.Propose. 01 September 2015, 00:31:14 UTC
c2caa4a 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 storage: add newBackend and newBatchTx This is for ease of testing. 31 August 2015, 20:25:10 UTC
57b39ac 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 Merge pull request #3401 from xiang90/more_metrics more on storage metrics 31 August 2015, 16:55:29 UTC
406bb67 doc: add 0.4.9 to 2.2 migration guide 31 August 2015, 16:55:12 UTC
bc71aab Merge pull request #3409 from xiang90/fix_force_new etcdserver: ignore confChangeUpdateNode in getIDs 31 August 2015, 16:44:10 UTC
1bcaa9f etcdserver: ignore confChangeUpdateNode in getIDs 31 August 2015, 16:36:39 UTC
aaa7dfc Merge pull request #3407 from MSamman/fix-build-warning build: fixed build warning 31 August 2015, 14:47:23 UTC
dd4317d 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 storage: register txnCounter 28 August 2015, 22:17:16 UTC
dd443be storage: report total number of keys 28 August 2015, 22:16:53 UTC
d2cb732 test: activate test on storage/backend 28 August 2015, 20:52:31 UTC
054fab8 storage/backend: remove startc var This makes start logic cleaner. 28 August 2015, 20:52:31 UTC
fca98c9 Merge pull request #3398 from xiang90/storage_metrics storage: add initial metrics for kv 28 August 2015, 20:50:44 UTC
b5838ed storage: add initial metrics for kv 28 August 2015, 20:41:42 UTC
6cbaaa7 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 *: bump to v2.2.0-rc.0+git 28 August 2015, 17:26:56 UTC
dc3e027 *: bump to v2.2.0-rc.0 28 August 2015, 17:26:32 UTC
b40e077 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 raft: Fix a nil-pointer panic in MultiNode.Propose. 28 August 2015, 09:17:59 UTC
f04884f 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 storage/backend: fix limit doesn't effect in range 28 August 2015, 05:51:32 UTC
37d9354 Merge pull request #3394 from yichengq/bench-2.2 adjust file and README in docs/benchmark 28 August 2015, 04:09:39 UTC
9d78d84 Merge pull request #3390 from xiang90/ctl_peer etcdctl: suggest endpoint over peers flag 28 August 2015, 04:03:39 UTC
8d8033d etcdctl: suggest endpoint over peers flag 28 August 2015, 01:52:17 UTC
753a079 docs/benchmark: add benchmark result links in README 28 August 2015, 00:08:49 UTC
425afa6 docs/benchmarks: update bench version for more accuracy 28 August 2015, 00:08:30 UTC
f68e4a1 Merge pull request #3392 from yichengq/bench-2.2 docs/benchmark: update etcd 2.2 bench 27 August 2015, 23:58:04 UTC
605f0ce 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 doc: change tuning link in api.md from section to file 27 August 2015, 22:04:07 UTC
1124a06 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 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 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 *: fix govet shadow check failure 27 August 2015, 21:15:30 UTC
b2d33e6 Merge pull request #3382 from xiang90/env pkg/flags: print out evn usage information 27 August 2015, 20:36:55 UTC
ccdb850 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 Merge pull request #3383 from cognusion/fixes2 Test Fixes: Take 2 27 August 2015, 20:22:19 UTC
3276320 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 storage: Fixed backend test ./backend_test.go:23: multiple-value batchTx.UnsafeRange() in single-value context 27 August 2015, 19:20:29 UTC
32372e1 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 pkg/flags: print out evn usage information 27 August 2015, 19:08:31 UTC
25c87f1 Merge pull request #3354 from mx2323/faq add faq documentation 26 August 2015, 23:36:04 UTC
8f3ea5e doc: add faq documentation 26 August 2015, 23:34:52 UTC
59a5a7e Merge pull request #3368 from yichengq/storage-test add unit tests for storage 26 August 2015, 22:32:02 UTC
0d38c13 storage: use temp path to handle test file 26 August 2015, 22:01:41 UTC
2d01eb4 storage: add tests for kvstore_compaction 26 August 2015, 22:01:13 UTC
f387781 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 storage: add more tests for index 26 August 2015, 19:53:30 UTC
3723f01 storage: add more unit tests for keyIndex 26 August 2015, 19:53:30 UTC
ad8a291 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 storage: fix the comment in generation.walk 26 August 2015, 19:53:30 UTC
8f6bf02 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 Merge pull request #3377 from yichengq/tls-info-string pkg/transport: print ClientCertAuth in TLSInfo.String() 26 August 2015, 05:45:10 UTC
45bb880 Merge pull request #3378 from yichengq/set-late etcdmain: check error before assigning peer transport 26 August 2015, 05:38:36 UTC
58455a2 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 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 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 Merge pull request #3375 from xiang90/doc doc: add evn variable name to configuration.md 25 August 2015, 21:48:35 UTC
2b58da1 Merge pull request #3374 from yichengq/gomaxprocs etcdmain: change default GOMAXPROCS when compiling in go1.5 25 August 2015, 21:48:00 UTC
35a0459 doc: add evn variable name to configuration.md 25 August 2015, 21:35:15 UTC
32ab3f6 Merge pull request #3372 from xiang90/doc improve clustering.md doc 25 August 2015, 21:04:30 UTC
c30c858 doc: add explanation for client urls 25 August 2015, 20:46:27 UTC
2ac9a32 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 Merge pull request #3367 from MSamman/master etcdserver: handle malformed basic auth 25 August 2015, 20:12:48 UTC
e2e002f etcdserver: handle malformed basic auth return insufficient credentials if basic auth header is malformed Fixes #3280 25 August 2015, 19:37:24 UTC
7bd558b Merge pull request #3373 from ecnahc515/add_report_bugs_contributing Contributing: Link to reporting bugs doc 25 August 2015, 19:17:06 UTC
ad84334 Contributing: Link to reporting bugs doc 25 August 2015, 19:15:03 UTC
f56c545 doc: mention reconfiguration design in clustering.md 25 August 2015, 18:22:08 UTC
986f354 Merge pull request #3371 from xiang90/bolt Godeps: update bolt dependency 25 August 2015, 18:17:14 UTC
e8f40b0 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 Godeps: update bolt dependency 25 August 2015, 17:39:29 UTC
2d06f6b 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 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 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 proxy: always cancel in-flight request This fits the way for go1.5 to cancel request. 25 August 2015, 15:59:59 UTC
6fc6386 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
back to top