[MDEV-32634] wsrep_provider_options can be truncated on deep and long directory paths Created: 2023-10-31  Updated: 2023-11-22  Resolved: 2023-11-21

Status: Closed
Project: MariaDB Server
Component/s: Galera
Affects Version/s: 10.4
Fix Version/s: 10.4.33, 10.5.24, 10.6.17, 10.11.7, 11.0.5, 11.1.4, 11.2.3

Type: Bug Priority: Critical
Reporter: Jan Lindström Assignee: Julius Goryavsky
Resolution: Fixed Votes: 0
Labels: None


 Description   

Example:

CURRENT_TEST: galera.galera#505
--- /home/jenkins/workspace/mtr-galera-4.x-mariadb-10.5-master/mysql-wsrep/mysql-test/suite/galera/r/galera#505.result	2023-10-09 00:02:23.302042813 +0200
+++ /home/jenkins/workspace/mtr-galera-4.x-mariadb-10.5-master/mysql-wsrep/mysql-test/suite/galera/r/galera#505.reject	2023-10-09 00:21:23.027885060 +0200
@@ -8,4 +8,6 @@
 SHOW GLOBAL VARIABLES LIKE 'wsrep_provider_options';
 Variable_name	Value
 wsrep_provider_options	pc.weight = 3
+Warnings:
+Warning	1265	Data truncated for column 'VARIABLE_VALUE' at row 1
 SET GLOBAL wsrep_provider_options = 'pc.weight=1';



 Comments   
Comment by Jan Lindström [ 2023-11-09 ]

https://github.com/MariaDB/server/pull/2823

Comment by Julius Goryavsky [ 2023-11-21 ]

Fix merged with head revision: https://github.com/MariaDB/server/commit/13666d831ce074d921ace927d16072835c8843de
Additional changes: https://github.com/MariaDB/server/commit/671f6654550b8a4696c62a90b6e586031e9ac789

Generated at Thu Feb 08 10:32:50 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.