Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mysql gtid排序后输出 #500

Merged
merged 4 commits into from
Aug 24, 2020
Merged

mysql gtid排序后输出 #500

merged 4 commits into from
Aug 24, 2020

Conversation

zr-hebo
Copy link
Contributor

@zr-hebo zr-hebo commented Jun 4, 2020

当 mysql gtid中包含多个 server id时,由于 Sets是一个map结构,输出 set的顺序随机,导致最终输出的 gtid字符串内容不同。本 PR,在输出前对内容进行排序后输出,保证输出结果的一致。

@siddontang siddontang merged commit 0c5789d into go-mysql-org:master Aug 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants