[MDEV-28204] The tr utility does not work as expected on rsync SST. Created: 2022-03-31  Updated: 2022-04-05  Resolved: 2022-04-04

Status: Closed
Project: MariaDB Server
Component/s: Galera SST
Affects Version/s: 10.9.0, 10.3.34, 10.4.24, 10.5.15, 10.6.7, 10.8.2
Fix Version/s: 10.3.35, 10.4.25, 10.5.16, 10.6.8, 10.7.4, 10.8.3, 10.9.1

Type: Bug Priority: Major
Reporter: Ramesh Sivaraman Assignee: Julius Goryavsky
Resolution: Fixed Votes: 0
Labels: None


 Description   

2022-03-31 12:09:07 0 [Note] WSREP: Running: 'wsrep_sst_rsync --role 'donor' --address '127.0.0.1:26549/rsync_sst' --local-port '24211' --socket '/test/mtest/mariadb-10.6.8-linux-x86_64/node1/node1_socket.sock' -
-datadir '/test/mtest/mariadb-10.6.8-linux-x86_64/node1/' --defaults-file '/test/mtest/mariadb-10.6.8-linux-x86_64/n1.cnf' --gtid 'efa4277f-b0d1-11ec-9df8-6e60f6afc6cd:2277' --gtid-domain-id '0' --binlog 'binlog'
 --mysqld-args --defaults-file=/test/mtest/mariadb-10.6.8-linux-x86_64/n1.cnf --wsrep-new-cluster'
2022-03-31 12:09:07 0 [Note] WSREP: IST sender 2178 -> 2207
2022-03-31 12:09:07 6 [Note] WSREP: sst_donor_thread signaled with 0
tr: misaligned [:upper:] and/or [:lower:] construct
2022-03-31 12:09:07 0 [ERROR] WSREP: Failed to read from: wsrep_sst_rsync --role 'donor' --address '127.0.0.1:26549/rsync_sst' --local-port '24211' --socket '/test/mtest/mariadb-10.6.8-linux-x86_64/node1/node1_so
cket.sock' --datadir '/test/mtest/mariadb-10.6.8-linux-x86_64/node1/' --defaults-file '/test/mtest/mariadb-10.6.8-linux-x86_64/n1.cnf' --gtid 'efa4277f-b0d1-11ec-9df8-6e60f6afc6cd:2277' --gtid-domain-id '0' --bin
log 'binlog' --mysqld-args --defaults-file=/test/mtest/mariadb-10.6.8-linux-x86_64/n1.cnf --wsrep-new-cluster
2022-03-31 12:09:07 0 [ERROR] WSREP: Process completed with error: wsrep_sst_rsync --role 'donor' --address '127.0.0.1:26549/rsync_sst' --local-port '24211' --socket '/test/mtest/mariadb-10.6.8-linux-x86_64/node1
/node1_socket.sock' --datadir '/test/mtest/mariadb-10.6.8-linux-x86_64/node1/' --defaults-file '/test/mtest/mariadb-10.6.8-linux-x86_64/n1.cnf' --gtid 'efa4277f-b0d1-11ec-9df8-6e60f6afc6cd:2277' --gtid-domain-id 
'0' --binlog 'binlog' --mysqld-args --defaults-file=/test/mtest/mariadb-10.6.8-linux-x86_64/n1.cnf --wsrep-new-cluster: 1 (Operation not permitted)
2022-03-31 12:09:07 0 [Note] WSREP: SST sending failed: -1
2022-03-31 12:09:07 0 [Note] WSREP: Server status change donor -> joined
2022-03-31 12:09:07 0 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2022-03-31 12:09:07 0 [ERROR] WSREP: Command did not run: wsrep_sst_rsync --role 'donor' --address '127.0.0.1:26549/rsync_sst' --local-port '24211' --socket '/test/mtest/mariadb-10.6.8-linux-x86_64/node1/node1_so
cket.sock' --datadir '/test/mtest/mariadb-10.6.8-linux-x86_64/node1/' --defaults-file '/test/mtest/mariadb-10.6.8-linux-x86_64/n1.cnf' --gtid 'efa4277f-b0d1-11ec-9df8-6e60f6afc6cd:2277' --gtid-domain-id '0' --bin
log 'binlog' --mysqld-args --defaults-file=/test/mtest/mariadb-10.6.8-linux-x86_64/n1.cnf --wsrep-new-cluster
2022-03-31 12:09:07 0 [Note] WSREP: Donor monitor thread ended with total time 0 sec



 Comments   
Comment by Julius Goryavsky [ 2022-04-04 ]

Fixed, https://github.com/MariaDB/server/commit/daed558b2c15bd40bd957616da2a3872e5436ce2

Generated at Thu Feb 08 09:58:53 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.