Xiang Li
2c647409b9
etcdctl: import hidden keys
2015-04-07 12:41:05 -07:00
Xiang Li
471aa1aa89
Merge pull request #2622 from xiang90/fix_watcher
...
store: fix watcher removal
2015-04-03 10:39:03 -07:00
Xiang Li
999917010d
store: fix watcher removal
2015-04-03 10:13:43 -07:00
Kelsey Hightower
c38a6a38bb
Merge pull request #2619 from kelseyhightower/update-docker-docs
...
Documentation: update docker docs to use new image and mount certs
2015-04-02 13:39:24 -07:00
Kelsey Hightower
3db33d19e9
Documentation: update docker docs to use new image and mount certs
2015-04-02 13:22:27 -07:00
Yicheng Qin
39633850d1
Merge pull request #2610 from yichengq/add-tls-test
...
integration: add TestTLSClusterOf3
2015-04-01 21:57:44 -07:00
Yicheng Qin
d2efa2a615
integration: add TestTLSClusterOf3
2015-04-01 20:55:00 -07:00
Yicheng Qin
a719f78046
Merge pull request #2616 from yichengq/stop-raft
...
etcdserver: stop raft node goroutine before stop server
2015-04-01 11:53:24 -07:00
Yicheng Qin
9e5743c816
etcdserver: stop raft node goroutine before stop server
...
Stop raftNode goroutine before stopping server goroutine, so
server.Stop does stop all underlying stuffs elegantly now. This fixes
the problem that previous-round lock on WAL may not be released when
etcd is restarted.
2015-04-01 11:20:51 -07:00
Yicheng Qin
2c7a8c2216
Merge pull request #2615 from yichengq/fix-upgrade-test
...
integration: fix upgrade test
2015-04-01 09:44:01 -07:00
Yicheng Qin
f3baf4517b
integration: fix upgrade test
...
Upgrade test listens on a fixed port, which may fail with 'bind address
already in use' if the port was just used to send tcp sockets.
The commit makes it listen on a random available port to avoid this.
2015-03-31 16:17:58 -07:00
Barak Michener
9ad2eaf16c
Merge pull request #2614 from barakmich/typos
...
etcdctl: fix import typos
2015-03-31 16:43:43 -04:00
Barak Michener
ad7a12066f
etcdctl: fix import typos
2015-03-31 16:41:35 -04:00
Yicheng Qin
8ac7639459
Merge pull request #2612 from yichengq/fix-isolate
...
pkg/netutil: fix DropPort and RecoverPort in linux
2015-03-31 11:58:12 -07:00
Xiang Li
a4fefd7f73
Merge pull request #2613 from xiang90/fix_import
...
etcdctl: wait for goroutine existing
2015-03-31 11:56:35 -07:00
Xiang Li
1024f587e0
etcdctl: main routine of import command should wait for goroutine existing
2015-03-31 11:55:19 -07:00
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