DBMaxReplicationLag
This is documentation about a configuration directive, which can be placed within Movable Type’s core configuration file, mt-config.cgi
, to customize the behavior of the system.
This is an integer value, which is the number of bytes to allow a database slave to be lagged behind the master database. If the slave exceeds this specified value, it will not be considered when choosing a slave database for read-only access.
Default
The default is 0; which means no lag is acceptable, and any amount of lag will cause the slave to be ignored until it is up to date.
Values
integer (number of bytes)
This value can be best determined by the database administrator.
Example
Define lag of 1024bytes:
DBMaxReplicationLag 1024