
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
27 lines
887 B
YAML
27 lines
887 B
YAML
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
---
|
|
apiVersion: v1
|
|
appVersion: v10.2.31
|
|
description: OpenStack-Helm MariaDB
|
|
name: mariadb
|
|
version: 0.1.13
|
|
home: https://mariadb.com/kb/en/
|
|
icon: http://badges.mariadb.org/mariadb-badge-180x60.png
|
|
sources:
|
|
- https://github.com/MariaDB/server
|
|
- https://opendev.org/openstack/openstack-helm
|
|
maintainers:
|
|
- name: OpenStack-Helm Authors
|
|
...
|