polarismesh / polaris

Service Discovery and Governance Platform for Microservice and Distributed Architecture

Home Page:https://polarismesh.cn

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

batchDeleteInstanceMeta方法在极端情况下会产生错误查询

MI-cool opened this issue · comments

commented

Describe the bug
sqldb/instance.go:925 [Store][database] multi delete instance metadata, str: delete from instance_metadata where id in (,?), param: [10.2.2.119:8080], err: Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ',?)' at line 1

Environment

  • Version: [e.g. v1.13.0]