92 Commits

Author SHA1 Message Date
2485c599d5 Fix v25 2025-07-28 15:33:30 +02:00
e023a6e6ed Address pr comments 2025-07-15 11:47:27 +02:00
8387526a6a Convert SyncBinlog to integer 2025-07-15 11:47:27 +02:00
83402b3499 Add optional deferral to automatic failover 2025-07-10 16:33:16 +02:00
4ff1a3a321 Fix linting 2025-07-08 21:32:04 +02:00
0a98e27bc8 Add verbosity to skipped switchover steps 2025-07-04 16:16:53 +02:00
676856c09f Redo typos approach 2025-05-15 18:29:54 +02:00
e92efa07ba Fix special slave probe 2025-05-02 10:59:06 +02:00
66b2bc737b Revert "Review k8s probes"
This reverts commit 8433fcc31b.
2025-05-02 10:59:06 +02:00
120e0f8117 Review k8s probes 2025-05-02 10:59:06 +02:00
801bf04266 Stub at unnamed replication connection 2025-03-26 15:51:25 +01:00
e374d1e6bd Support for TLS in replication 2025-01-28 11:22:39 +01:00
20d5497506 Support for TLS in CHANGE MASTER SQL statement 2025-01-28 11:22:39 +01:00
1a322f244f Use accountName for AlterUser 2024-11-05 12:13:47 +01:00
a3743b8513 Support replication for non-default port
fix port error
2024-10-29 18:04:46 +01:00
432b517820 mariadb updates: configure replication before updating primary
The patch aims to improve the update flow of the MariaDB CR and makes
these changes:
1. Make sure replication is configured before restarting the primary
   pod
2. Gracefully handle the case when replication is not configured not to
   requeue the reconciliation loop; otherwise, replication will never be
configured
3. Enable the existing related test that was skipped potentially
   because of this issue
4. Minor changes to spaces in various files

Signed-off-by: Oleh Neichev <oleg.neichev@gmail.com>
2024-10-22 11:53:29 +02:00
a94a882a9f Added own reference types 2024-09-23 18:13:20 +02:00
a3b1f0c3cb Make AlterUser build the query, like CreateUser does 2024-08-16 16:56:45 +02:00
022e4d0f5b Using short FQDN in CHANGE MASTER statement to be compatible with MariaDB 10.5 2024-07-01 15:22:33 +02:00
c850b0457c Initial user managed by CRs 2024-06-03 12:11:19 +02:00
2979ced53e Initial database created via Database CR 2024-06-03 12:11:19 +02:00
b81e0cfe05 Support for bettwer user reconciliation at the SQL level 2024-05-31 14:48:49 +02:00
7d3c210f3c Added preconditions for Galera and replication switchover 2024-05-25 14:12:27 +02:00
f9fd46cf7f Refactor replication password generation 2024-04-30 13:39:51 +02:00
48274e5dac Fixed replication password generation 2024-04-30 13:39:51 +02:00
fc0de8cf29 Opt-in password generation 2024-04-30 13:39:51 +02:00
49987ad503 Optional password in User CR. Locking account and expiring password if not provided 2024-04-29 14:49:54 +02:00
64afdb1d69 Refactor meta support for Secret 2024-04-02 14:14:38 +02:00
2ac9b42c3e Missing resources with inherit metadata 2024-03-30 10:51:45 +01:00
f95e034df1 Support for MaxScale in Connections 2024-02-07 19:52:12 +01:00
858316072a Configured liveness and readiness probe for replication 2024-02-01 19:57:45 +01:00
dc17c5efbb Configuring replication based on status 2024-02-01 19:57:45 +01:00
86ec45b57c Removed ConfigureReplication status condition in favor of observed replication status 2024-02-01 19:57:45 +01:00
10a84cba82 Tracking replication state in MariaDB status 2024-02-01 19:57:45 +01:00
b652053fc1 Disabled switchover and failover when MaxScale is enabled 2024-02-01 19:57:45 +01:00
4a61022fa1 Using custom password generator in Secret reconciler 2024-01-26 17:16:07 +01:00
ce6762af62 Added maxscale client 2024-01-25 15:59:04 +01:00
215c490db9 Unlocking current primary just before converting it to a replica 2023-12-22 09:53:51 +01:00
8cfd507fb3 Revert "Unlock primary during switchiver using defer"
This reverts commit 262dcaf11e.
2023-12-22 09:53:51 +01:00
992600bb76 Setting primary as read_only durin switchover 2023-12-22 09:53:51 +01:00
0e7a587592 Unlock primary during switchiver using defer 2023-12-22 09:53:51 +01:00
f295e9bd4c Removed unlock method, as tables are implicitly unlocked after the connection is closed, which happens at the end of each reconciliation cycle 2023-12-22 09:53:51 +01:00
cc10cb1731 Locking primary tables during switchover 2023-12-22 09:53:51 +01:00
6f01e43497 Moved resource keys to API pkg 2023-12-12 14:04:55 +01:00
a79e1b9cdf Decouple SQL module from API for better reusability 2023-12-03 20:10:44 +01:00
333adf3b74 Renamed pkgs to singular 2023-10-10 15:43:45 +03:00
b25c694a80 Fix broken replication. issue #231 2023-09-27 18:20:26 +02:00
bb42ac6cae BREAKING CHANGE: consolidate HA Services and Connections.
See #211 for details.
2023-08-30 21:46:24 +02:00
1e92104e16 BREAKING CHANGE: align ReplicationReconciler with GaleraReconciler.
See #197 for details.
2023-08-29 22:21:32 +02:00
b112d4b2e2 Review - Changed the Grant and Revoke API
Changed the function signature of the `Grant` and `Revoke` method from the MariaDB client.

https://github.com/mariadb-operator/mariadb-operator/pull/176#discussion_r1279679605
2023-08-01 10:06:40 +02:00