Hi
Both client side calls…
coronium:getObjects( collection, { where = { objectId = { ["$exists"] = true } }, limit = 99999 } )
…and server side…
coronium.mongo:getObjects( collection, nil, 99999 )
…only return a fraction of the objects in a collection. getObjectCount returns the correct number. I’m getting this on all collections I create, no matter how simple each object is. Here are the results of some tests:
count : returned
10000 : 9899
9000 : 8899
5000 : 4899
1000 : 899
500 : 399
200 : 101
100 : 100
The only theory I have is that we changed the object size with this command…
sudo sed 's/client\_body\_buffer\_size 32k/client\_body\_buffer\_size 64k/' -i /usr/local/openresty/nginx/conf/nginx.conf
…as a result of this discussion.
Any help would be hugely appreciated
(AWS Coronium 1.93.1)