• Daniele Sciascia's avatar
    MW-292 Reset timestamp after transaction replay · 9a809fe3
    Daniele Sciascia authored
    Transaction replay causes the THD to re-apply the replication
    events from execution, using the same path appliers do. While
    applying the log events, the THD's timestamp is set to the
    timestamp of the event.
    Setting the timestamp explicitly causes function NOW() to
    always the timestamp that was set. To avoid this behavior we
    reset the timestamp after replaying is done.
    9a809fe3
wsrep_thd.cc 15.6 KB