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
Labels
Merge Requests
105
Merge Requests
105
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
c82921dc
Commit
c82921dc
authored
Sep 28, 2024
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stack/erp5: enable rocksdb-large-prefix to support larger key length.
parent
17546989
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
21 additions
and
3 deletions
+21
-3
stack/erp5/buildout.cfg
stack/erp5/buildout.cfg
+4
-0
stack/erp5/buildout.hash.cfg
stack/erp5/buildout.hash.cfg
+7
-3
stack/erp5/instance-mariadb.cfg.in
stack/erp5/instance-mariadb.cfg.in
+7
-0
stack/erp5/instance.cfg.in
stack/erp5/instance.cfg.in
+1
-0
stack/erp5/mariadb_init_file.sql.in
stack/erp5/mariadb_init_file.sql.in
+1
-0
stack/erp5/my.cnf.in
stack/erp5/my.cnf.in
+1
-0
No files found.
stack/erp5/buildout.cfg
View file @
c82921dc
...
...
@@ -136,6 +136,9 @@ link-binary =
[template-my-cnf]
<= download-base
[template-mariadb-init-file]
<= download-base
[template-mariadb-initial-setup]
<= download-base
...
...
@@ -219,6 +222,7 @@ context =
key template_mariadb template-mariadb:target
key template_mariadb_initial_setup template-mariadb-initial-setup:target
key template_my_cnf template-my-cnf:target
key template_mariadb_init_file template-mariadb-init-file:target
key template_mysqld_wrapper template-mysqld-wrapper:output
key template_postfix template-postfix:target
key template_postfix_aliases template-postfix-aliases:target
...
...
stack/erp5/buildout.hash.cfg
View file @
c82921dc
...
...
@@ -26,7 +26,7 @@ md5sum = d10b8e35b02b5391cf46bf0c7dbb1196
[template-mariadb]
filename = instance-mariadb.cfg.in
md5sum =
93b2277185e4949a3d17be79d3710d2d
md5sum =
73fe73b0c2fc022acbfbc0d076365fd2
[template-kumofs]
filename = instance-kumofs.cfg.in
...
...
@@ -42,7 +42,11 @@ md5sum = f45dc4568b63de39f49b8fecca5deef1
[template-my-cnf]
filename = my.cnf.in
md5sum = dc5ce05cc9bcc482300d0ef6fcef66bc
md5sum = 9355de58b9eb7a121e81d0bc033d6d86
[template-mariadb-init-file]
filename = mariadb_init_file.sql.in
md5sum = abc60a4d82dce00e5039d22230bccb87
[template-mariadb-initial-setup]
filename = mariadb_initial_setup.sql.in
...
...
@@ -70,7 +74,7 @@ md5sum = b95084ae9eed95a68eada45e28ef0c04
[template]
filename = instance.cfg.in
md5sum =
39e391372cc616ea5d1d6559621e6747
md5sum =
d853f6c9b7074b7d827bd66db6ed1a2f
[template-erp5]
filename = instance-erp5.cfg.in
...
...
stack/erp5/instance-mariadb.cfg.in
View file @
c82921dc
...
...
@@ -123,6 +123,7 @@ tmp-directory = ${directory:tmp}
etc-directory = ${directory:etc}
plugin-directory = {{ dumps(parameter_dict['mroonga-mariadb-plugin-dir']) }}
groonga-plugins-path = {{ parameter_dict['groonga-plugins-path'] }}
mariadb-init-file-path = ${mariadb-init-file:output}
pid-file = ${directory:run}/mariadb.pid
error-log = ${directory:log}/mariadb_error.log
slow-query-log = ${directory:log}/mariadb_slowquery.log
...
...
@@ -154,6 +155,12 @@ output = ${directory:etc}/mariadb.cnf
url = {{ parameter_dict['template-my-cnf'] }}
context = section parameter_dict my-cnf-parameters
[mariadb-init-file]
recipe = slapos.recipe.template:jinja2
output = ${directory:etc}/mariadb-init.sql
url = {{ parameter_dict['template-mariadb-init-file'] }}
context = section parameter_dict my-cnf-parameters
[init-script-parameters]
database-list = {{ dumps(database_list + test_database_list) }}
mroonga-mariadb-install-sql = {{ dumps(parameter_dict['mroonga-mariadb-install-sql']) }}
...
...
stack/erp5/instance.cfg.in
View file @
c82921dc
...
...
@@ -178,6 +178,7 @@ gzip-location = {{ gzip_location }}
xz-utils-location = {{ xz_utils_location }}
mariadb-location = {{ mariadb_location }}
template-my-cnf = {{ template_my_cnf }}
template-mariadb-init-file = {{ template_mariadb_init_file }}
template-mariadb-initial-setup = {{ template_mariadb_initial_setup }}
template-mysqld-wrapper = {{ template_mysqld_wrapper }}
link-binary = {{ dumps(mariadb_link_binary) }}
...
...
stack/erp5/mariadb_init_file.sql.in
0 → 100644
View file @
c82921dc
SET GLOBAL rocksdb_large_prefix=1;
stack/erp5/my.cnf.in
View file @
c82921dc
...
...
@@ -33,6 +33,7 @@ default_time_zone = '+00:00'
plugin_load = ha_mroonga;ha_rocksdb
plugin-dir = {{ parameter_dict['plugin-directory'] }}
init_file = {{ parameter_dict['mariadb-init-file-path'] }}
max_connections = {{ parameter_dict['max-connection-count'] }}
...
...
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