From 207882defb569cc5819479d8ab523288954f8d8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Mon, 2 Mar 2020 10:14:18 +0200 Subject: [PATCH] MXS-2277: Document script limitations The script should not interact with the administrative interfaces of MaxScale. --- Documentation/Monitors/Monitor-Common.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/Monitors/Monitor-Common.md b/Documentation/Monitors/Monitor-Common.md index fb95ccfb8..a4371025a 100644 --- a/Documentation/Monitors/Monitor-Common.md +++ b/Documentation/Monitors/Monitor-Common.md @@ -229,6 +229,13 @@ the message will be logged on the notice level. Whitespace before, after or between the keyword and the colon is ignored and the matching is case-insensitive. +Currently, the script must not execute any of the following MaxCtrl and/or +MaxAdmin calls as they cause a deadlock: + +* `alter monitor` to the monitor executing the script +* `stop monitor` to the monitor executing the script +* `call command` to a MariaDB-Monitor that is executing the script + ### `script_timeout` The timeout for the executed script in seconds. The default value is 90