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

main.ssl fails sporadically

    XMLWordPrintable

Details

    Description

      Test failure:

      CURRENT_TEST: main.ssl
      --- /Users/ec2-user/buildbot/prod/aarch64-macos/build/mysql-test/main/ssl.result	2025-10-09 09:19:05
      +++ /Users/ec2-user/buildbot/prod/aarch64-macos/build/mysql-test/main/ssl.reject	2025-10-09 09:50:22
      @@ -1,6 +1,14 @@
       connect  ssl_con,localhost,root,,,,,SSL;
       select variable_name from performance_schema.status_by_thread where VARIABLE_NAME LIKE 'Ssl%';
       variable_name
      +Ssl_cipher
      +Ssl_cipher_list
      +Ssl_default_timeout
      +Ssl_server_not_after
      +Ssl_server_not_before
      +Ssl_verify_depth
      +Ssl_verify_mode
      +Ssl_version
       Ssl_cipher
       Ssl_cipher_list
       Ssl_default_timeout
      

      Reproducible with:

      diff --git a/sql/sql_connect.cc b/sql/sql_connect.cc
      index c279f2663c8..c227fee943e 100644
      --- a/sql/sql_connect.cc
      +++ b/sql/sql_connect.cc
      @@ -1483,6 +1483,7 @@ void do_handle_one_connection(CONNECT *connect, bool put_in_cache)
           if (thd->userstat_running)
             update_global_user_stats(thd, create_user, time(NULL));
       
      +    sleep(1);
           unlink_thd(thd);
           if (IF_WSREP(thd->wsrep_applier, false) || !put_in_cache ||
               !(connect= thread_cache.park()))
      

      Attachments

        Issue Links

          Activity

            People

              svoj Sergey Vojtovich
              svoj Sergey Vojtovich
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.