radondb / xenon

The MySQL Cluster Autopilot Management with GTID and Raft
GNU General Public License v3.0
693 stars 162 forks source link

xenoncli mysql rebuildme 重建INVALID状态的节点时,报错这个,请帮忙解答下 #179

Open Lzw901 opened 5 months ago

Lzw901 commented 5 months ago

[mysql@localhost /usr/local/xenon/bin]$ ./xenoncli mysql rebuildme --from=10.232.2.187:8801 2024/04/15 17:46:19.903706 [WARNING] =====prepare.to.rebuildme===== IMPORTANT: Please check that the backup run completes successfully. At the end of a successful backup run innobackupex prints "completed OK!".

2024/04/15 17:46:19.904072 [WARNING] S1-->check.raft.leader 2024/04/15 17:46:19.906042 [WARNING] S2-->prepare.rebuild.from[10.232.2.187:8801].... 2024/04/15 17:46:19.908912 [PANIC] I[10.232.2.188:8801].have.[2].local.transactions.more.than.maxAllowedLocalTrxCount[0].compared.to.from[10.232.2.187:8801].you.cant.rebuildme.sir panic: [PANIC] I[10.232.2.188:8801].have.[2].local.transactions.more.than.maxAllowedLocalTrxCount[0].compared.to.from[10.232.2.187:8801].you.cant.rebuildme.sir

goroutine 1 [running]: xbase/xlog.(Log).Panic(0xc0001862e0, {0x7b2085, 0x7fffa76da2da}, {0xc000121db0, 0xc000190750, 0x0}) /root/xenon-1.1.4/src/xbase/xlog/xlog.go:142 +0xc8 cli/cmd.mysqlRebuildMeCommandFn(0xc0001e6b40, {0xc000186370, 0x1, 0x1}) /root/xenon-1.1.4/src/cli/cmd/mysql.go:269 +0x438 vendor/github.com/spf13/cobra.(Command).execute(0xc0001e6b40, {0xc000186350, 0x1, 0x1}) /root/xenon-1.1.4/src/vendor/github.com/spf13/cobra/command.go:603 +0x3a7 vendor/github.com/spf13/cobra.(Command).ExecuteC(0xa5b720) /root/xenon-1.1.4/src/vendor/github.com/spf13/cobra/command.go:689 +0x24b vendor/github.com/spf13/cobra.(Command).Execute(...) /root/xenon-1.1.4/src/vendor/github.com/spf13/cobra/command.go:648 main.main() /root/xenon-1.1.4/src/cli/cli.go:43 +0x25

请问一下,这个是什么原因?