servicecomb-service-center
servicecomb-service-center copied to clipboard
how kie handle empty lable value depends on storage imple
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
-
set a key value with lable "app=default, env="
-
use etcd as storage
-
query by "app=default, env="
-
it will not return any result
-
set a key value with lable "app=default, env="
-
use mongo as storage
-
query by "app=default, env="
-
it will not return result
Expected behavior return same result
Sugesstion for bug:
change service layer, if lable value is empty, do not pass it to dao layer, consider it as an inefficiency query param