The DBaaS team is using dns entries when adding nodes to cmapi.
However, the IP address for that dns name is getting hardcoded into the Columnstore.xml file
On a pod restart in K8s, the IP address is dynamically changed even though the dns name stays the same.
1. cmapi should respect the dns name
2. cmapi should dynamically update the ip address on restart
Draft of external description by AV
CMAPI "add node" function described in https://mariadb.com/docs/reference/cmapi/add-node/ accepts both the Host and IP address.
The current production version of CMAPI (which release range ??) converts the host name to IP and stores it into the DBRM_Controller section of the /etc/columnstore/Columnstore.xml .
In the case of K8S deployment the pod does not retain the IP after it is restarted. Only the Host name is guaranteed to be retained.
This results in CS losing functionality after the pod restart.
The fix retains the host name in the relevant section of /etc/columnstore/Columnstore.xml