User:DWalden (WMF)/Simulating database replication lag


 * 1) Setup a local docker wiki which uses a replica database, follow these instructions: MediaWiki-Docker/Configuration_recipes/Alternative_databases
 * 2) Access the replica database (e.g. run   (password is  ))
 * 3) To set a 10 second replication lag, run the SQL commands:
 * 4) To remove the lag, run the commands: