Redis fix for active-active

pull/1646/head
Stefan Mititelu 3 years ago
parent 905d584902
commit 2f705df1bf

@ -4698,6 +4698,7 @@ del_all:
ilog(LOG_INFO, "Deleting entire call");
rwlock_unlock_w(&c->master_lock);
call_destroy(c);
update = false;
}
goto success;

@ -2743,6 +2743,9 @@ void redis_delete(struct call *c, struct redis *r) {
if (!r)
return;
if (c->foreign_call)
return;
if (delete_async) {
LOCK(&r->async_lock);
rwlock_lock_r(&c->master_lock);

Loading…
Cancel
Save