This is a question about MariaDB (mostly) and a replication that I am considering.
For this replication, the Primary database is updated every minute by a process which can take about 15 seconds to complete, each time. During these 15 seconds, the Primary database may not be completely consistent on each tables.
I want to set a Replica for this database on another server. On the Replica server, I expect to do some periodic post-processing on this database, which needs (preferably) the database to be in a consistent state (and maybe writing the results back to the Primary server, see this question).
Is there a way to know when the Replica has fully replicated this consistent state, or to force it to stay in this state, in order I can do the post-processing without errors?
(On the multiple servers I have, MariaDB versions can be 10.3.38 or 10.5.19 or 10.6.12. Servers are Linux Debian 10, Linux Debian 11 or Linux Ubuntu 22.04.3 LTS).