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

Safe / safer UDFs and selected plugins support

Details

    Description

      In an effort to get more use of UDFs and at least some plugins, this is an idea to make these "safer" in a way that they don't crash the server even when they go wrong. The way to achieve this would be to run said UDFs / plugins in a separate process with the same UDF / Plugin interface as MariaDB Server and that communicates with MariaDB Server by some means, likely proprietary, likely through a Unix Domain Socket or similar lightweight mechanism.
      MariaDB Server would be responsible to start this separate process if it is not already running and then pass any data to it that is necessary. If it doesn't crash it can keep on running, if it crashes, by virtue of bad code in the UDF / Plugin, it will be restarted as necessary the next time it is needed.

      Attachments

        Activity

          There are no comments yet on this issue.

          People

            Unassigned Unassigned
            karlsson Anders Karlsson
            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.