-
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
-mongocOnly against a mongodb version 6 does not work properly #1315
Comments
ok, I haven't tried this myself yet. Do you have something interesting in the brokers logfile? |
We have not seen any anomalies in the logs. |
To fix the problem, I need to be able to reproduce it. |
We have a Kubernetes cluster (version 1.25). |
By any chance, are you using the HTTP header "Fiware-Service" (NGSIv2) instead of "NGSILD-Tenant"? |
Ah, one more thing. Multi-tenancy is OFF by default (I really need to change this). So, please check that too |
No we use "NGSILD-Tenant". |
|
Ah, ok, so it's there "by default" for the container (somehow). Would you like us to look at this together? |
I just see in MongoDB the subcribtion is created under a collection csubs. `{
}` |
I was able to reproduce the error and I've fixed the problem. |
Gonna take a little longer than I thought. |
Modified the fix and all tests are now working, see PR #1319 . Please test and if all is good, proceed and close this issue |
Hm, ok but we need a docker in https://hub.docker.com/ to test this in our cluster. |
Ah, ok latest |
Well, use "the latest", but, avoid "latest" literally ... :) |
ok, the subscriptions are back. |
That's good. Anyway, that problem you found about duplicated entity id is highly interesting. To be able to reproduce I'd need you to describe as precise as you can what you do to encounter the problem. This issue you can now close, as it is/was about the subscription problem when restarting the broker |
The duplicate entity ID was apparently, a defective optic on our switch, sorry. |
ah, ok. Fantastic! :) Thank you very much for reporting! You found an important bug that I'm very happy to have removed before next release!!! |
We tried to run a MongoDB v6 with the orion-ld:1.2.0-PRE-1247.
Unfortunately this does not work very well.
What we noticed immediately, the subscriptions don't seem to survive the cache.
Existing subscriptions are no longer reached and new ones only seem to exist for a few seconds.
Our settings for orion-ld are:
-dbhost mongodb-headless.fiware.svc.cluster.local:27017
-logLevel DEBUG
-ctxTimeout "10000"
-experimental
-mongocOnly
The text was updated successfully, but these errors were encountered: