Ruben S. Montero
b59ee42750
Revert "F #2722 : Increase the size of the replication and federation log indexes"
...
This reverts commit 1da93f3732
.
2019-04-08 17:09:56 +02:00
Ruben S. Montero
1da93f3732
F #2722 : Increase the size of the replication and federation log indexes
...
co-authored-by: Christian González <cgonzalez@opennebula.systems>
2019-04-08 14:38:02 +02:00
Vlastimil Holer
441cf1f7f9
Bump version to 5.7.85, year to 2019
2019-01-16 11:47:59 +01:00
Ruben S. Montero
bf3291306a
Improve checks to prevent unneeded replication triggers
...
(cherry picked from commit 50a588c38b
)
(cherry picked from commit d21a0c9582
)
(cherry picked from commit 64e7c5bbd0
)
(cherry picked from commit 48881ae10a
)
(cherry picked from commit dd07086791
)
2018-09-08 13:38:01 +02:00
Ruben S. Montero
32dd228376
Compute number of replicas needed to commit a log record
...
(cherry picked from commit 877df62c4f
)
2018-08-31 00:47:42 +02:00
Ruben S. Montero
914368d300
Better trigger of replication requests. Synchronize DB writers and Raft
...
main thread.
On followers, replace exisiting records when matching index and term to
cope with API reset because of timeouts.
(cherry picked from commit 7719e7c17b
)
(cherry picked from commit 5490872507
)
(cherry picked from commit 2f281b51f3
)
(cherry picked from commit ccdbb99e9d
)
2018-08-05 19:03:01 +02:00
juanmont
f3f64f493e
F #2143 : Added new call to reset index
2018-06-20 17:58:19 +02:00
Ruben S. Montero
97f957460f
B #1555 : Replicate log on leadership changes
...
(cherry picked from commit 5c97553267
)
2018-01-08 00:35:40 +01:00
Vlastimil Holer
a4c0447ccf
Bump year to 2018 ( #1623 )
2018-01-02 18:27:37 +01:00
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