Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CREATE/DROP tde_heap in non-default tablespace #329

Closed
wants to merge 3 commits into from

Commits on Nov 13, 2024

  1. Fix CREATE tde_heap in non-default tablespace

    tde_mdopen() is called before tde_mdcreate() during CREATE. And in case
    of non-default tablespace, the creation of the key will fail in
    tde_mdopen(), as the storage is yet to be created (namely database dir). This
    doesn't happen with default table space because the db dir had been already
    created before the CREATE TABLE call.
    dAdAbird committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    8d89c80 View commit details
    Browse the repository at this point in the history
  2. Fix drop/move tde_heap in non-default tablespace

    We must clean up *.tde files in the non-default tablespace after
    dropping/moving tde_heap relations. There is no way for `tde_mdunlink`
    to determine the relation type so we check any (tde and non-tde)
    relations.
    dAdAbird committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    ac08362 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0d646b0 View commit details
    Browse the repository at this point in the history