Xiang Li
|
426830f22c
|
Merge https://github.com/goraft/raft into upstream
|
2013-09-22 01:16:46 -04:00 |
Xiang Li
|
c159d918d3
|
fix takesnapshot
|
2013-09-22 01:15:54 -04:00 |
Brandon Philips
|
adb4299e5b
|
chore(server): spelling error
s/connectiongString/connectionString/
|
2013-09-21 21:08:18 -07:00 |
Ben Johnson
|
f8486a5eab
|
Merge pull request #113 from coreos/upstream
check sendSRR response
|
2013-09-20 13:57:35 -07:00 |
Xiang Li
|
dbedc982df
|
fix snapshot related issue
|
2013-09-18 00:19:46 -04:00 |
Ben Johnson
|
26365a2dc9
|
Minor refactor of AddPeer/RemovePeer.
|
2013-08-19 09:54:44 -06:00 |
Xiang Li
|
851ca9ceea
|
add connectionstring
|
2013-08-15 16:35:01 -07:00 |
Xiang Li
|
ff29c6d17d
|
wip/ move write/read to server.go and add test
|
2013-08-15 12:25:00 -07:00 |
Xiang Li
|
8ed555bb32
|
merge
|
2013-08-13 14:32:35 -07:00 |
Xiang Li
|
cd98f72c58
|
conf
|
2013-08-13 14:31:19 -07:00 |
Xiang Li
|
132dae3022
|
before remove the node, flush the remove command to the node first
|
2013-08-12 14:46:32 -07:00 |
Xiang Li
|
27906fddaa
|
snapshot should be an API
|
2013-08-10 10:53:39 -07:00 |
Brandon Philips
|
406a9cac6a
|
fix(server): un-nest arg checking
simplify the nesting in AddPeer
|
2013-08-09 10:10:28 -07:00 |
Fabrizio (Misto) Milo
|
559a01e6dc
|
use switch.(type)
|
2013-08-06 21:46:25 -07:00 |
Fabrizio (Misto) Milo
|
54bd5ebbe3
|
use switch.(type)
|
2013-08-06 21:46:25 -07:00 |
Fabrizio (Misto) Milo
|
a9aa0741be
|
nip comment
|
2013-08-06 21:33:37 -07:00 |
Fabrizio (Misto) Milo
|
1247826c5d
|
use switch.(type)
|
2013-08-06 21:32:00 -07:00 |
Fabrizio (Misto) Milo
|
6332689fe0
|
use switch.(type)
|
2013-08-06 21:29:40 -07:00 |
Fabrizio (Misto) Milo
|
e5530c40fe
|
add defer to guard against unexpected panics
|
2013-08-06 21:11:09 -07:00 |
Fabrizio (Misto) Milo
|
6fcb929318
|
add mutex
|
2013-08-06 21:02:30 -07:00 |
Xiang Li
|
5ad230d9dc
|
should break instead of return
|
2013-08-06 00:02:17 -07:00 |
Xiang Li
|
31db0ff136
|
init fix
|
2013-08-02 19:00:11 -07:00 |
Xiang Li
|
75c9644bbc
|
avoid deadlock
|
2013-08-02 09:03:23 -07:00 |
Xiang Li
|
78cb651d93
|
move buf to log struct
|
2013-08-01 17:58:03 -07:00 |
Xiang Li
|
ecd1b05db6
|
add leaveCommand interface
|
2013-07-26 13:33:58 -07:00 |
Xiang Li
|
e4f2c13906
|
change join command to interface, so application can overwrite it
|
2013-07-26 12:13:52 -07:00 |
Xiang Li
|
a0ff3aa7e5
|
update leader name when server is follower
|
2013-07-25 17:56:49 -07:00 |
Xiang Li
|
b8d1d3ac0c
|
update leadername
|
2013-07-25 17:49:01 -07:00 |
Xiang Li
|
32f6bd69dc
|
change promotable to a func
|
2013-07-25 16:16:06 -07:00 |
Xiang Li
|
1485b56f82
|
refactor
|
2013-07-25 15:47:35 -07:00 |
Xiang Li
|
a7e01bb47a
|
improve init process
|
2013-07-25 15:40:20 -07:00 |
Xiang Li
|
057351ea5c
|
with assertion problem at server.go L567
|
2013-07-25 14:26:27 -07:00 |
Xiang Li
|
2a55836dbe
|
Merge branch 'addSyncAttr'
|
2013-07-24 17:15:20 -07:00 |
Xiang Li
|
95efaa7a0b
|
write multiple entries with a buffered io
|
2013-07-24 11:03:20 -07:00 |
Xiang Li
|
487fe5874d
|
refactor fixlog
|
2013-07-23 15:30:14 -07:00 |
Xiang Li
|
d286dfdc6c
|
write log entry to file on disk when appendEntry and truncate log file on disk when truncate log entries
|
2013-07-20 19:07:16 -07:00 |
Xiang Li
|
e4e81010ae
|
change func names and fix typo
|
2013-07-18 16:44:01 -07:00 |
Xiang Li
|
800aaa64b7
|
change getLogEntry to getEntry
|
2013-07-18 16:29:06 -07:00 |
Xiang Li
|
dee43ecd60
|
add spanshot loop with protobuf
|
2013-07-18 13:39:07 -07:00 |
Xiang Li
|
e3322b65d5
|
Merge branch 'snapshotLoop' into newSnapshotLoop
|
2013-07-18 10:21:03 -07:00 |
Xiang Li
|
bcdc237b3e
|
Merge https://github.com/coreos/go-raft
|
2013-07-17 14:24:31 -07:00 |
Ben Johnson
|
e3b06c530a
|
[Fix #74] Refactor to use binary log and binary RPCs.
|
2013-07-17 07:45:53 -06:00 |
Xiang Li
|
5bfda2c28e
|
remove nitro package
|
2013-07-16 18:00:16 -07:00 |
Xiang Li
|
b743f48d71
|
add snapshotting state
|
2013-07-16 17:40:19 -07:00 |
Xiang Li
|
1bbbf7ca6a
|
remove nitro
|
2013-07-16 13:23:05 -07:00 |
Xiang Li
|
5c9cec3f74
|
keep recent log entries after snapshot
|
2013-07-16 13:16:33 -07:00 |
Xiang Li
|
10f8b9f836
|
Merge https://github.com/benbjohnson/go-raft
|
2013-07-16 12:28:52 -07:00 |
Xiang Li
|
557c735f69
|
move MLPR frmo log to server
|
2013-07-14 22:48:41 -07:00 |
Xiang Li
|
5482d260ce
|
follower will not promote until get synced
|
2013-07-11 18:03:24 -07:00 |
Xiang Li
|
9cafa8fe1d
|
add nitro tool to go-raft lib
|
2013-07-11 12:56:34 -07:00 |