Closed raararaara closed 1 month ago
What happened: When performing the FindDocInfosByKeys query with an empty array for docKeys, the server encounters a critical issue. Specifically, the server crashes with the following error:
FindDocInfosByKeys
2024-07-26T01:27:13.710+0900 WARN a16 RPC : "/yorkie.v1.AdminService/GetDocuments" 1.773583ms: &{"project_name:\"default\"" {'\x00' "/yorkie.v1.AdminService/GetDocuments" %!q(bool=false) '\x00'} {"[::1]:49484" "connect" map[]} map["Authorization": ["cqh6cnh97i624rnkavk0"] "Content-Length":["70"] "Content-Type":["application/json"] "Host": ["localhost:8080"]] "POST"} => "find documents: (BadValue) $in needs an array"
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
yorkie version
cc @blurfx
What happened: When performing the
FindDocInfosByKeys
query with an empty array for docKeys, the server encounters a critical issue. Specifically, the server crashes with the following error:How to reproduce it (as minimally and precisely as possible):
FindDocInfosByKeys
query with an empty array for docKeys.Anything else we need to know?:
Environment:
yorkie version
): v0.4.28