odoo/odoo#224588
Created by Discuss, Thanh Son Dodeur (tso)
Merged
at 862938c964d0f296f3ede203fa4d45b4926ea8bd
Statuses:
- legal/cla: Contributor License Agreement check
- ci/runbot: Odoo Test Suite
- ci/upgrade_enterprise: Test upgrades for enterprise master
- ci/template: Contact runbot team on discord for help.
- ci/style: Optional style check. Ignore it only if strictly necessary.
- ci/security: Required security check. Can only be ignored by security team.
- ci/documentation: (runtime 1043s)
- label
- odoo-dev:18.0-call-track-race-fix-tso
- head
- 6905b1f8c26eff84366f5966e9ea6a86d25727e0
- merged
- 10 months ago by Discuss, Alexandre Kühn (aku)
| odoo/odoo | |
|---|---|
| 18.0 | #224588 |
| saas-18.2 | #224658 |
| saas-18.3 | #224773 |
| saas-18.4 | #224788 |
| 19.0 | |
| saas-19.1 | |
| saas-19.2 | |
| saas-19.3 | |
| master | #224806 |
[FIX] discuss: call - prevent traceback with track race condition
Before this commit, since #200981, a race condition could occur where the call is over when the the rtc session matching a track event is obtained.
This could occur if you crash or leave at the moment another user arrives. You could get a track event from the SFU, wait for the rtc session record from Odoo, leave te call, finally get the rtc session from odoo. This would lead to a traceback as this handler expected that the call was still ongoing.