init_gtid_sets
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
New
|
Undecided
|
Unassigned |
Bug Description
I read the bug report about https:/
(from no-gtid evironment to gtid evironment)
when we purge binlogs ,it call function MYSQL_BIN_
code:
for (it= filename_
{
const char *filename= it->c_str();
DBUG_
switch (read_gtids_
{
case ERROR:
{
error= 1;
}
case GOT_GTIDS:
{
goto end;
}
case NO_GTIDS:
{
/*
If the binlog_
first binary log does not contain any GTID event, do not
read any more binary logs, GLOBAL.GTID_PURGED should be
empty in the case.
*/
if (binlog_
{
goto end;
}
}
case GOT_PREVIOUS_GTIDS:
case TRUNCATED:
{
break;
}
}
}
scan all binlog files from offset start to offset end .I thinks just read the header about gtid_previous is ok.
The parameter binlog_ gtid_simple_ recovery is set off.