1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-06 13:17:42 +03:00
Commit Graph

28 Commits

Author SHA1 Message Date
juanmont
b443aa5547 B #5496: Changed getpwuid function and xmlrpc_secret to a local variable 2017-10-27 13:19:20 +02:00
Ruben S. Montero
a6addb314e Raft stability patch:
* Do not reset vote on followers upon successful election
  * Cache one_auth secret to fix mt issue and improve heartbeat
  performance
  * Remove debug message when a record is not loaded
  * Remove default timeout for curl library
2017-08-03 12:28:48 +02:00
Ruben S. Montero
0a2f18a79b F #4809: Better heartbeat management. A separated thread is created for
each follower
2017-06-03 19:24:19 +02:00
Javi Fontan
8de979e42c Bump version 5.3.80 2017-05-25 16:07:35 +02:00
Ruben S. Montero
a216bb9eb4 F #4809: Raft servers / zone slave lists updated on server-add in the
rigth place (leaders/masters)
2017-05-23 13:31:18 +02:00
Ruben S. Montero
31ba4d4d85 F #4809: Fix some bugs when replicating log entries to slave zones 2017-05-22 18:04:16 +02:00
Jaime Melis
85b6ed2543 F #4809: Implement Hooks on RAFT events 2017-05-18 16:36:26 +02:00
Ruben S. Montero
5e92ec0abc F #4809: Use int for object IDs. Added base federation replica manager 2017-05-16 17:09:00 +02:00
Ruben S. Montero
741a55d17e F #4809: Generic replication serves. Solve minor bugs in election
process
2017-05-14 23:48:46 +02:00
Ruben S. Montero
590b3548e9 F #4809: Forward request to leader 2017-05-08 19:48:41 +02:00
Ruben S. Montero
c1317ed697 F #4809: Store the leader_id for the term 2017-05-08 10:12:49 +02:00
Ruben S. Montero
9d3973461c F #4809: Keep last_index counters internally. Commit log records on
heartbeats
2017-05-06 23:36:08 +02:00
Ruben S. Montero
c14d648e32 F #4809: Method to query raft status one servers. Updated CLI to make
use of it
2017-05-06 00:17:27 +02:00
Ruben S. Montero
9e1fd142c3 F #4809: Debug election process 2017-05-05 15:46:57 +02:00
Ruben S. Montero
c6a7500df5 F #4809: Adds vote requests from candidate, fix some bugs 2017-05-03 20:04:42 +02:00
Ruben S. Montero
2a695bc8f0 F #4809: Persist raft state. Implement Vote API call 2017-05-03 00:31:02 +02:00
Ruben S. Montero
3f9638be1b F #4809: Condifugre raft timers through oned.conf 2017-05-02 17:57:55 +02:00
Ruben S. Montero
071d0d840f F #4809: start/stop replica threads when adding/deleting servers 2017-05-02 01:38:30 +02:00
Ruben S. Montero
3be9f38d92 F #4809: ActionManager can set timers in in ns. Adjust Raft manager to ms timers. Include Hearbeat control from leader and follower. XML-RPC calls are now async. RaftManager db calls is now decoupled with pool classes. 2017-05-01 22:30:45 +02:00
Ruben S. Montero
5441a2f834 F #4809: Log retention system 2017-04-29 23:25:53 +02:00
Ruben S. Montero
dd51b58331 F #4809: DO NOT monitor marketplaces, nor datastores in followers 2017-04-28 22:46:37 +02:00
Ruben S. Montero
6f976c1eb8 F #4809: Make some Raft events synchronous with replication threads 2017-04-28 22:23:32 +02:00
Ruben S. Montero
613ec63426 F #4809: Fix replication logic 2017-04-28 19:35:57 +02:00
Ruben S. Montero
8851308864 F #4809: ReplicateLog client logic 2017-04-27 12:42:09 +02:00
Ruben S. Montero
cc08fd98b7 F #4809: replicate logic for leader 2017-04-27 11:12:30 +02:00
Ruben S. Montero
900c37fdf5 F #4809: Solves some bugs 2017-04-27 02:16:13 +02:00
Ruben S. Montero
7c479b8ecb F #4809: Restructure Raft implementation 2017-04-27 01:03:44 +02:00
Ruben S. Montero
4c577126fa F #4809: Improve replication logic, new RaftManager to control server
states
2017-04-25 17:15:31 +02:00