[COMMON][MARIADB] Align conf with camunda needs 38/120838/7
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Thu, 22 Apr 2021 15:18:11 +0000 (17:18 +0200)
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>
Mon, 3 May 2021 07:57:14 +0000 (07:57 +0000)
Camunda has given a guide in order to configure camunda
(https://docs.camunda.org/manual/latest/user-guide/process-engine/database/mariadb-galera-configuration/).

Applying it to ONAP camunda configuration.

gitlint-ignore: B1, body-max-line-length
Issue-ID: INT-1883
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: Ie0cb1c70e4271496ffd5e51ce1d816785f88689f
(cherry picked from commit 7d3ddcdcdcbb00c495a5ac93df9cf30e8f929963)

kubernetes/common/mariadb-galera/values.yaml

index 12d2d75..79b1cb2 100644 (file)
@@ -329,6 +329,12 @@ mariadbConfiguration: |-
   innodb_flush_log_at_trx_commit=2
   # MYISAM REPLICATION SUPPORT #
   wsrep_replicate_myisam=ON
+  binlog_format=row
+  default_storage_engine=InnoDB
+  innodb_autoinc_lock_mode=2
+  transaction-isolation=READ-COMMITTED
+  wsrep_causal_reads=1
+  wsrep_sync_wait=7
 
   [mariadb]
   plugin_load_add=auth_pam