Commit Graph

59 Commits

Author SHA1 Message Date
cbfbcdb1f2 Support for multi-source GTIDs 2025-10-17 20:31:34 +02:00
8104a2e9c6 Promote furthest advanced replica to primary 2025-10-17 20:31:34 +02:00
c303655a80 Tracking gtid in replica status 2025-10-17 20:31:34 +02:00
672941314c Getting thread status and replica lag in ReplicaStatus. Reusing ReplicaStatus for probes 2025-10-17 20:31:34 +02:00
2ff465b77f Refactor replication status for better extensibility 2025-10-17 20:31:34 +02:00
461d4d12a8 refactor: Removed the ConnectionRetries default
- Added documentation what the ConnectionRetries maps to
- Fixed tests and simplified logic of one
- Restructured template a bit to simplify logic
- `make gen`
2025-10-09 11:54:59 +02:00
96a062af70 Tracking replica errors in status 2025-10-08 17:29:14 +02:00
fec3449383 Provisioning improvements. More accurate observation of primary role 2025-10-06 14:52:22 +02:00
981f838453 Added annotation with GTID to VolumeSnapshot 2025-10-06 14:52:22 +02:00
0e31a764e5 Liveness probe to check replica SQL thread 2025-10-06 14:52:22 +02:00
aea61dbb25 Checking replica lag in readinessProbe 2025-09-30 17:03:28 +02:00
6a630fe66f Checking slave IO thread in liveness probe 2025-09-30 17:03:28 +02:00
6539975882 Refactor switchover to set gtid_slave_pos when replicas are synced 2025-09-26 10:38:56 +02:00
6bffb14da1 Unify configuration across all replicas for better compatibility with MaxScale. Remove semi-sync dependency from replication status 2025-09-26 10:38:56 +02:00
d462c4106e Rename interfaces 2025-09-19 11:27:57 +02:00
9ff268b769 Adding support to external MariaDB server 2025-09-19 11:27:57 +02:00
2485c599d5 Fix v25 2025-07-28 15:33:30 +02:00
d81e2e27bd add db.Close() in sql.go connect 2025-07-22 11:35:13 +02:00
abc53dc30b Ignore some staticchecks in golangci-lint 2025-07-08 21:32:04 +02:00
801bf04266 Stub at unnamed replication connection 2025-03-26 15:51:25 +01:00
ca11c65de9 prevent deadlocks on database reconcile while transactions are running 2025-01-28 11:22:39 +01:00
0fd9ee397d Make passwordSecretKeyRef optional in Connections 2025-01-28 11:22:39 +01:00
d16d78dac6 Fixed client cert queries and examples. Updated TLS docs 2025-01-28 11:22:39 +01:00
8dbf9cb304 TLS requirements for Users 2025-01-28 11:22:39 +01:00
20ac87ec6b Add MASTER_SSL variable to CHANGE MASTER statement 2025-01-28 11:22:39 +01:00
add61902c5 Support for TLS client certs in Connections 2025-01-28 11:22:39 +01:00
c71942dabd Refactor SQL pkg to better support TLS 2025-01-28 11:22:39 +01:00
dafd2bfcd8 Added MaxScale listener certs 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
e42ef7a013 Added TLS_ENABLED in Pod environment for more explicit TLS configuration 2025-01-28 11:22:39 +01:00
f7a892b71d Added mariadb CA bundle 2025-01-28 11:22:39 +01:00
b666a34bf5 Using TLS in Galera clustering. Consolidated TLS env 2025-01-28 11:22:39 +01:00
9d6cd94669 Suport for trusting CAs in sql package 2025-01-28 11:22:39 +01:00
4f1547a7cb One-way TLS in Galera probes 2025-01-28 11:22:39 +01:00
9236c26fc3 FLUSH PRIVILEGES unnecessary for user/grant manipulation
FLUSHING PRIVILEGES isn't required after GRANT/CREATE/DROP/ALTER USER
or GRANT/REVOKE.

Removing this pattern.

Closes: #1005

Signed-off-by: Daniel Black <daniel@mariadb.org>
2024-12-18 11:02:49 +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
edbbcdf9d2 make maxuserconnections mutable 2024-10-07 10:14:47 +02:00
cac4ae595a Add the ability to provide a password hash or authentication plugin in User CRs
Supports:

* IDENTIFIED BY 'password'
* IDENTIFIED BY PASSWORD 'password_hash'
* IDENTIFIED VIA authentication_plugin
* IDENTIFIED VIA authentication_plugin USING 'authentication_string'
2024-08-16 16:56:45 +02:00
a3b1f0c3cb Make AlterUser build the query, like CreateUser does 2024-08-16 16:56:45 +02:00
3e8854371d Fix alter query 2024-05-31 14:48:49 +02:00
b81e0cfe05 Support for bettwer user reconciliation at the SQL level 2024-05-31 14:48:49 +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
e31978a261 Added finalizer to MaxScale. Dropped maxscale_config table as part of the finalizer logic 2024-03-27 14:48:19 +01:00
f07dcef613 Support for Galera with enterprise image 2024-02-20 13:03:22 +01:00
ddea377c3d Remove control plane dependency in Galera agent probes and Galera init 2024-02-18 21:29:41 +01:00
10a84cba82 Tracking replication state in MariaDB status 2024-02-01 19:57:45 +01:00
ef91ab0c1e Use primary service when HA enabled in SQL reconciler 2024-01-25 20:07:26 +01:00
92afd6a045 Handling config sync version conflicts 2024-01-25 15:59:04 +01:00