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

XA COMMIT 'unknown' ONE PHASE; should return XAER_NOTA instead of XAER_INVAL

    XMLWordPrintable

Details

    • Bug
    • Status: Confirmed (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 10.6.13, 10.5, 10.6, 10.9, 10.10, 10.11, 11.0, 11.1, 11.2.0
    • 10.5, 10.6, 10.11
    • XA

    Description

      XA COMMIT 'unknown' ONE PHASE;
      

      returns XAER_INVAL: Invalid arguments (or unsupported command) but I think that it should return XAER_NOTA

      I tested MariaDB 10.6 and 11.2.0 and both behave the same, but older 10.3 works as I expect, it returns XAER_NOTA

      XA COMMIT 'unknown';
      

      returns expected XAER_NOTA: Unknown XID

      from specification

      [XAER_NOTA]
      The specified XID is not known by the resource manager.
      [XAER_INVAL]
      Invalid arguments were specified

      Attachments

        Activity

          People

            Elkin Andrei Elkin
            simkam Martin Simka
            Votes:
            1 Vote for this issue
            Watchers:
            4 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.