-
Type: Bug
-
Resolution: Done
-
Priority: Minor - P4
-
None
-
Affects Version/s: 7.0.3
-
Component/s: None
-
None
-
Environment:Ubuntu 22.04
Intel Xeon E3-12xx v2 (Ivy Bridge, IBRS)
-
ALL
-
Currently I'm using Prisma with Node.JS, when one of my request with conditions for document and its aggregated relation returned empty result instead of single entity.
The strangest part is for some documents the same aggregation works correctly but for other - it doesn't. Simply changing id to one of imported documents in reproducing example returns different result.
I've profiled its query and found one big aggregation for it.
After decomposing I've found one short part that creates the problem and reproduced it on server via Compass.
On the prod server (7.0.3) it was empty while on my local Mongo (6.0.5) it worked well.
So, I've created two new identical VDS on Ubuntu 22.04 where installed 6.0.11 version and 7.0.3 to be sure that's no replica mechanics involved or etc but only version.
Result is in attachment.
Maybe it's not a bug, but it looks kinda strange anyway.