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

1749 Commits

Author SHA1 Message Date
Ruben S. Montero
631abcdd1f F #4937: Adds XML-RPC method to execute & replicate SQL commands 2017-05-25 17:48:29 +02:00
Javi Fontan
8de979e42c Bump version 5.3.80 2017-05-25 16:07:35 +02:00
Ruben S. Montero
db9f9dedca Merge branch 'feature-4809' 2017-05-25 10:44:39 +02:00
Ruben S. Montero
c8d88de091 F #4809: Do not doble-unlock raft mutex in timer. Fix update of
heartbeat counter
2017-05-24 23:57:37 +02:00
Ruben S. Montero
98d26e9e4c F #4809: Do not accept empty records. Increase default xml-rpc timeouts 2017-05-24 20:38:13 +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
afca14d75c F #4809: Initialize last_index of federated log when starting replica
threads
2017-05-22 22:51:34 +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
Ruben S. Montero
4a780941ec F #4809: Refresh zone list on server add/remove to keep an updated list
of servers
2017-05-19 20:37:58 +02:00
Ruben S. Montero
c5f54f8117 F #4809: First version of replication thread for federated zones 2017-05-19 20:08:45 +02:00
Vlastimil Holer
3c71258c84
B #3705: DRIVER configuration for the TM_MAD_CONF 2017-05-19 10:44:02 +02:00
Ruben S. Montero
2676d8b785 feature #4809: Start the federation replica manager with OpenNebula 2017-05-18 21:25:02 +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
faa46d9c22 F #4809: fix compilation 2017-05-16 12:21:55 +02:00
Ruben S. Montero
b38874a042 F #4809: Moved zone server list to ZonePool. Added FedLogDB class 2017-05-16 12:02:02 +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
ac76ab4549 F #4809: Reload ACL rule cache when a server becomes zone leader 2017-05-08 23:57:51 +02:00
Ruben S. Montero
590b3548e9 F #4809: Forward request to leader 2017-05-08 19:48:41 +02:00
Ruben S. Montero
59cf651dd6 F #4809: API methods leader_only attribute. List, Info and Raft methods
are not leader only.
2017-05-08 10:47:42 +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
503b2835b8 F #4809: Update API internal name to match public xml-rpc names. Do not log
heartbeat/replicate log entries
2017-05-07 23:43:20 +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
c8f77ab8be F #4809: Remove cache from core pools 2017-05-06 00:20:29 +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
03c5698a72 F #4809: Fix several issues accessing the log records 2017-05-04 22:56:07 +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
Ruben S. Montero
0c8299f1b2 feature #4809: Bootstrap LogDB tables in DB, initialize next_index 2017-04-25 11:49:52 +02:00
Ruben S. Montero
f2039e0260 F #4809: Added LogDBManger to Zone server 2017-04-23 13:09:12 +02:00
Ruben S. Montero
b26e5a716a F #4809: Replication logic 2017-04-23 01:43:01 +02:00
Ruben S. Montero
ed0d64a2a0 F #4809: Updated log structure 2017-04-21 22:32:30 +02:00
Ruben S. Montero
bca17f4ee6 F #4809: Update SqlDB method name. DO NOT replicate monitoring data 2017-04-21 19:16:45 +02:00
Ruben S. Montero
dd0598aaa6 F #4809: Work on log management and replication 2017-04-21 16:52:54 +02:00
Ruben S. Montero
116425fc99 F #4809: Template for the LogDBManager 2017-04-20 17:11:56 +02:00
Ruben S. Montero
c8981e82a3 F #4809: Some implementation files. Fix compilation issues 2017-04-20 16:13:41 +02:00
Ruben S. Montero
bae57600fe F #4809: Some notes on the implementation of the log replication for
zone servers
2017-04-19 20:44:31 +02:00