SESSION_TRACK_GTIDs is broken

Description

There's some issue with issue GTID tracking (https://dev.mysql.com/doc/refman/8.0/en/session-state-tracking.html, session_track_gtids variable), as a few related tests end up in assertions. Based on the oracle documentation pages it could be a serious issue for PXC.

Verified in multiple mtr tests, such as:

  • binlog_xa_trx_gtid_response_packet (incorrect gtid list generated)

  • binlog_gtid_mix_response_packet (assertion in the gtid tracking code)

Environment

None

Smart Checklist

Activity

Show:

Kamil Holubicki April 7, 2020 at 5:08 PM

This issue has already been fixed by the way of fixing    (commit ee4f6c0bc64b5588c9296f3aaaffdd5fcc45d93e).

What I found here is potentially uninitialized variable => fixed.

Tyler Duzan March 31, 2020 at 7:42 PM

Have we retested after merging the fix from to see if these MTR failures were resolved as well?

Zsolt Parragi March 18, 2020 at 11:42 AM

edited the title / description

Done

Details

Assignee

Reporter

Needs Review

Yes

Time tracking

1d 5h 35m logged

Fix versions

Affects versions

Priority

Smart Checklist

Created March 2, 2020 at 11:40 AM
Updated March 6, 2024 at 9:46 PM
Resolved April 29, 2020 at 1:15 PM