[Bugs] [Bug 1627610] glusterd crash in regression build

bugzilla at redhat.com bugzilla at redhat.com
Tue Sep 18 04:09:37 UTC 2018


https://bugzilla.redhat.com/show_bug.cgi?id=1627610

Worker Ant <bugzilla-bot at gluster.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|POST                        |MODIFIED



--- Comment #4 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/21150 committed in master by "Atin
Mukherjee" <amukherj at redhat.com> with a commit message- glusterd: acquire lock
to update volinfo structure

Problem: With commit cb0339f92, we are using a separate syntask
for restart_bricks. There can be a situation where two threads
are accessing the same volinfo structure at the same time and
updating volinfo structure. This can lead volinfo to have
inconsistent values and assertion failures because of unexpected
values.

Solution: While updating the volinfo structure, acquire a
store_volinfo_lock, and release the lock only when the thread
completed its critical section part.

Fixes: bz#1627610
Signed-off-by: Sanju Rakonde <srakonde at redhat.com>

Change-Id: I545e4e2368e3285d8f7aa28081ff4448abb72f5d

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=AScMcXwUDg&a=cc_unsubscribe


More information about the Bugs mailing list