• guilhem@gbichot2's avatar
    Replication: · 05e5a35b
    guilhem@gbichot2 authored
    Now the I/O thread (in flush_master_info()) flushes the relay log to disk
    after reading every event. Slower but provides additionnal safety in case
    of brutal crash.
    I had to make the flush optional (i.e. add a if(some_bool_argument) in the function)
    because sometimes flush_master_info() is called when there is no usable
    relay log (the relay log's IO_CACHE is not initialized so can't be flushed).
    05e5a35b
slave.h 19.8 KB