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

handlerton refactoring

    XMLWordPrintable

Details

    • Task
    • Status: In Testing (View Workflow)
    • Major
    • Resolution: Unresolved
    • 11.7
    • Plugins
    • None

    Description

      Problems:

      • it's the only way to participate in transactions
        • there are few fake storage engines that aren't storage engines but pretend to be (with the HTON_NOT_USER_SELECTABLE | HTON_HIDDEN flags) solely to be able to participate in transactions. Binlog, online alter log and vector indexing, for example.
      • initializing handlerton dynamically in _init is a bit annoying, always passing itself as a first argument is too. This is a consequence of a decision to use C struct.

      It could be changed to C++ class handlerton. That inherits from a parent C++ class "transaction participant". Binlog, online alter and vector indexing will only need to use the latter.

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              serg Sergei Golubchik
              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.