${PROXYSQL_DATADIR}/${CLUSTER_NAME}_mode missing

Description

If you upgrade your proxysql from 1.4.5 or before to 1.4.6 onwards ${PROXYSQL_DATADIR}/${CLUSTER_NAME}_mode file will be missing. 

 

https://github.com/percona/proxysql-admin-tool/blob/master/proxysql_galera_checker will read the mode from proxysql-admin.cnf file

https://github.com/percona/proxysql-admin-tool/blame/master/proxysql_node_monitor#L47 will read the mode from ${PROXYSQL_DATADIR}/${CLUSTER_NAME}_mode file

Environment

None

Smart Checklist

Activity

Show:

Ramesh Sivaraman May 21, 2018 at 4:12 PM

Thank you

Marcelo Altmann May 16, 2018 at 10:26 PM

I confirm 1.4.8 fixes the issue.

Ramesh Sivaraman May 11, 2018 at 9:51 AM

Branch: refs/heads/v1.4.8-dev   Home:   https://github.com/percona/proxysql-admin-tool   Commit: 74b41be7a4c9b8fa5b7d48ec78d2a48f2dbded76       https://github.com/percona/proxysql-admin-tool/commit/74b41be7a4c9b8fa5b7d48ec78d2a48f2dbded76   Author: Ramesh Sivaraman   Date:   2018-05-11 (Fri, 11 May 2018) Fixed ${PROXYSQL_DATADIR}/${CLUSTER_NAME}_mode file missing issue.
Done

Details

Assignee

Reporter

Time tracking

7h 36m logged

Priority

Smart Checklist

Created April 17, 2018 at 10:01 PM
Updated May 21, 2018 at 4:13 PM
Resolved May 21, 2018 at 4:13 PM

Flag notifications