Skip to content

Commit 6b277af

Browse files
author
Wiktor Maj
authored
Enable parallel replication applier threads (#116)
1 parent c6291b8 commit 6b277af

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2121
* Completed [ARCHITECTURE.md](./docs/ARCHITECTURE.md) (#93)
2222
* Migrated CI from self-hosted to GitHub-hosted runners with Docker-in-Docker test infrastructure. (#94)
2323
* Test workflow always builds service images locally for reproducibility. (#97)
24+
* Enabled parallel replication applier threads on secondary MySQL nodes. (#75)
2425
* Clean up temporary `.pyc` files on remote nodes after execution. (#51)
2526
* Set `innodb_flush_method=O_DIRECT` to eliminate double caching in containers. (#74)
2627
* Reduced InnoDB change buffer size for read-heavy BI workload. (#72)

services/mysql-server/mysql_config.cnf.tpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ ssl-key = "/etc/mysql/ssl/mysql_server_key.pem"
1414
require_secure_transport = "ON"
1515
max_connections = "50"
1616
max_connect_errors = "50"
17+
replica_parallel_workers = "4"
18+
replica_parallel_type = "LOGICAL_CLOCK"
19+
replica_preserve_commit_order = "ON"
1720
innodb_flush_method = "O_DIRECT"
1821
innodb_change_buffer_max_size = "10"
1922
innodb_buffer_pool_size = "1G"

0 commit comments

Comments
 (0)