main: full trigger when logrotate possible

This commit is contained in:
Thomas Schoebel-Theuer 2020-02-17 15:16:07 +01:00 committed by Thomas Schoebel-Theuer
parent 7c454390e9
commit 794b49b976

View File

@ -3141,6 +3141,8 @@ bool is_switchover_possible(struct mars_rotate *rot, const char *old_log_path, c
// report success // report success
res = true; res = true;
MARS_DBG("VERSION OK '%s' -> '%s'\n", own_versionlink_path, own_versionlink); MARS_DBG("VERSION OK '%s' -> '%s'\n", own_versionlink_path, own_versionlink);
mars_trigger();
mars_remote_trigger();
done: done:
brick_string_free(old_host); brick_string_free(old_host);