Description of problem: Found a potential locking issue when reading code. There are two cases to restart brick, one is when glusterd starts or quorum is met, another is when new peers are joined and quorum is changes. In the later case, sync_lock is not taken, and may cause lock corruption. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
REVIEW: https://review.gluster.org/22417 (glusterd: fix potential locking issue on peer probe) posted (#1) for review on master by Zhang Huan
REVIEW: https://review.gluster.org/22417 (glusterd: fix potential locking issue on peer probe) merged (#2) on master by Amar Tumballi