Skip to content

Dispatcher service check should escape DB_NAME with backticks #342

@gl

Description

@gl

In case the DB_NAME includes a special char, like "-", it is necessary to escape the database name with backticks. The following line should therefore be backslashbacktick${DB_NAME}backslashbacktick (sorry, github formatting is messing with the chars :))
Otherwise, the check fails and dispatcher service shuts down.

while ! ${dbcmd} -e "desc $DB_NAME.poller_cluster;" >/dev/null 2>&1; do

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions