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

remove checkpoint generated with rocksdb_create_checkpoint

Details

    Description

      mariabackup will use rocksdb checkpoints, usually only for a short period (for create checkpoint, copy it to stdout in xbstream format, cleanup checkpoint).

      The "cleanup checkpoint" step - removing directory that was created previously by the server plugin, should also be done by the server plugin. the problem are OS permissions.

      • Usually, mysqld can only read and write within datadir
      • Ideally no other user should be able write within datadir.

      So far , backup OS user only needed read permissions to all files created by server. to cleanup checkpoint itself, backup and server would need a directory, where both of them can write. This is awkward to document and to setup.

      Ideally, server would provide mechanism to cleanup the temporary checkpoint.

      For example,
      ยด
      set global rocksdb_create_checkpoint=NULL
      would remove the last checkpoint dir made with SET rocksdb_create_checkpoint=<dir>

      Attachments

        Issue Links

          Activity

            wlad Vladislav Vaintroub created issue -
            wlad Vladislav Vaintroub made changes -
            Field Original Value New Value
            wlad Vladislav Vaintroub made changes -
            Assignee Sergei Petrunia [ psergey ] Vladislav Vaintroub [ wlad ]
            wlad Vladislav Vaintroub made changes -
            Fix Version/s 10.2.16 [ 23110 ]
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Closed [ 6 ]
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 87464 ] MariaDB v4 [ 133559 ]

            People

              wlad Vladislav Vaintroub
              wlad Vladislav Vaintroub
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.