Bug #89148 | The timestamp of the GITD events in the GR relay log look wrong. | ||
---|---|---|---|
Submitted: | 8 Jan 2018 22:23 | Modified: | 12 Feb 2018 7:38 |
Reporter: | Jean-François Gagné | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Group Replication | Severity: | S4 (Feature request) |
Version: | 5.7.20 and 8.0.3 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[8 Jan 2018 22:23]
Jean-François Gagné
[12 Feb 2018 7:38]
MySQL Verification Team
Hello Jean, Thank you for the report and feature request! Thanks, Umesh
[4 Jun 2019 1:23]
Fengchun Hua
certification_handler.cc handle_transaction_id /* Remote transaction. */ if (seq_number > 0) { if (!tcle->is_gtid_specified()) { // Create new GTID event. Gtid gtid= { group_sidno, seq_number }; Gtid_specification gtid_specification= { GTID_GROUP, gtid }; Gtid_log_event *gle_generated= new Gtid_log_event(gle->server_id, gle->is_using_trans_cache(), gle->last_committed, gle->sequence_number, gle->may_have_sbr_stmts, gtid_specification); /*slave create a new gle, and this event will use slave's applier thread time, but this time will never changed after mgr started. So change it to use master's gle time*/ gle_generated->header()->when= gle->header()->when; pevent->reset_pipeline_event(); pevent->set_LogEvent(gle_generated);
[4 Jun 2019 1:24]
Fengchun Hua
see fix above. I think this way can fix this bug.