)]}'
{"mariadb/templates/bin/_start.py.tpl":[{"author":{"_account_id":3009,"name":"Vladimir Kozhukalov","email":"kozhukalov@gmail.com","username":"kozhukalov"},"change_message_id":"594995c874c6b97617eb363909a385684ebaa161","unresolved":true,"context_lines":[{"line_number":148,"context_line":"# because the statefulset always sets these, so the case to defend against"},{"line_number":149,"context_line":"# is an empty value rather than an absent one, and int(\u0027\u0027) would otherwise"},{"line_number":150,"context_line":"# raise before the logger exists."},{"line_number":151,"context_line":"MYSQL_RECOVERY_TIMEOUT \u003d int(os.getenv(\u0027MYSQL_RECOVERY_TIMEOUT\u0027) or 300)"},{"line_number":152,"context_line":"MYSQL_STATUS_MAX_RETRIES \u003d int(os.getenv(\u0027MYSQL_STATUS_MAX_RETRIES\u0027) or 10)"},{"line_number":153,"context_line":"MYSQL_STATUS_RETRY_DELAY \u003d int(os.getenv(\u0027MYSQL_STATUS_RETRY_DELAY\u0027) or 30)"},{"line_number":154,"context_line":""}],"source_content_type":"text/x-smarty","patch_set":1,"id":"59c7836c_b980351c","line":151,"updated":"2026-09-08 17:49:56.000000000","message":"The liveness check liveness needs a mariadbd pid, a socket that answers, and wsrep_ready ON. During --wsrep-recover the pid is there but recovery mode opens no listener, so the socket check fails.\n\nThe liveness timeouts are set by default:\n\n```\ninitialDelaySeconds: 120\nperiodSeconds: 30\ntimeoutSeconds: 15\n```\n\nSo the container is going to be killed after about 180s.\n\nSo the liveness timeout probably should be set so it takes into account this additional 600s. Or maybe the startup probe must be used here.","commit_id":"2dffa155ca0cc6ebbe99b4919f140332831ced28"}]}
