Xiang Li
896c944c7e
add serverStats
2013-08-20 14:05:23 -07:00
Xiang Li
a97590ff50
basic stats
2013-08-19 17:19:45 -07:00
Xiang Li
64e6d54758
add remove peer
2013-08-19 12:10:11 -07:00
Brandon Philips
53b2038d2e
feat(command): add version to join command
...
Add a version to the join command. Add a versioning document to discuss
some of the design decisions.
2013-08-18 21:54:07 -07:00
Xiang Li
cf2d6888c2
add error package
2013-08-17 20:41:15 -07:00
Xiang Li
8ed67bedbb
clean error handling
2013-08-17 15:06:21 -07:00
Xiang Li
981351c9d9
use type inheritance
2013-08-17 08:30:31 -07:00
Xiang Li
ca4b5815f7
make raft and etcd server
2013-08-17 08:30:31 -07:00
Xiang Li
32d1681b6b
change name to url in http handlers
2013-08-12 10:16:30 -07:00
Xiang Li
8e48a20c85
clean up trans.go
2013-08-11 11:56:18 -07:00
Xiang Li
ce3c55ba3f
refactor
2013-08-09 23:03:49 -07:00
Xiang Li
d3471eec7f
separate_id
2013-08-09 21:06:16 -07:00
Brandon Philips
a19048841f
feat(trasnport): add an independent node name
...
Don't let the raft algorithm know anything about the transport. Give it
a nodename instead. This will allow us to support more complex
networking setups in the future.
2013-08-09 17:09:57 -07:00
Brandon Philips
8e5a24d367
chore(etcd): introduce argInfo variable
...
reduce the global sprawl and put all of the basic info in an instance of
Info Struct
2013-08-08 12:17:25 -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
Xiang Li
d2382c232e
not hardcode debug scheme
2013-07-20 16:29:27 -07:00
Xiang Li
749a89d5a5
change SnapshotRequest to RequestSnapshot
2013-07-19 11:56:34 -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
268ba2592a
record machine info locally via join command
2013-07-14 11:45:35 -07:00
Xiang Li
45af72c941
redirect join to server port
2013-07-10 20:00:05 -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