Yicheng Qin
c692a8f0a7
fix(raft_server_stats): set startTime when init
...
This helps one-node cluster get rid of bogus startTime.
2014-04-29 09:59:02 -07:00
Yicheng Qin
a563d82f95
Merge pull request #752 from unihorn/75
...
fix(server): dispatch SetClusterConfigCommand correctly
2014-04-22 14:55:17 -07:00
Yicheng Qin
c7116a37c0
fix(server): dispatch SetClusterConfigCommand correctly
2014-04-22 14:02:54 -07:00
Yicheng Qin
9af9438ed0
Merge pull request #751 from unihorn/75
...
Revert "Merge pull request #631 from metaflow/fix-delete-key-as-director...
2014-04-21 17:59:07 -07:00
Yicheng Qin
fa54866e99
Revert "Merge pull request #631 from metaflow/fix-delete-key-as-directory"
...
This reverts commit b87972713e17fb815bfe42f25a63f94f232007e2, reversing
changes made to bd8d45ce28d6f9ddb9c5164f58aca8f9a6359f7b.
2014-04-21 17:55:44 -07:00
Yicheng Qin
ff172ae3a5
Merge pull request #749 from unihorn/74
...
chore: gofmt go files
2014-04-21 15:03:05 -07:00
Yicheng Qin
32d23fdb11
chore: gofmt go files
2014-04-21 14:59:06 -07:00
Ed Rooth
14ae764283
Merge pull request #712 from sym3tri/dashboard-rewrite
...
Dashboard rewrite
2014-04-21 12:11:09 -07:00
Yicheng Qin
b87972713e
Merge pull request #631 from metaflow/fix-delete-key-as-directory
...
Fix delete key as directory
2014-04-21 11:45:18 -07:00
Brandon Philips
bd8d45ce28
Merge pull request #746 from andybons/patch-1
...
Update to Go v1.2.1
2014-04-21 11:37:29 -07:00
Mikhail Goncharov
7cebc3999a
api(delete) now you get an error trying to delete files a directory (http.StatusForbidden)
2014-04-21 19:50:57 +07:00
Andrew Bonventre
1b78cc1389
Update to Go v1.2.1
2014-04-19 13:09:33 -04:00
Yicheng Qin
215ff2839d
Merge pull request #743 from unihorn/70
...
fix(btrfs): build btrfs based on platform
2014-04-18 14:34:58 -07:00
Yicheng Qin
ece25833aa
Merge pull request #738 from unihorn/68
...
feat(peer_server): forbid rejoining with different name
2014-04-18 11:49:36 -07:00
Yicheng Qin
21693b70f7
Merge pull request #737 from ghodss/fix-dir-ttl-response
...
fix(store.go) include node.dir = true when updating a directory's ttl
2014-04-18 11:47:29 -07:00
Yicheng Qin
7bf1936df3
fix(btrfs): build btrfs based on platform
2014-04-18 11:20:38 -07:00
Yicheng Qin
000e3ba651
chore(rejoin_test): rewrite some printout
2014-04-18 10:48:14 -07:00
Yicheng Qin
9f228550a2
Merge pull request #730 from unihorn/65
...
chore(server): deprecate mod temporarily
2014-04-18 10:46:09 -07:00
Yicheng Qin
a2749bad53
docs(modules): make reasons for deprecation much more clear
2014-04-18 10:36:59 -07:00
Yicheng Qin
e0fbe27c99
fix(join_command): use RaftURL as peer address
2014-04-18 10:28:24 -07:00
Yicheng Qin
5602d4a2ee
docs(modules): make reasons for deprecation more clear
2014-04-18 09:31:57 -07:00
Yicheng Qin
b742af56ec
Merge pull request #723 from unihorn/63
...
tests: add TestJoinThroughFollower
2014-04-17 19:44:46 -07:00
Yicheng Qin
b17703a9e4
chore(tests/join): adjust output
2014-04-17 19:28:58 -07:00
Yicheng Qin
0c95e1eabb
feat(peer_server): forbid rejoining with different name
...
Or it will confuse the cluster, especially the heartbeat between nodes.
2014-04-17 15:46:33 -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
Sam Ghods
3ae0a1e1a6
fix(store.go) include node.dir = true when updating a directory's ttl, fixes coreos/etcd#736
2014-04-17 15:15:41 -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
1eaa9c9899
docs: record module deprecation
2014-04-16 23:24:11 -07:00
Yicheng Qin
a1a91ab75a
chore(server): deprecate mod temporarily
2014-04-15 12:50:36 -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