Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-4666

Galera: Server error log gets flooded with WSREP debug info

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.5.32-galera
    • Component/s: None
    • Labels:

      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.

        Attachments

          Activity

            People

            Assignee:
            seppo Seppo Jaakola
            Reporter:
            elenst Elena Stepanova
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration