Skip to content
Snippets Groups Projects
Verified Commit 7c2672e9 authored by Christian Heusel's avatar Christian Heusel :rocket:
Browse files

Merge branch 'innodb-snapshot-isolation' into 'master'

mariadb: Add switch for innodb_snapshot_isolation

See merge request !896
parents dcdfdc93 79d069df
No related branches found
No related tags found
1 merge request!896mariadb: Add switch for innodb_snapshot_isolation
Pipeline #114760 passed
......@@ -9,7 +9,7 @@
- { role: promtail }
- { role: certbot }
- { role: nginx }
- { role: mariadb, mariadb_innodb_buffer_pool_size: '1G' }
- { role: mariadb, mariadb_innodb_buffer_pool_size: '1G', mariadb_innodb_disable_snapshot_isolation: true }
- { role: sudo }
- { role: valkey }
- { role: uwsgi }
......
......@@ -7,7 +7,7 @@
- { role: root_ssh }
- { role: certbot }
- { role: nginx }
- { role: mariadb, mariadb_query_cache_type: '0', mariadb_innodb_buffer_pool_size: '512M' }
- { role: mariadb, mariadb_query_cache_type: '0', mariadb_innodb_buffer_pool_size: '512M', mariadb_innodb_disable_snapshot_isolation: true }
- { role: sudo }
- { role: php_fpm, php_extensions: ['apcu', 'iconv', 'intl', 'mysqli'], zend_extensions: ['opcache'] }
- { role: fluxbb }
......
......@@ -51,6 +51,11 @@ innodb_thread_concurrency = {{ mariadb_innodb_thread_concurrency }}
innodb_file_per_table
{% endif %}
{% if mariadb_innodb_disable_snapshot_isolation is defined and mariadb_innodb_disable_snapshot_isolation %}
# changed to default from OFF to ON with 11.6.2 https://mariadb.com/kb/en/mariadb-11-6-2-release-notes/
innodb_snapshot_isolation = OFF
{% endif %}
[mysqldump]
quick
max_allowed_packet = 16M
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment