f33a629086
There seems to be a race condition involving the grastate.dat file. Upon creation of a new mariad-server pod the file would exist however, it is not populated for a short period of time. It seems to take around 15-20 seconds for this file to be populated. However there is a separate thread which is attempting to read the file and tends to end in an IndexError exception killing the thread which maintains the grastate.dat file until the pod is restarted. This patchset adds a loop to check for up to 60 seconds for the file to be populated before attempting to continue, thus giving the file time to be populated. Change-Id: I2f2a801aa4528a7af61797419422572be1c82e75 |
||
---|---|---|
.. | ||
_backup_mariadb.sh.tpl | ||
_mariadb-ingress-controller.sh.tpl | ||
_readiness.sh.tpl | ||
_restore_mariadb.sh.tpl | ||
_start.py.tpl | ||
_stop.sh.tpl | ||
_test.sh.tpl |