-
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
Orion-LD restarts when a large payload is given to a Property value #1470
Comments
So, I took a quick look at the "entity with the huge attribute value" and ... You might as well stop using the broker and just put that entire entity in a file in the file system and forget about queries or anything and just retrieve it as is. E.g., you can't query over "buildingNo" or "streetName" or anything at all. You'll always get that entire entity back with ALL the information in it. A data model that would make more sense (to me) would be to have every building as separate entities and this "mega attribute" ("buildings") having a Relationship-array to all those entities. We (FIWARE) have the smart data model initiative in place to help with this kind of problems. I can point you in the right direction to get information about all that. That said, the broker must never ever crash, no matter what you feed it with, so, we'll start looking into this crash right away. |
I implemented a functest creating the entity in question, expecting a crash, but it worked just fine. So, as I can't reproduce, I'm gonna need more input. It still might fail in github actions, we'll know in about 30-40 minutes ... |
Hi,
We are having a problem causing Orion-LD to restart when we try inserting the example entity attached through ngsi-ld api.
requestPayload.txt
I believe the problem is not because of the structure but because of the length of the value of the Property. We can successfuly insert this model when we have fewer values in the property, without causing a restart.
Strangely, while it causes a restart, the data is being written to MongoDB.
Tested Versions:
The text was updated successfully, but these errors were encountered: