[MDEV-4666] Galera: Server error log gets flooded with WSREP debug info Created: 2013-06-16  Updated: 2013-08-28  Resolved: 2013-08-28

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.5.32-galera

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Seppo Jaakola
Resolution: Fixed Votes: 0
Labels: galera


 Description   

WSREP_DEBUG_PRINT seems to be defined unconditionally, so even in a release build the server error log gets flooded with information which is presumably supposed to assist Galera debugging, e.g.

Exclusive conn 13, trx 2374, keylen 5, table table0_int_autoinc 0, 27, 1, 0, 0, 
Exclusive conn 11, trx 2302, keylen 5, table table0_int_autoinc 0, 2A, 1, 0, 0, 
Exclusive conn 13, trx 2374, keylen 5, table table0_key_pk_parts_2_int_autoinc 0, AF, 0, 0, 0, 
Exclusive conn 13, trx 2374, keylen 5, table table0_key_pk_parts_2_int_autoinc 0, B2, 0, 0, 0, 
Exclusive conn 11, trx 2302, keylen 5, table table0_key_pk_parts_2_int_autoinc 0, B5, 0, 0, 0, 
Exclusive conn 11, trx 2302, keylen 5, table table1_key_pk_parts_2_int_autoinc 0, 9, 1, 0, 0, 
Exclusive conn 11, trx 2302, keylen 5, table table1_key_pk_parts_2_int_autoinc 0, C, 1, 0, 0, 
Exclusive conn 11, trx 2302, keylen 5, table table1_key_pk_parts_2_int_autoinc 0, F, 1, 0, 0, 
Exclusive conn 11, trx 2302, keylen 5, table table1_key_pk_parts_2_int_autoinc 0, 30, 1, 0, 0, 
Exclusive conn 11, trx 2302, keylen 5, table table1_key_pk_parts_2_int_autoinc 0, 3F, 1, 0, 0, 

etc.

After a 5-min moderate concurrent test (8 threads only), I got 10 MB error log file.



 Comments   
Comment by Seppo Jaakola [ 2013-06-16 ]

OooopS! fixed now at revision: http://bazaar.launchpad.net/~maria-captains/maria/maria-5.5-galera/revision/3407

Comment by Rasmus Johansson (Inactive) [ 2013-08-28 ]

Reopened to be able to move to correct fix version

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