-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error counting entities #1557
Comments
That's weird ... |
ContextBroker Image: fiware/orion-ld:1.6.0-PRE-1578 same Error |
Did you get more info with |
ok I have the trigger:
|
Perfect. |
Hi Ken, we now have an application running that generates a lot of geo based queries and as a result we get a lot of error messages of type “mongocEntitiesQuery.cpp[798]: Database Error (error counting entities: 17.5626500: $geoNear, $near, and $nearSphere are not allowed in this context)” These messages are triggered by this type of request: /ngsi-ld/v1/entities/?georel=near%3BmaxDistance%3D%3D301&geometry=Point&coords=[10.1348%2C54.314]&limit=300&q=name~%3DTIER' Is there a solution to get around this problem? |
Hello, I believe I've seen that error before. If it is what I think, it had a logical explanation. |
Found it. What I was referring to is from this very issue. |
So, all tests passed - only because I have no functests depending on the entity count with georel=$near - I will get problems here some day in the future. I'll deal with that when we get there. However, I can't merge the PR as we're having problems with the docker files, can't build. |
PR merged. |
is this in version fiware/orion-ld:1.6.0-PRE-1615? Then it still doesn't seem to work but there is another error message: |
Yeah, that warning, not error, is new. You say "it still doesn't seem to work", what exactly do you mean with that? Is something failing, or are you just referring to the new warning? |
Ah ok, that's just a warning now, you're right. |
I have an error message, I would like to see the query that triggers this error, is there a way to do this?
I don't actually have a $near query anywhere in which I also count the entities.
ContextBroker Image: fiware/orion-ld:1.6.0-PRE-1577
The text was updated successfully, but these errors were encountered: