Commit d243b4a1 authored by Dridi Boukelmoune's avatar Dridi Boukelmoune Committed by Lasse Karstensen

Clarify VRT_delete_backend a bit

parent ed411722
......@@ -160,6 +160,9 @@ VRT_delete_backend(VRT_CTX, struct director **dp)
VTAILQ_REMOVE(&backends, be, list);
VTAILQ_INSERT_TAIL(&cool_backends, be, list);
Lck_Unlock(&be->mtx);
// NB. The backend is still usable for the ongoing transactions,
// this is why we don't bust the director's magic number.
}
/*---------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment