Yicheng Qin
356675b70f
fix(multi_node_kill_all_and_recovery_test): ensure cluster running
2014-05-31 10:15:03 -07:00
Yicheng Qin
d7768635fd
fix(server): set joinIndex when recovered
2014-05-31 10:03:39 -07:00
Yicheng Qin
37796ed84c
tests: add TestMultiNodeKillAllAndRecorveryAndRemoveLeader
...
This one breaks because it doesn't set joinIndex correctly.
2014-05-31 10:01:45 -07:00
Yicheng Qin
f007cf321d
Merge pull request #818 from unihorn/96
...
fix(standby_server): able to join the cluster containing itself
2014-05-30 18:36:58 -07:00
Yicheng Qin
ca29691543
tests(standby_test): comments
2014-05-30 18:36:23 -07:00
Yicheng Qin
4bebb538eb
fix(standby_server): able to join the cluster containing itself
...
Standby server will switch to peer server if it finds that
it has been contained in the cluster.
2014-05-30 14:03:49 -07:00
Brandon Philips
c27db1ec5e
Merge pull request #816 from unihorn/95
...
docs(clustering): limit for peer-address changing
2014-05-30 13:45:12 -07:00
Brandon Philips
a5fc1d214d
Merge pull request #817 from cholcombe973/master
...
Adding autodock into the libraries and tools section
2014-05-30 13:41:32 -07:00
Chris Holcombe
1df0b941d7
Adding autodock into the libraries and tools section
2014-05-30 13:20:28 -07:00
Rob Szumski
3a71eb9d72
Merge pull request #808 from robszumski/update-optimal-size
...
fix(docs): add information about standbys
2014-05-30 12:26:07 -07:00
Rob Szumski
001cceb1cd
fix(docs): update doc with standby info
2014-05-30 12:23:22 -07:00
Yicheng Qin
98ff4af7f2
docs(clustering): limit for peer-address changing
2014-05-30 08:50:16 -07:00
Brandon Philips
b3c5ed60bd
chore(pkg/btrfs): remove accidental swp file.
2014-05-22 09:50:40 -07:00
Brandon Philips
22c944d8ef
chore(server): bump 0.4.0+git
2014-05-20 20:55:57 -07:00
Brandon Philips
a2d16b52bb
chore(server): bump to 0.4.1
v0.4.1
2014-05-20 20:46:46 -07:00
Brandon Philips
b637b3a607
Merge pull request #806 from philips/add-machine-api-docs
...
fix(server): add user facing remove API
2014-05-20 20:41:21 -07:00
Brandon Philips
0eba3c9000
feat(Documentation): document the entire admin machines API
...
Flesh out this document a bit more completely.
2014-05-20 20:25:34 -07:00
Brandon Philips
c3aab42959
fix(Documentation): update based on standby refactor
...
These docs were not updated after the refactoring of the standy mode.
Fix that now.
2014-05-20 20:07:47 -07:00
Brandon Philips
62560f9959
fix(server): add user facing remove API
...
This was accidently removed as we refactored the standy stuff. Re-add this
user facing remove endpoint that matches the config endpoints.
2014-05-20 20:01:10 -07:00
Brandon Philips
3c04f8b664
fix(scripts/build-release): put everything into a release dir
2014-05-20 17:53:17 -07:00
Brandon Philips
cc37c58103
chore(server): bump to 0.4.0+git
2014-05-20 17:10:28 -07:00
Brandon Philips
07d1eb0edb
chore(server): bump to 0.4.0
v0.4.0
2014-05-20 17:09:22 -07:00
Blake Mizerany
9a006d673b
doc(README): add note about 32bit systems - fixes 358
2014-05-20 16:23:33 -07:00
Xiang Li
6860bfdd28
Merge pull request #805 from xiangli-cmu/fix_test
...
fix(test/remove_node_test.go) fix a deadlock in the test
2014-05-20 14:37:53 -07:00
Xiang Li
aaedf32c04
fix(test/remove_node_test.go) fix a deadlock in the test
...
The go-etcd client waits for the response from the paused node. And the test waits for the reponse to continue.
Actually we do not even need that small test, since we will check the machine status afterwards.
2014-05-20 14:34:59 -07:00
Xiang Li
16d89c906b
Merge pull request #804 from xiangli-cmu/fix_curr_index_race
...
fix(store): synchronize access to CurrentIndex
2014-05-20 14:32:45 -07:00
Xiang Li
516ebdb49e
fix(store): synchronize access to CurrentIndex
2014-05-20 13:53:47 -07:00
Xiang Li
1e7a7b11dd
Merge pull request #799 from xiangli-cmu/deny_unknow_peer
...
hack(server): notify removed peers when they try to become candidates
2014-05-20 13:37:14 -07:00
Xiang Li
4c953a7ca2
Merge pull request #803 from unihorn/94
...
fix(peer_server): set store and registry when setting raft server
2014-05-20 13:36:16 -07:00
Yicheng Qin
934c28d498
fix(peer_server): set store and registry when setting raft server
...
New raft server needs new store and registry.
2014-05-20 13:12:12 -07:00
Xiang Li
0c8b13c04f
Merge pull request #19 from unihorn/92
...
tests(remove_node): add TestRemovePausedNode
2014-05-20 11:06:00 -07:00
Yicheng Qin
9e5b12f591
tests(remove_node): add TestRemovePausedNode
2014-05-20 11:01:14 -07:00
Xiang Li
189fece683
hack(server): notify removed peers when they try to become candidates
...
A peer might be removed during a network partiton. When it comes back it
will not have received any of the log entries that would have notified
it of its removal and go onto propose a vote. This will disrupt the
cluster and the cluster should give the machine feedback that it is no
longer a member.
The term of a denied vote is MaxUint64. The notification of the removal
is a raft event. These two modification are quick heck.
In reaction to this notification the machine should shutdown. In this
case the shutdown just moves it towards becoming a standby server.
2014-05-20 10:17:32 -07:00
Brandon Philips
ad27aa0f70
Merge pull request #791 from yifan-gu/ipv6_zone_fix
...
Ipv6 zone fix
2014-05-20 09:37:28 -07:00
Brandon Philips
dffe460210
Merge pull request #793 from binocarlos/patch-1
...
Added the -peer-heartbeat-interval option
2014-05-20 09:30:11 -07:00
Yifan Gu
b4e4bf4b75
fix(config.go)
...
return a valid URL struct from sanitizeURL()
pass the URL struct above to sanitizeBindAddr()
Since url.Parse() will return an error when parsing an already-parsed
ipv6 url string, (e.g. [http://[fe80::6203:8ff:fe9e:ace%25eth0]:7001 ),
so I just return the valid URL struct from sanitizeURL() and send it to
sanitizeBindAddr(), then there is no need to parse it again in sanitizeBindAddr().
Besides, for IPV6 url, the percent sign should be escaped, see:
http://en.wikipedia.org/wiki/IPv6_address#Link-local_addresses_and_zone_indices
2014-05-18 12:42:47 -07:00
Kai Davenport
e9482167a8
Added the -peer-heartbeat-interval option
2014-05-18 19:22:48 +01:00
Brandon Philips
cbcf55dabb
Merge pull request #744 from unihorn/71
...
docs(api): add Cluster Config API
2014-05-18 10:09:07 -07:00
Brandon Philips
1084e51320
Merge pull request #786 from unihorn/91
...
feat(standby_server): write cluster info to disk
2014-05-18 10:08:52 -07:00
Brandon Philips
ad9155c82a
Merge pull request #789 from bass3m/master
...
Add Julia etcd client
2014-05-17 16:15:35 -07:00
Yicheng Qin
84f71b6c87
chore(standby_server): remove error return
...
because standby server should be started in best efforts.
2014-05-16 18:07:49 -04:00
Bassem Youssef
d2d68f96fc
Add Julia etcd client
2014-05-16 10:11:31 -07:00
Yicheng Qin
71679bcf56
feat(standby_server): make atomic move for file
...
to avoid the risk of writing out a corrupted file.
2014-05-16 01:00:07 -04:00
Yicheng Qin
a824be4c14
feat(standby_server): save/load Running into disk
2014-05-16 00:10:15 -04:00
Yicheng Qin
35cc81e22f
feat(standby_server): save/load syncInterval to disk
2014-05-15 23:57:58 -04:00
Yicheng Qin
716496ec42
chore(standby_server): still sleep for the first time
2014-05-15 23:18:59 -04:00
Yicheng Qin
e5ce4fca2e
docs(standbys): clarify pseudocode
2014-05-15 22:47:12 -04:00
Jonathan Boulle
9940347eea
Merge pull request #788 from alex-sherwin/patch-1
...
fix(doc): fixed typo for etcd lock examples
2014-05-15 18:30:15 -07:00
Alex Sherwin
d2a2cc13b0
fixed typo for etcd lock examples
2014-05-15 21:27:50 -04:00
Yicheng Qin
b7d9fdbd39
feat(standby_server): write cluster info to disk
...
For better fault tolerance and availability.
2014-05-15 07:47:15 -04:00