summaryrefslogtreecommitdiffstats
path: root/tests/bugs/replicate/bug-1477169-entry-selfheal-rename.t
diff options
context:
space:
mode:
authorRavishankar N <ravishankar@redhat.com>2018-06-29 11:30:37 +0530
committerRavishankar N <ravishankar@redhat.com>2018-07-02 10:12:14 +0000
commit8f6e437073ee20d8f1ec8efc57b9aac86d09269d (patch)
tree1612bae6a3894656f70f2f764ca929f3c73acd16 /tests/bugs/replicate/bug-1477169-entry-selfheal-rename.t
parentb17acca6d00b31a72bf8bcb81ab3bbb5787313c1 (diff)
glusterfsd: Do not process GLUSTERD_BRICK_XLATOR_OP if graph is not ready
Problem: If glustershd gets restarted by glusterd due to node reboot/volume start force/ or any thing that changes shd graph (add/remove brick), and index heal is launched via CLI, there can be a chance that shd receives this IPC before the graph is fully active. Thus when it accesses glusterfsd_ctx->active, it crashes. Fix: Since glusterd does not really wait for the daemons it spawned to be fully initialized and can send the request as soon as rpc initialization has succeeded, we just handle it at shd. If glusterfs_graph_activate() is not yet done in shd but glusterd sends GD_OP_HEAL_VOLUME to shd, we fail the request. Change-Id: If6cc07bc5455c4ba03458a36c28b63664496b17d fixes: bz#1597229 Signed-off-by: Ravishankar N <ravishankar@redhat.com> (cherry picked from commit 2f9e555f79ce69668950693ed2e09cfafd2b7ec1)
Diffstat (limited to 'tests/bugs/replicate/bug-1477169-entry-selfheal-rename.t')
0 files changed, 0 insertions, 0 deletions