Skip to content

Commit

Permalink
MDEV-25887 "Got notification message from PID xxxx, but reception onl…
Browse files Browse the repository at this point in the history
…y permitted for main PID yyyy" in systemd during SST

server has systemd support and calls sd_notify() to communicate
the status to systemd.

mariabackup links the whole server in, but it should not notify
systemd, because it's not started or managed by systemd.
  • Loading branch information
vuvova committed Apr 5, 2023
1 parent 06393cd commit 79e27a6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions extra/mariabackup/xtrabackup.cc
Expand Up @@ -113,6 +113,12 @@ Street, Fifth Floor, Boston, MA 02110-1335 USA

#define MB_CORRUPTED_PAGES_FILE "innodb_corrupted_pages"

// disable server's systemd notification code
extern "C" {
int sd_notify() { return 0; }
int sd_notifyf() { return 0; }
}

int sys_var_init();

/* === xtrabackup specific options === */
Expand Down

0 comments on commit 79e27a6

Please sign in to comment.