Xiang Li
46cfbb3a26
Merge pull request #2605 from xiang90/build
...
build: do not build internal debugging tool
2015-03-31 11:47:00 -07:00
Xiang Li
a9157ce6d3
build: do not build internal debugging tool
...
We are still playing around with the dump-log tool.
Stop building it publicly until we are happy with its
ux and functionality.
2015-03-31 11:45:12 -07:00
Xiang Li
b67ee7d222
Merge pull request #2608 from xiang90/walallocation
...
wal: reduce allocation when encoding int64
2015-03-31 10:55:20 -07:00
Xiang Li
44665fc055
Merge pull request #2611 from xiang90/ctlport
...
etcdct: adopt new client port by default
2015-03-31 10:47:06 -07:00
Yicheng Qin
24f9ba8ee8
pkg/netutil: fix DropPort and RecoverPort in linux
...
The iptables commands in DropPort do not work because setting
destination-port flag without specifying the protocol is invalid.
2015-03-31 10:39:31 -07:00
Xiang Li
8ac565bc38
etcdct: adopt new client port by default
...
etcdserver uses both 4001 and 2379 for serving client requests by
default. etcdctl supports both ports by default.
2015-03-31 09:56:42 -07:00
Xiang Li
8bcaa2bfdf
wal: reduce allocation when encoding int64
2015-03-30 20:41:31 -07:00
Xiang Li
2990c29a71
Merge pull request #2607 from xiang90/walallocation
...
wal: reduce allocation when encoding entries
2015-03-30 20:31:00 -07:00
Xiang Li
c32cca3a4f
wal: reduce allocation when encoding entries
2015-03-30 19:20:46 -07:00
Xiang Li
4cbbbb6c46
Merge pull request #2606 from xiang90/update
...
*: update context pkg
2015-03-30 18:59:39 -07:00
Xiang Li
73adb20166
*: update context pkg
2015-03-30 18:58:44 -07:00
Xiang Li
77a04cda0c
Merge pull request #2597 from xiang90/wal-repair
...
wal: fix the unexpectedEOF error in the last wal.
2015-03-30 13:49:05 -07:00
Xiang Li
3e9a033cd2
wal: repair decoder needs to update its crc
2015-03-30 13:45:23 -07:00
Xiang Li
253f7c4ae1
Merge pull request #2522 from xiang90/user_pw
...
etcdserver/etcdhttp: do not return back the password of a user
2015-03-30 13:42:41 -07:00
Xiang Li
80d08ca280
Merge pull request #2521 from xiang90/sec_remove_lastmodified
...
doc/rfc: remove unimplemented stuff
2015-03-30 13:42:31 -07:00
Xiang Li
c0f7ca26a3
Merge pull request #2587 from xiang90/ctl
...
etcdctl: add import command
2015-03-30 13:42:01 -07:00
Xiang Li
fbfa6ba86a
Merge pull request #2598 from xiang90/raft_bench
...
raft: node bench matches reality
2015-03-30 09:55:13 -07:00
Yicheng Qin
81750ab2d7
Merge pull request #2600 from yichengq/failure-isolate
...
tools/functional-tester: add isolate failures
2015-03-29 22:43:51 -07:00
Xiang Li
0b9a318e68
etcdserver: make the wal repairing logic clear
2015-03-29 21:10:28 -07:00
Xiang Li
ee2833111d
Merge pull request #2599 from yichengq/etcd-tester
...
tools/etcd-agent: stop etcd only if it is running when cleanup
2015-03-29 21:07:24 -07:00
Brandon Philips
e3e11aa1b1
Merge pull request #2584 from kalabiyau/patch-1
...
Update README.md
2015-03-29 20:59:13 -07:00
Xiang Li
684ebd95ae
wal: backup broken wal before repairing
2015-03-29 15:42:59 -07:00
Xiang Li
1231f82f22
etcdserver: save snapshot into wal first
2015-03-29 14:23:05 -07:00
Yicheng Qin
04a62dd54b
tools/functional-tester: add isolate failures
2015-03-29 00:29:47 -07:00
Xiang Li
8b4eed29e5
wal: fix the unexpectedEOF error in the last wal.
...
It is safe to repair the unexpectedEOF error in the last wal. raft
will not send out message before the entry successfully comitted
into wal. Thus we can safely truncate the last entry in the wal
to repair.
2015-03-28 21:08:14 -07:00
Yicheng Qin
097a56fe01
tools/etcd-agent: stop etcd only if it is running
...
Stop etcd only if it is running, and not report error when stopping etcd
which is not started.
2015-03-28 19:31:06 -07:00
Xiang Li
3f867bc6ed
raft: node bench matches reality
2015-03-28 14:53:42 -07:00
Xiang Li
84cf0843bf
etcdctl: add migratesnap command
2015-03-27 19:23:38 -07:00
Yicheng Qin
9a33678878
Merge pull request #2596 from yichengq/revert-internal-version
...
Revert "etcdhttp: add internalVersion"
2015-03-27 17:02:02 -07:00
Yicheng Qin
60efd4d96e
Revert "etcdhttp: add internalVersion"
...
This reverts commit a77bf97c147a93e5b78898b427d081ba11b8f118.
Conflicts:
version/version.go
2015-03-27 16:53:55 -07:00
Xiang Li
09f8dbad98
Merge pull request #2594 from xiang90/rm_upgrade
...
*: remove upgrading related stuff
2015-03-27 15:37:47 -07:00
Xiang Li
45032480f1
*: remove upgrading related stuff
2015-03-27 15:28:00 -07:00
Yicheng Qin
dd92a2b484
Merge pull request #2556 from yichengq/fix-apply-conf
...
etcdserver: not apply stale conf change
2015-03-27 14:00:30 -07:00
Kelsey Hightower
a16d15aafc
Merge pull request #2591 from kelseyhightower/cleanup-etcdserver-stats
...
etcdserver: add stats.FollowerLatencyStats and stats.FollowerCountsStats...
2015-03-27 13:59:40 -07:00
Kelsey Hightower
538d624cfa
etcdserver: add stats.LatencyStats and stats.CountsStats types
2015-03-27 13:42:44 -07:00
Yicheng Qin
40197f0698
etcdserver: not apply stale conf change in cluster and transport
2015-03-27 12:53:34 -07:00
Xiang Li
2439adf945
Merge pull request #2589 from mateusbraga/patch-1
...
docs: add clarity about the 1000 events history
2015-03-27 10:04:27 -07:00
Mateus Braga
7f833ced2b
docs: add clarity about the 1000 events history
...
When talking about missing events on a particular key, the 1000 event history
limit can be understood as being per key, instead of etcd-wide events. Make it
clear that it is across all etcd keys.
2015-03-27 13:02:48 -04:00
Xiang Li
635e4db6d9
Merge pull request #2582 from xiang90/cluster-check
...
etcdserver: loose member validation for joining existing cluster
2015-03-25 14:37:13 -07:00
Artem Chernikov
424c29eacc
Update README.md
2015-03-25 22:01:02 +01:00
Xiang Li
e3817adb5b
etcdserver: loose member validation for joining existing cluster
2015-03-25 13:59:22 -07:00
Xiang Li
e5f2f40145
Merge pull request #2579 from xiang90/update-proto
...
*: update protobuf
2015-03-25 10:59:34 -07:00
Xiang Li
05e240b892
*: update protobuf
2015-03-25 10:14:35 -07:00
Xiang Li
bbcee5f506
Merge pull request #2577 from yichengq/fix-wal-test
...
wal: fix missing import
2015-03-24 22:58:43 -07:00
Yicheng Qin
3dd6e0b88f
wal: fix missing import
2015-03-24 22:53:15 -07:00
Xiang Li
ea24b397bf
Merge pull request #2576 from xiang90/fix_wal
...
wal: releastTo should work with large release index
2015-03-24 22:35:04 -07:00
Xiang Li
6e6669d696
wal: releastTo should work with large release index
2015-03-24 22:34:26 -07:00
Xiang Li
f940a34e60
Merge pull request #2575 from yichengq/343
...
version: not return err NotExist in Detect
2015-03-24 20:26:53 -07:00
Yicheng Qin
16183bc22b
version: not return err NotExist in Detect
2015-03-24 20:19:42 -07:00
Xiang Li
d40ecad617
Merge pull request #2572 from bdarnell/multinode-config
...
raft: Use raft.Config in MultiNode.
2015-03-24 19:28:28 -07:00