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

Statement restart

    XMLWordPrintable

Details

    • New Feature
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 13.2
    • None
    • None

    Description

      Implement statement restart inside MariaDB Server query processor with a designation mechanism driven by storage engine (handler).

      The rationale is mainly an optimization of discovery process for remote engines.

      During the table open, MariaDB requests Backoff_processor from handler.
      Later, during the query run, after an error happens, Backoff_processor analyzes the error for a matter of backoff.
      In do_command, in case of error+backoff, the last statement is re-run instead of fetching the new statement.

      New functions/entities:

      • handler::get_backoff_processor() - returns Backoff_processor object
      • emum_backoff_aciton { BA_NO_ACTION, BA_BACKOFF_AND_RETRY };
      • Backoff_processor class has a virtual function decide_backoff_action(int error), returning enum_backoff_action

      Attachments

        Issue Links

          Activity

            People

              nikitamalyavin Nikita Malyavin
              nikitamalyavin Nikita Malyavin
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.