[MDEV-28103] container /docker-entrypoint-initdb.d sql on master doesn't replicate Created: 2022-03-16  Updated: 2022-03-30  Resolved: 2022-03-18

Status: Closed
Project: MariaDB Server
Component/s: Docker
Affects Version/s: None
Fix Version/s: 10.2.43, 10.3.34, 10.4.25, 10.5.15, 10.6.7, 10.7.3, 10.8.2

Type: Bug Priority: Major
Reporter: Daniel Black Assignee: Daniel Black
Resolution: Fixed Votes: 0
Labels: regression

Issue Links:
Problem/Incident
is caused by MDEV-27074 container start-up to take a long time Closed

 Description   

Add some SQL in a master.sql in /docker-entrypoint-initdb.d doesn't replicate to a replica.

Analysis

commit was added in MDEV-27074 to work around slow initialization of timezones because of slow io by disabling the binary log on initialization.

MDEV-27608 / commit to further speed up timezones, making the earlier change redundant.



 Comments   
Comment by Daniel Black [ 2022-03-16 ]

Temporary testing image pushed to quay.io/danielgblack/mariadb-test:10.6-MDEV-28103

https://github.com/MariaDB/mariadb-docker/pull/421

rob.schwyzer@mariadb.com, can you please check to make sure I haven't regressed anything.

markus+makela, can you please test against your use case.

Comment by markus makela [ 2022-03-17 ]

The new image works as expected, the events are now correctly binlogged.

Comment by Daniel Black [ 2022-03-18 ]

Docker Library change released - https://github.com/docker-library/official-images/pull/12073
This should be up on Docker Hub now.

Thanks for the bug report and testing markus makela

Generated at Thu Feb 08 09:58:05 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.