diff --git a/mariadb/Chart.yaml b/mariadb/Chart.yaml index 31edd4c66..7e12ec9cc 100644 --- a/mariadb/Chart.yaml +++ b/mariadb/Chart.yaml @@ -15,7 +15,7 @@ apiVersion: v1 appVersion: v10.6.7 description: OpenStack-Helm MariaDB name: mariadb -version: 0.2.58 +version: 0.2.59 home: https://mariadb.com/kb/en/ icon: http://badges.mariadb.org/mariadb-badge-180x60.png sources: diff --git a/mariadb/templates/bin/_start.py.tpl b/mariadb/templates/bin/_start.py.tpl index 268731033..c012963e0 100644 --- a/mariadb/templates/bin/_start.py.tpl +++ b/mariadb/templates/bin/_start.py.tpl @@ -665,8 +665,9 @@ def check_if_cluster_data_is_fresh(): sample_time_ok = True for key, value in list(sample_times.items()): sample_time = iso8601.parse_date(value).replace(tzinfo=None) + # NOTE(vsaienko): give some time on resolving configmap update conflicts sample_cutoff_time = datetime.utcnow().replace( - tzinfo=None) - timedelta(seconds=20) + tzinfo=None) - timedelta(seconds=5*state_configmap_update_period) if not sample_time >= sample_cutoff_time: logger.info( "The data we have from the cluster is too old to make a " diff --git a/releasenotes/notes/mariadb.yaml b/releasenotes/notes/mariadb.yaml index 2b87ac238..fbdebcfe9 100644 --- a/releasenotes/notes/mariadb.yaml +++ b/releasenotes/notes/mariadb.yaml @@ -74,4 +74,5 @@ mariadb: - 0.2.56 Stop running threads on sigkill - 0.2.57 Remove useless retries on conflicts during cm update - 0.2.58 Prevent TypeError in get_active_endpoint function + - 0.2.59 Give more time on resolving configmap update conflicts ...