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

执行 -w stats 的时候报错 #3

Open
zeusYi opened this issue Nov 12, 2019 · 0 comments
Open

执行 -w stats 的时候报错 #3

zeusYi opened this issue Nov 12, 2019 · 0 comments

Comments

@zeusYi
Copy link

zeusYi commented Nov 12, 2019

[root@masterdb-erp binlog_flashback]# ./binlog_rollback -m file -w stats -M mysql -i 20 -b 100 -l 10 -sbin="mysql-bin.000067" -spos=11181440 -o /root/binlog_flashback/binlogs_dir /server/mysql_data/mysql38375/data/mysql-bin.000067
time="2019-11-12_20:00:36" level=info errcode=0 errmsg="start to parse binlog from local files"
time="2019-11-12_20:00:36" level=info errcode=0
start to parse /server/mysql_data/mysql38375/data/mysql-bin.000067 11181440

time="2019-11-12_20:00:36" level=info errcode=0 errmsg="start thread to analyze statistics from binlog"
panic: assignment to entry in nil map

goroutine 18 [running]:
main.ProcessBinEventStats(0xc0000840d0, 0xc0000840d8, 0xc0000840e0, 0x10cc080, 0xc000086ae0, 0xc0001e61d0)
E:/danny/src/go_person/src/binlog_rollback/stats_process.go:247 +0xa70
created by main.main
E:/danny/src/go_person/src/binlog_rollback/main.go:32 +0x487

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

No branches or pull requests

1 participant