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

rpl.rpl_change_master_long_channel_name fails on Windows (too long path)

    XMLWordPrintable

Details

    Description

      rpl.rpl_change_master_long_channel_name fails on Windows because it expects a 252-character name (base name, excluding the path) to be valid; on Windows the whole path is limited to 260 characters, so 252-character name fails.
      Per discussion on Slack, we should disable the test for Windows.

      rpl.rpl_change_master_long_channel_name 'mix' w1 [ fail ]
              Test ended at 2026-11-13 12:37:21
       
      CURRENT_TEST: rpl.rpl_change_master_long_channel_name
      mysqltest: At line 18: query 'CHANGE MASTER TO MASTER_DELAY=1 FOR CHANNEL '$channel'' failed with wrong errno <Unknown> (29): 'File 'c:\home\Builds\10.11\mysql-test\var\1\mysqld.2\data\master-@0023@0023@0023@0023@0023@0023@0023@0023@0023@0023@0023@0023@0023@0023@0023@0023@0023@0023@0023@0023@0023@0023@0023@0023@0023@0023@0023@0023@0023@0023@0023@0023@0023@0023@0023@0023@0023@0023@0023@0023@0023@0023@0023@0023@0023@0023@0023@0023.info' not found (Errcode: 38 "Filename too long")', instead of ER_MASTER_INFO (1201)...
       
      The result from queries just before the failure was:
      include/master-slave.inc
      [connection master]
      connection slave;
      CHANGE MASTER TO MASTER_DELAY=1 FOR CHANNEL '################################################';
      

      Attachments

        Issue Links

          Activity

            People

              elenst Elena Stepanova
              elenst Elena Stepanova
              Susil Behera Susil Behera
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 1h
                  1h

                  Git Integration

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