apache / incubator-horaedb-meta

Meta service of HoraeDB cluster.
https://horaedb.apache.org
Apache License 2.0
27 stars 15 forks source link

Bug: Scheduling failed #272

Open chunshao90 opened 1 year ago

chunshao90 commented 1 year ago

Describe this problem Commit id: f561cd63b197e4153ce9771c6628294d11851448 Encounter the following error

2023-11-10T10:55:45.699+0800  error  transferleader/transfer_leader.go:146  shard leader node not match  {"requestOldLeaderNodeName": "xx.160:8831", "actualOldLeaderNodeName": "xx.198:8831"}
github.com/[Cere](https://github.com/CeresDB/ceresmeta/issues/new?assignees=&labels=bug&projects=&template=bug_report.md#)[sDB](https://github.com/CeresDB/ceresmeta/issues/new?assignees=&labels=bug&projects=&template=bug_report.md#)/ceresmeta/server/coordinator/procedure/operation/transferleader.validateClusterTopology
  /ceresmeta/server/coordinator/procedure/operation/transferleader/transfer_leader.go:146
github.com/CeresDB/ceresmeta/server/coordinator/procedure/operation/transferleader.NewProcedure
  /ceresmeta/server/coordinator/procedure/operation/transferleader/transfer_leader.go:89
github.com/CeresDB/ceresmeta/server/coordinator.(*Factory).CreateTransferLeaderProcedure
  /ceresmeta/server/coordinator/factory.go:233
github.com/CeresDB/ceresmeta/server/coordinator/scheduler/rebalanced.(*schedulerImpl).Schedule
  /ceresmeta/server/coordinator/scheduler/rebalanced/scheduler.go:121
github.com/CeresDB/ceresmeta/server/coordinator/scheduler/manager.(*schedulerManagerImpl).Scheduler
  /ceresmeta/server/coordinator/scheduler/manager/scheduler_manager.go:246
github.com/CeresDB/ceresmeta/server/coordinator/scheduler/manager.(*schedulerManagerImpl).Start.func1
  /ceresmeta/server/coordinator/scheduler/manager/scheduler_manager.go:169
2023-11-10T10:55:45.699+0800  error  manager/scheduler_manager.go:248  scheduler failed  {"clusterName": "obdocker", "error": "(#404)NodeName not found, cause:<nil>"}
github.com/CeresDB/ceresmeta/server/coordinator/scheduler/manager.(*schedulerManagerImpl).Scheduler
  /ceresmeta/server/coordinator/scheduler/manager/scheduler_manager.go:248
github.com/CeresDB/ceresmeta/server/coordinator/scheduler/manager.(*schedulerManagerImpl).Start.func1
  /ceresmeta/server/coordinator/scheduler/manager/scheduler_manager.go:169

Steps to reproduce

Expected behavior

Additional Information