1711 Commits

Author SHA1 Message Date
Yicheng Qin
2d5c7d7fb0 docs(upgrade): instructions for upgrade to v0.4 2014-05-07 07:00:35 -07:00
Yicheng Qin
b0ac8a4b4b Merge pull request #624 from unihorn/36
chore(server/transporter): set RequestTimout reasonable
2014-04-17 15:19:10 -07:00
Yicheng Qin
cc329bfa55 Merge pull request #643 from unihorn/45
fix(server): rejoin cluster with different ip
2014-04-17 10:24:04 -07:00
Yicheng Qin
732fb7c160 tests(rejoin): add TestReplaceWithDifferentPeerAddress
The functionality has not been implemented yet.
2014-04-17 10:17:26 -07:00
Yicheng Qin
6988676f43 docs(clustering): docs about rejoin 2014-04-17 10:16:53 -07:00
Yicheng Qin
273c293645 fix(server): rejoin cluster with different ip 2014-04-17 10:16:30 -07:00
Yicheng Qin
d368405d05 Merge pull request #734 from unihorn/67
chore: gofmt go files
2014-04-17 08:49:46 -07:00
Yicheng Qin
82dee82bfd chore: gofmt go files 2014-04-17 08:47:48 -07:00
Yicheng Qin
93d1293b9d Merge pull request #733 from unihorn/66
chore: rename proxy mode to standby mode
2014-04-17 08:40:50 -07:00
Yicheng Qin
67600603c5 chore: rename proxy mode to standby mode
It makes the name more reasonable.
2014-04-17 08:04:42 -07:00
Yicheng Qin
9caa801469 chore(server/transporter): remove unnecessary timeout 2014-04-15 12:08:58 -07:00
Yicheng Qin
65b872c8b5 Merge pull request #725 from dougm/server-lifecycle-fixes
fix(server): avoid race conditions in Run/Stop
2014-04-15 11:54:35 -07:00
Yicheng Qin
3a5cb26973 chore(etcd): loose request timeout
This is a hack to improve multi-etcd boot process.
It could make users alwasy start etcd cluster successfully.
2014-04-15 11:48:22 -07:00
Yicheng Qin
26c77fcf9e chore(config): reset retry interval
Make retry interval random one to avoid join collision.
2014-04-15 11:48:18 -07:00
Yicheng Qin
68afedbd16 chore(server/transporter): set RequestTimout reasonable 2014-04-15 11:13:43 -07:00
Yicheng Qin
63d965133f Merge pull request #729 from unihorn/65
chore: gofmt go files
2014-04-15 10:00:13 -07:00
Yicheng Qin
adf4acf947 chore: gofmt go files 2014-04-15 09:42:25 -07:00
Yicheng Qin
fa95ca0aa8 Merge pull request #728 from unihorn/64
fix(tests/v1_migration): correct HTTP response
2014-04-15 09:35:32 -07:00
Yicheng Qin
d88b52c5f3 fix(tests/v1_migration): correct HTTP response
The bug is introduced in 03839ca8 due to the mistake.
2014-04-15 09:25:14 -07:00
Doug MacEachern
d73390a674 fix(server): avoid race conditions in Run/Stop
- don't close ready channel until PeerServer is listening.
  avoids possible panic in Stop() if PeerServer is nil.

- avoid data race in Run() (err variable was shared between 2 goroutines)

- avoid data race in PeerServer Start/Stop (PeerServer.closeChan)
2014-04-15 09:24:54 -07:00
Brandon Philips
66c552d048 Merge pull request #724 from bcwaldon/doc-fleet
doc(tools): Add fleet to list of projects using etcd
2014-04-14 14:44:15 -07:00
Brian Waldon
f5ee9b97de doc(tools): Add fleet to list of projects using etcd 2014-04-14 14:43:37 -07:00
Yicheng Qin
8bcfb2ecaf Merge pull request #707 from unihorn/62
fix(peer_server): recover from outage with discovery
2014-04-14 13:58:43 -07:00
Yicheng Qin
03839ca806 fix(peer_server): recover from outage with discovery
This patch also contains the refactor of find cluster process.
It is changed based on @xiangli-cmu 's commits in 627 issue.
2014-04-14 13:56:47 -07:00
Xiang Li
0b790abd46 Merge pull request #705 from unihorn/61
feat: set NOCOW for log directory when in btrfs
2014-04-14 16:40:38 -04:00
Xiang Li
2dc182189a Merge pull request #710 from xiangli-cmu/fix_race
Fix race
2014-04-14 15:53:04 -04:00
Yicheng Qin
d266f9dec7 Merge pull request #713 from unihorn/63
fix(server/key): unable to update unexpired ttl
2014-04-14 11:06:31 -07:00
Yicheng Qin
1af51ca0c5 docs(ttl): the way to unset ttl 2014-04-14 11:05:52 -07:00
Yicheng Qin
c8de5eee85 fix(server/key): unable to update unexpired ttl 2014-04-14 11:03:46 -07:00
Xiang Li
d4b33c7e12 Merge pull request #718 from bmizerany/master
docs(production-ready): explain the state of etcd clearly
2014-04-14 00:43:15 -04:00
Blake Mizerany
a05ff7f83d docs(production-ready): explain the state of etcd clearly 2014-04-13 21:38:38 -07:00
Xiang Li
8071dd054c Merge pull request #717 from xiangli-cmu/fix_join_redirection
fix(peer join) fix wrong join command redirection
2014-04-13 21:59:39 -04:00
Xiang Li
4fd9e627c0 fix(peer join) fix wrong join command redirection
1. We use PUT request to do a V2 join. So we should redirect a PUT request rather than a POST.
2. /admin only accept V2Join request. Send out V2Join instead of V1Join.
2014-04-13 21:33:02 -04:00
Yicheng Qin
56ef6fbcae make necessary changes 2014-04-11 17:00:14 -07:00
Xiang Li
bc70cdc242 tests(snapshot_test) loose the timing assumption for snapshot test
Test run slowly on drone after open race option.
2014-04-11 19:49:57 -04:00
Xiang Li
dce461dbd7 tests(test.sh) open race option 2014-04-11 19:49:41 -04:00
Yicheng Qin
79a89dcb82 Revert "Revert "fix(server): only set NOCOW for log file""
This reverts commit 9540575690db92a362f66d9aa4f2671265b87eb1.

Conflicts:
	etcd/etcd.go
2014-04-11 16:33:50 -07:00
Xiang Li
fc84da29e8 fix(internal_version_test.go) protect the checkedVersion by a lock 2014-04-10 23:35:55 -04:00
Xiang Li
2817baf3f8 fix(discovery_test.go) protect the garbageHandler by a lock 2014-04-10 23:28:40 -04:00
Xiang Li
a9dff278b5 fix(store.go) send event to watcher after we finish modifying it 2014-04-10 23:27:50 -04:00
Xiang Li
af87fa40c2 fix(registry.go) protect the peer and proxy map in the registry by lock 2014-04-10 23:24:09 -04:00
Xiang Li
6d08976cbe fix(raft_server_stats.go) protect raft stats by a lock 2014-04-10 22:50:44 -04:00
Brandon Philips
11525d357f fix(CONTRIBUTING): point to new mailing list 2014-04-10 15:20:28 -07:00
Brandon Philips
2a8c2c6a0b fix(README): use the new etcd-dev mailing list
We moved to google groups, update the URLs
2014-04-10 15:18:13 -07:00
Yicheng Qin
bda8849c3b chore(btrfs): rename fs to btrfs
This is because the actions is specific for btrfs.
2014-04-09 15:06:17 -07:00
Yicheng Qin
375aeb57af fix(fs): make check on NOCOW 2014-04-09 14:44:54 -07:00
Yicheng Qin
9540575690 Revert "fix(server): only set NOCOW for log file"
This reverts commit 1eff547af61c2453b106f65691f928ddf8088a6b.
2014-04-09 14:39:16 -07:00
Yicheng Qin
8c0c427870 Merge pull request #694 from unihorn/59
chore(discovery): adjust error message
2014-04-09 13:50:28 -07:00
Yicheng Qin
6d77e4dfd6 fix(fs): rewrite test to avoid side effect 2014-04-09 13:11:23 -07:00
Yicheng Qin
fe5eb31ca7 Merge pull request #706 from unihorn/62
bump(goraft/raft): cfa43a115
2014-04-09 12:53:25 -07:00