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

"Can't change size of file" errors from my_chsize() with random error numbers

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Incomplete
    • 10.5.9
    • N/A
    • None
    • None

    Description

      Seeing error messages like

      Can't change size of file (Errcode: 1690358208 "Unknown error 1690358208")
      Can't change size of file (Errcode: 2004930784 "Unknown error 2004930784")
      

      generated by

          my_error(EE_CANT_CHSIZE, MYF(ME_BELL), my_errno);
      

      in mysys/my_chsize.c

      Looking at the different code paths leading to this error output my_errno seems to always be set either directly in my_chsize() or in the my_seek() and my_write() functions being called by my_chsize().

      The case may be related to having an ibdata1 configured with auto-extend, but also with a max. size, although I don't see how this such storage engine level configuration should interact with something as low level as my_chsize()

      The problem was hit while trying to run "REORGANIZE PARTITION", with plenty of space on the datadir file system and no known other restrictions like file system quota limits.

      Attachments

        Activity

          People

            hholzgra Hartmut Holzgraefe
            hholzgra Hartmut Holzgraefe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

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