Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Levin Zimmermann
slapos
Commits
d3ce078f
Commit
d3ce078f
authored
Sep 26, 2023
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Plain Diff
stack/erp5: disable innodb_change_buffering for safety.
See merge request
nexedi/slapos!1433
parents
ee35dc1c
c395c272
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
2 deletions
+12
-2
stack/erp5-zope2/buildout.hash.cfg
stack/erp5-zope2/buildout.hash.cfg
+1
-1
stack/erp5-zope2/my.cnf.in
stack/erp5-zope2/my.cnf.in
+5
-0
stack/erp5/buildout.hash.cfg
stack/erp5/buildout.hash.cfg
+1
-1
stack/erp5/my.cnf.in
stack/erp5/my.cnf.in
+5
-0
No files found.
stack/erp5-zope2/buildout.hash.cfg
View file @
d3ce078f
...
@@ -42,7 +42,7 @@ md5sum = 43556e5bca8336dd543ae8068512aa6d
...
@@ -42,7 +42,7 @@ md5sum = 43556e5bca8336dd543ae8068512aa6d
[template-my-cnf]
[template-my-cnf]
filename = my.cnf.in
filename = my.cnf.in
md5sum =
c0bde08ec6bd6d333315a15026266b65
md5sum =
2c553103f1196f95e4b6d0716a1e0638
[template-mariadb-initial-setup]
[template-mariadb-initial-setup]
filename = mariadb_initial_setup.sql.in
filename = mariadb_initial_setup.sql.in
...
...
stack/erp5-zope2/my.cnf.in
View file @
d3ce078f
...
@@ -50,6 +50,10 @@ max_connections = {{ parameter_dict['max-connection-count'] }}
...
@@ -50,6 +50,10 @@ max_connections = {{ parameter_dict['max-connection-count'] }}
# doesn't use "insert ... select" (in any number of queries) pattern.
# doesn't use "insert ... select" (in any number of queries) pattern.
innodb_locks_unsafe_for_binlog = 1
innodb_locks_unsafe_for_binlog = 1
# disable innodb_change_buffering to prevent potential risk of crash or data corruption,
# that is default from 10.5.14.
innodb_change_buffering = none
{% set log_bin = parameter_dict['binlog-path'] -%}
{% set log_bin = parameter_dict['binlog-path'] -%}
{% if log_bin -%}
{% if log_bin -%}
log_bin = {{ log_bin }}
log_bin = {{ log_bin }}
...
@@ -74,6 +78,7 @@ relay-log = mariadb-relay-bin
...
@@ -74,6 +78,7 @@ relay-log = mariadb-relay-bin
{{x}}innodb_flush_log_at_trx_commit = 0
{{x}}innodb_flush_log_at_trx_commit = 0
{{x}}innodb_flush_method = nosync
{{x}}innodb_flush_method = nosync
{{x}}innodb_doublewrite = 0
{{x}}innodb_doublewrite = 0
{{x}}innodb_change_buffering = all
{{x}}sync_frm = 0
{{x}}sync_frm = 0
character_set_server = {{ parameter_dict['character-set-server'] }}
character_set_server = {{ parameter_dict['character-set-server'] }}
...
...
stack/erp5/buildout.hash.cfg
View file @
d3ce078f
...
@@ -42,7 +42,7 @@ md5sum = f45dc4568b63de39f49b8fecca5deef1
...
@@ -42,7 +42,7 @@ md5sum = f45dc4568b63de39f49b8fecca5deef1
[template-my-cnf]
[template-my-cnf]
filename = my.cnf.in
filename = my.cnf.in
md5sum =
c0bde08ec6bd6d333315a15026266b65
md5sum =
2c553103f1196f95e4b6d0716a1e0638
[template-mariadb-initial-setup]
[template-mariadb-initial-setup]
filename = mariadb_initial_setup.sql.in
filename = mariadb_initial_setup.sql.in
...
...
stack/erp5/my.cnf.in
View file @
d3ce078f
...
@@ -50,6 +50,10 @@ max_connections = {{ parameter_dict['max-connection-count'] }}
...
@@ -50,6 +50,10 @@ max_connections = {{ parameter_dict['max-connection-count'] }}
# doesn't use "insert ... select" (in any number of queries) pattern.
# doesn't use "insert ... select" (in any number of queries) pattern.
innodb_locks_unsafe_for_binlog = 1
innodb_locks_unsafe_for_binlog = 1
# disable innodb_change_buffering to prevent potential risk of crash or data corruption,
# that is default from 10.5.14.
innodb_change_buffering = none
{% set log_bin = parameter_dict['binlog-path'] -%}
{% set log_bin = parameter_dict['binlog-path'] -%}
{% if log_bin -%}
{% if log_bin -%}
log_bin = {{ log_bin }}
log_bin = {{ log_bin }}
...
@@ -74,6 +78,7 @@ relay-log = mariadb-relay-bin
...
@@ -74,6 +78,7 @@ relay-log = mariadb-relay-bin
{{x}}innodb_flush_log_at_trx_commit = 0
{{x}}innodb_flush_log_at_trx_commit = 0
{{x}}innodb_flush_method = nosync
{{x}}innodb_flush_method = nosync
{{x}}innodb_doublewrite = 0
{{x}}innodb_doublewrite = 0
{{x}}innodb_change_buffering = all
{{x}}sync_frm = 0
{{x}}sync_frm = 0
character_set_server = {{ parameter_dict['character-set-server'] }}
character_set_server = {{ parameter_dict['character-set-server'] }}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment