diff options
author | Kaushal M <kaushal@redhat.com> | 2015-07-07 12:52:30 +0530 |
---|---|---|
committer | Raghavendra Bhat <raghavendra@redhat.com> | 2015-07-13 03:13:55 -0700 |
commit | 50b0c7baad43dcd378a5740f154b38ec0ffe0f00 (patch) | |
tree | a8afb3184632052123c1be410e7bad164d459b32 /tests/bugs/glusterd/stale-brick-proc-brick-mux.t | |
parent | c7d8d2ea1e4ad9e247b5876cf17d3a6e0d9af9ad (diff) |
glusterd: Fix management encryption issues with GlusterDv3.6.4
Backport of commit 01b82c6 from master
Management encryption was enabled incorrectly in GlusterD leading to
issues of cluster deadlocks. This has been fixed with this commit. The
fix is in two parts,
1. Correctly enable encrytion for the TCP listener in GlusterD and
re-enable own-threads for encrypted connections.
Without this, GlusterD could try to esatblish the blocking SSL
connects in the epoll thread, for eg. when handling friend updates,
which could lead to cluster deadlocks.
2. Explicitly enable encryption for outgoing peer connections.
Without enabling encryption explicitly for outgoing connections was
causing SSL socket events to be handled in the epoll thread. Some
events, like disconnects during peer detach, could lead to connection
attempts to happen in the epoll thread, leading to deadlocks again.
Change-Id: I438c2b43f7b1965c0e04d95c000144118d36272c
BUG: 1241785
Signed-off-by: Kaushal M <kaushal@redhat.com>
Reviewed-on: http://review.gluster.org/11612
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Raghavendra Bhat <raghavendra@redhat.com>
Diffstat (limited to 'tests/bugs/glusterd/stale-brick-proc-brick-mux.t')
0 files changed, 0 insertions, 0 deletions