From: Jorge Hernandez Date: Mon, 7 May 2018 04:03:13 +0000 (-0500) Subject: upgrade mariadb version X-Git-Tag: v1.2.3~9 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F43%2F46343%2F1;p=policy%2Fdocker.git upgrade mariadb version this was an exercise to see if it helps with the pessimistic lock exceptions on PE side. The problem still persists, in any case, the database was outdated, and better to run with a more up to date one. Change-Id: I8e51617fde6c1ac9870d1680ebe81e039a333489 Issue-ID: POLICY-777 Signed-off-by: Jorge Hernandez --- diff --git a/docker-compose-integration.yml b/docker-compose-integration.yml index 53b592a3..e67729e2 100644 --- a/docker-compose-integration.yml +++ b/docker-compose-integration.yml @@ -14,10 +14,10 @@ version: '2' services: mariadb: - image: mariadb:10.0.34 + image: mariadb:10.2.14 container_name: mariadb hostname: mariadb - command: ['--lower-case-table-names=1'] + command: ['--lower-case-table-names=1', '--wait_timeout=28800'] env_file: config/db/db.conf volumes: - ./config/db:/docker-entrypoint-initdb.d diff --git a/docker-compose.yml b/docker-compose.yml index 18e0ebd3..c469755a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -19,10 +19,10 @@ networks: com.docker.network.driver.mtu: ${MTU} services: mariadb: - image: mariadb:10.0.34 + image: mariadb:10.2.14 container_name: mariadb hostname: mariadb - command: ['--lower-case-table-names=1'] + command: ['--lower-case-table-names=1', '--wait_timeout=28800'] env_file: config/db/db.conf volumes: - ./config/db:/docker-entrypoint-initdb.d