[OpenSIPS-Devel] [OpenSIPS/opensips] 48023a: clusterer: fix processes serialization when fetchi...
noreply at github.com
Tue Mar 5 07:28:31 EST 2019
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2019-03-05 (Tue, 05 Mar 2019)
clusterer: fix processes serialization when fetching sharing tag state
High contention on a RW lock aquired for switchable reading has the same
downsides as direclty aquring it for writing. This commit improves this
by switching from read to write in separate steps, with basic rw lock
lock ops (start/stop read/write).
More information about the Devel