59 Commits
Author SHA1 Message Date
Ruben S. Montero ebbb7be5d4 M #-: Bump version 7.3.80 2026-03-30 09:58:53 +02:00
Tino Vázquez a64f071808 M #-: Bump year 2025 2025-02-28 11:56:18 +01:00
Tino Vázquez 05d147c524 M #-: Bump version 6.10.0
Also bump copyright year to 2024
2024-07-29 14:27:11 +02:00
Pavel Czerný 2fe396ae15 L #-: Add Astyle linting
* Add AStyle to smoke tests
* Format C++ files using AStyle
2024-06-03 11:40:24 +02:00
Pavel Czerný 8e7ff2ed36 F #6103: Last set of CppCheck issues (#2481)
(cherry picked from commit 4a9662a551)
(cherry picked from commit d7b7303f8f)
2023-02-07 08:56:52 +01:00
Pavel Czerný a5c57b69b3 M #-: Add CppCheck to smoke tests (#2464) 2023-01-31 13:46:09 +01:00
Tino Vázquez 3376afdaf0 M #-: Bump year 2023 2023-01-09 12:23:19 +01:00
Tino Vazquez f7d53e75ff M #-: Bump version 6.3.85 2022-04-07 19:49:58 +02:00
Vlastimil Holer 096754b63f M #-: Bump year to 2021 (#778) 2021-02-09 16:07:56 +01:00
Ruben S. MonteroandPavel Czerny 0471e486b0 F #4396: Replace pthread with std::thread. Require C++14
co-authored-by: Pavel Czerny <pczerny@opennebula.systems>
2020-09-10 13:44:49 +02:00
Ruben S. MonteroandPavel Czerný 565094961a F #4936: oned refactor
* Remove duplicit methods from NebulaUtil

    * Const correctness

    * Fix minor code quality issues

    * Remove ObjectCollection::clone()

    * Minor SSLUtil interface change

co-authored-by: Pavel Czerný <pczerny@opennebula.systems>
2020-07-05 22:01:32 +02:00
Pavel Czerný daaf132a43 F #4936: Remove 'using namespace std' from headers (#60) 2020-07-02 22:42:10 +02:00
Ruben S. MonteroandPavel Czerny a3d8d4a65e F #4936: Refactor Driver and Message classes in OpenNebula daemon
co-authored-by: Pavel Czerny <pczerny@opennebula.systems>
2020-06-29 12:14:00 +02:00
Ruben S. Montero 2e584277f6 M #-: Remove unused function 2020-05-04 14:42:01 +02:00
Christian González 7b6b054b1a B #4636: Fix Federation replication bug (#4638) 2020-05-04 14:38:50 +02:00
Christian González 374260fe05 M #: Improve logdb purge (#4637) 2020-04-30 18:11:08 +02:00
Vlastimil Holer f3c50a5d89 M #-: Year bump to 2020 (#4634) 2020-04-30 15:00:02 +02:00
Ruben S. Montero 9aa1041103 F #3600: Initial PostgreSQL Support
co-authored-by: Igor Sivy <igorsivy@gmail.com>
co-authored-by: Pavel Czerny <pczerny@opennebula.io>
co-authored-by: Vlastimil Holer <vholer@opennebula.io>
(cherry picked from commit c52f62018c32281c6e418211f33f1bba46388e98)
2020-04-13 17:35:06 +02:00
Ruben S. Montero 079d5d7d21 b #3409: Update users & groups quotas only in the zone DB 2019-06-07 16:57:01 +02:00
Ruben S. Montero e6c785b954 Feature #2722: Minor changes and data type fixes 2019-04-15 17:07:30 +02:00
Ruben S. MonteroandChristian González c64d63f3d5 F #2722: Increase the size of the replication and federation log indexes
co-authored-by: Christian González <cgonzalez@opennebula.systems>
2019-04-08 17:43:12 +02:00
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. MonteroandChristian González 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
Ruben S. MonteroandChristian González 8fbd126ca2 development: Fix race condition between the expiration of the replica timeout and the pending_requests state change. api server cache mode
Co-authored-by: Christian González <cgonzalez@opennebula.systems>
2019-02-19 12:40:07 +01:00
Ruben S. Montero 7a4a83cefd development: revert SqlDB protorype to int error codes 2019-02-13 13:00:20 +01:00
Ruben S. Montero 4829adc738 development: SQL errors because of duplicated keys are considered
applied for RAFT replications. This log entries may be added in the log
because of a race condition between writing threads (i.e. two threads
creating a user with the same name). Adds new error interface for SqlDB.
2019-02-13 10:43:06 +01:00
Christian González b2aab50f95 F #2671 Fix version bug and migrator for search option (#2869) 2019-01-31 17:09:47 +01:00
Vlastimil Holer 441cf1f7f9 Bump version to 5.7.85, year to 2019 2019-01-16 11:47:59 +01: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
Ruben S. Montero aaf5e444d5 B #2144: Better purge for federated records
(cherry picked from commit 6ba048c9d3)
2018-06-17 16:38:16 +02:00
juanmont c08d7e5d47 F #1927 Check if sqlite has been compiled to use LIMIT with DELETE and UPDATE 2018-04-25 17:05:30 +02:00
Ruben S. Montero 9b96c8fd3c F #1927: Extend Sql interface, free results of MySQL query.
(cherry picked from commit f502d17923a12f1f4df59e5ae100802ab6d5ba9c)
2018-04-23 12:54:27 +02:00
juanmont dfa535441e F #1927:
- Added the possibility to know how many rows have been affected
 - Added new Attribute to specify the limit for the purge

(cherry picked from commit b5700eb6d1)
2018-04-23 12:54:26 +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
Ruben S. Montero 55d82ac237 B #5307: Build index for logdb table 2017-08-09 10:45:01 +02:00
Ruben S. Montero 80d0816666 F #4809: Re-design replicated log structure 2017-06-29 19:48:21 +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 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 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