Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-4347

SM hits assertion if ms3_init_assume_role() fails

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 5.4.1
    • 5.4.1
    • Storage Manager
    • None
    • centos 8, engine build 922, cmapi build 315

    Description

      I ran into an assertion in S3Storage trying to reproduce the problem in MCOL-3976. My acct didn't have the assume-role permission, so ms3_init_assume_role() failed, and getConnection() returned NULL. The NULL went into ScopedConnection, which asserts on NULL.

      The change to make here is to check the return value from getConnection(), and if NULL, return an error (set errno to something appropriate and return -1).

      Attachments

        Activity

          People

            jrojas Jose Rojas (Inactive)
            pleblanc Patrick LeBlanc (Inactive)
            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.