Closed cesarjorgemartinez closed 3 years ago
This behaviour are detected also in other components (example iota-ul)
My first hypotehis was this was caused by a limitation in the legacy driver used by Orion, maybe solved in the new driver with a better support to on-fly operations during a primary change. Driver migration, as you maybe known, is pending (issue # 3132and main PR, in WIP status: https://github.com/telefonicaid/fiware-orion/pull/3622).
However then you say
This behaviour are detected also in other components (example iota-ul)
which may invalidate my hypthosis, as these other componentes are supposed to use up to date (or almost) drivers versions :)
It may be that this hypothesis does not start from the data that are supposed to be correct. Example, other components also prevent this problem.
MongoDB driver has been completely replaced in PR #3622. If this problem is still happening it will appear in a completely different form. Thus, I think is better to close this issue and open a new fresh one in the case that occurs.
Hi,
Sometimes using MongoDB as ReplicaSet and change the primary node when exist on-air operations fail.
Seen with version 2.4.1.
Example logs (in WARN level):
Regards, Cesar Jorge