72 Commits

Author SHA1 Message Date
Xiang Li
10b5bc9871 fix wrong snapshot path 2013-08-04 22:02:40 -07:00
Xiang Li
0ebd133a0d support version and basic stats 2013-08-02 12:31:35 -07:00
Cong Ding
13af54fdd0 revise log handling
All the log-related operations are calling functions in util.go. This makes
the consistancy of the logs.
2013-08-01 23:28:03 +02:00
Cong Ding
9375039742 update fatal to the same stile as in line 410 2013-08-01 22:45:31 +02:00
Xiang Li
aa3f0b3a2a change 404 not found to json error 2013-07-31 20:35:14 -07:00
Xiang Li
9ebc5b1a0b support go prof via flag cpuprofile 2013-07-31 19:43:44 -07:00
Xiang Li
08af8cd9b0 Merge https://github.com/coreos/etcd 2013-07-31 16:44:29 -07:00
Julius Volz
38b9758a5b Fix typo in variable name ("ELECTIONTIMTOUT"). 2013-08-01 01:17:25 +02:00
Xiang Li
79966b6550 Accept maxsize parameter. Deny further join request if reache max size 2013-07-31 11:05:12 -07:00
Xiang Li
0e6ebfa1f6 add veryverbose to ouput raft debug info 2013-07-28 20:19:39 -07:00
Xiang Li
d1158f5a11 Merge branch 'newInit' 2013-07-26 16:53:44 -07:00
Xiang Li
a6119d9499 fix grammar issue 2013-07-26 13:28:31 -07:00
Xiang Li
9ae4dec45e change init func due to the change in raft 2013-07-26 12:15:42 -07:00
Xiang Li
926edc327a refactor retryTime 2013-07-25 09:49:47 -07:00
Xiang Li
f072217b35 add retryTime 2013-07-25 09:23:04 -07:00
Xiang Li
6c6f94fedd change func para due to the api change in go-raft 2013-07-24 17:25:23 -07:00
Xiang Li
0c2ffa84af do not try the empty machine name 2013-07-24 10:40:17 -07:00
Xiang Li
d4e097df66 remove conf file when using ignore flag(due to a change in raft) 2013-07-23 15:54:12 -07:00
Xiang Li
d2382c232e not hardcode debug scheme 2013-07-20 16:29:27 -07:00
Xiang Li
732f80ceda close experimental snapshot before merge to the master 2013-07-19 08:55:40 -07:00
Xiang Li
58501151da change snapshot api due to the change in go-raft 2013-07-16 18:03:21 -07:00
Xiang Li
1357beed79 Merge pull request #22 from ccding/devc
clean code
2013-07-16 10:37:43 -07:00
Cong Ding
bac9bf59cf clean code 2013-07-16 19:32:00 +02:00
Cong Ding
dcfd6f1e07 use function fatal(...) 2013-07-16 19:02:59 +02:00
Cong Ding
fd1d908e79 fix typos 2013-07-16 01:04:41 +02:00
Xiang Li
8309c235d9 combine set and testandset command 2013-07-14 16:19:30 -07:00
Xiang Li
268ba2592a record machine info locally via join command 2013-07-14 11:45:35 -07:00
Xiang Li
f470702b88 fix a bug when compare cluster len 2013-07-13 21:02:25 -07:00
Xiang Li
76ef446baf add machinesHttpHandler 2013-07-13 19:13:07 -07:00
Xiang Li
6821747763 remove commented codes 2013-07-12 16:38:25 -07:00
Xiang Li
bff9321aa2 merge get and list operation 2013-07-12 16:04:00 -07:00
Xiang Li
3e43647303 read machines conf from file 2013-07-12 14:18:02 -07:00
Xiang Li
4b9b5d8069 merge get and list 2013-07-12 10:10:56 -07:00
Xiang Li
00d2d6eb4e gofmt 2013-07-12 08:56:10 -07:00
Xiang Li
33872501cf merge errHandling branch 2013-07-12 08:54:03 -07:00
Xiang Li
89bacedf3e change https bool to scheme string 2013-07-12 08:44:40 -07:00
Xiang Li
a131632d3d error handling 2013-07-12 08:41:28 -07:00
Xiang Li
e6354cdccf Fix a typo origin->original 2013-07-12 08:35:09 -07:00
Xiang Li
c135c1e299 add comment for HTTPTIMEOUT constant 2013-07-11 14:56:16 -07:00
Xiang Li
ffa4d1a3c0 add comment for HTTPTIMEOUT constant 2013-07-11 14:51:18 -07:00
Xiang Li
880cd71df5 add http timeout 2013-07-11 09:43:14 -07:00
Xiang Li
c2a80df3f9 fix redeclear err 2013-07-10 20:19:34 -07:00
Xiang Li
a26cb976c5 clean up prints and fix len problem 2013-07-10 20:14:32 -07:00
Xiang Li
45af72c941 redirect join to server port 2013-07-10 20:00:05 -07:00
Xiang Li
8af746ef6d accept machine list to join cluster 2013-07-10 19:02:58 -07:00
Xiang Li
2eda27e9f4 return error when cannot join the cluster 2013-07-10 16:25:37 -07:00
Xiang Li
ce0dc5433f em... should not use := 2013-07-09 20:52:41 -07:00
Xiang Li
f5796244b4 clean up etcd.go 2013-07-09 20:37:00 -07:00
Xiang Li
5271da3d19 gofmt 2013-07-09 17:31:24 -07:00
Xiang Li
a3173bfd31 sepearte raft handlers and client handlers to two files and clean up related codes 2013-07-09 17:29:47 -07:00