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

System versioning does not work with federation-like engines - disable if not supported

    XMLWordPrintable

Details

    Description

      Federated

      There was the bug report MDEV-15969 in early days of system versioning saying basically the same. It was closed as "fixed".

      As a comment there suggested the discovery now does not add a system versioning clause to the federated table, so the final topology is local (federated) non-versioned <=> remote (underlying) versioned.

      But Federated tables are still allowed to be created with an explicit with system versioning clause, and of course they don't work because nothing was fixed in that regard. It's not a weird use case, one might very well want the local table to be system-versioned because only this way the history can be queried. If it isn't supported, it should be disabled explicitly.

      Connect

      There is still an open bug MDEV-15968. It cannot work with versioning because it doesn't store microseconds, so everything is history there; and of course just like federated, it doesn't pass over for system_time all clause to the remote, so history querying doesn't work either.

      Spider

      There is a new-ish bug MDEV-28413 about versioned partitioned Spider, that's the only one I've found. It seems complicated, in the essence it's all the same – the Spider table cannot be versioned, as it does not query the history (and, depending on the visibility of columns in the underlying table, may even not be able to do normal updates).

      Attachments

        Issue Links

          Activity

            People

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