Commit Graph
57 Commits
Author SHA1 Message Date
Ruben S. Montero 6ba048c9d3 B #2144: Better purge for federated records 2018-06-17 12:43:09 +02:00
juanmont f0b260f771 B #2144: Changed SQL query to delete only non federated logs 2018-06-15 13:09:59 +02:00
Ruben S. Montero ba0231ab0d B #2144: Fix federation for non HA deployments. Better purge 2018-06-14 11:52:08 +02:00
Ruben S. Montero 894d06c18e F #1792: Greatly improve concurrency by: Remove big lock on pool control class. Increase number of MySQL connections (new configuration variable). Make all parser reentrants. This commit also simplifies the pool references.
(cherry picked from commit a3d3ceb771034794c4fb453dcd9aaff64c53baed)
(cherry picked from commit 37222d65dc)
2018-03-19 16:25:39 +01:00
Ruben S. Montero 5c97553267 B #1555: Replicate log on leadership changes 2018-01-08 00:33:17 +01:00
Jaime Melis 1d62fbcfc2 Revert "Bump year to 2018 (#1624)"
This reverts commit 5f6936d1b0.

Better not to play with configuration files...
2018-01-04 15:57:51 +01:00
Vlastimil Holer 5f6936d1b0 Bump year to 2018 (#1624) 2018-01-02 18:28:03 +01:00
Ruben S. Montero 9158a2b970 B #5307: Build index for logdb table
(cherry picked from commit 55d82ac237)
2017-08-09 10:46:46 +02:00
Ruben S. Montero 74206bd902 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

(cherry picked from commit a6addb314e)
2017-08-03 12:35:25 +02:00
Ruben S. Montero fa9e5d947b Added debug information to LogDB operations 2017-07-12 13:02:40 +02:00
Jaime Melis 822602ca45 MySQL exec now returns the status of the callback 2017-07-07 17:29:03 +02:00
Ruben S. Montero 899b460abd F #4809: Enable federated of solo Zones 2017-06-30 11:48:23 +02:00
Ruben S. Montero 80d0816666 F #4809: Re-design replicated log structure 2017-06-29 19:48:21 +02:00
Ruben S. Montero c6286c0384 F #4809: Safer purge function for RAFT log 2017-06-28 19:50:55 +02:00
Ruben S. Montero 35da0ee157 F #4809: Fix check 2017-06-01 16:21:45 +02:00
Ruben S. Montero d3c7a07a34 F #4809: Check log records are properly loaded from DB 2017-06-01 16:14:29 +02:00
Jaime Melis 50d0a6b42c F #4809: sql is a reserved keyword in MySQL 2017-06-01 12:21:56 +02:00
Ruben S. Montero 50880bb271 F #4809: Do not write log in solo mode, update instead of insert for
timestamps
2017-06-01 11:13:12 +02:00
Ruben S. Montero f12fdfaead F #4809: Compress DB commands. 2017-06-01 00:52:20 +02:00
Ruben S. Montero 234734a3c7 F #4809: Better query to purge log records 2017-05-30 16:16:03 +02:00
Javi Fontan 8de979e42c Bump version 5.3.80 2017-05-25 16:07:35 +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 b38874a042 F #4809: Moved zone server list to ZonePool. Added FedLogDB class 2017-05-16 12:02:02 +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 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 5441a2f834 F #4809: Log retention system 2017-04-29 23:25:53 +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
Javi Fontan e1f6dee180 Update copyright notice year 2016-05-04 12:33:23 +02:00
Ruben S. Montero 5761be4d10 feature #4217: Simplify Template, Attribute and PoolObjectSQL class interfaces 2016-02-05 00:33:37 +01:00
Jaime Melis e20fb5c4c4 Fix copyright in banners 2015-09-23 16:51:10 +02:00
Carlos Martín 3da52fe163 Bug #3630: Showback uses a transaction for sqlite backends 2015-02-24 15:34:11 +01:00
Jaime Melis 8d00b74177 Change year to 2015 2015-02-24 12:27:59 +01:00
Jaime Melis 11520021f7 Bump to version 4.5.0 2014-01-09 11:51:20 +01:00
Carlos Martín a9bccd4423 Feature #1683: Simplify bootstrap methods 2013-10-08 15:14:12 +02:00
Robert Schweikert 2054836301 Feature #1683: create a way to initialize without service start + This allows a mode to just initialize the database + Changes the decision making about DB bootstrapping such that a missing DB no longer produces misleading messages in the log file + Allows the DB to be initialized/bootstrapped during an automated install process without having to wait for some arbitrary time to kill the daemon - return the SQL error code from the DB::exec method + This allows to make decisions about DB bootstrapping earlier and avoids misleading messages in the log file 2013-10-08 15:14:00 +02:00
Ruben S. Montero 59bbb3b156 feature #2245: Allow multiple MySQL connections 2013-09-11 12:38:58 +02:00
Jaime Melis 7357bffe34 Update copyright notice 2013-01-24 16:18:30 +01:00
Jaime Melis af61e33f8c Update year to 2013 2013-01-24 16:03:57 +01:00
Jaime Melis a2b7cb6bc9 Bump to version 3.2.0 2012-01-12 12:29:18 +01:00
Carlos Martín b7febc83da Bug #408: Better MySQL bootstrap, and fix vm_template tests 2011-05-06 18:53:31 +02:00
Carlos Martín 27977b913d Bug #408: reconnect to MySQL server when connection fails 2011-05-06 17:06:57 +02:00
Ruben S. Montero 5dc7b686ad Fix compilation warnings with gcc4.6 2011-04-22 01:06:01 +02:00