diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2013-09-10 19:13:47 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2013-09-11 12:32:33 -0700 |
commit | 015f1fd479b42b79aac46a5b8d9980c770a32d9e (patch) | |
tree | 5d4dc2a833b5e53c9b16ebf542734785b839f864 /tests/bugs/bug-808400-stripe.t | |
parent | 7d9bc0d21408c31651a65a6ec0e67c3b8acd0fde (diff) |
rpc/rpc-lib: rpcsvc should reply when rpc_err is set
Problem:
When requests are received on a connection before setvolume
is done, creating frame from the requests fail because there is
no association of the transport with the conn(i.e. xl_private).
xl_private is set only on set_volume. In such cases error response
is not sent from server xlator to that request because of which
operations on mount point are hanging.
Fix:
Set actor return value to RPCSVC_ACTOR_ERROR so that response is sent
even in these cases.
Change-Id: I74d7bc6849fde6c734008d67c1f4bc9d9f7a84f9
BUG: 1006367
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Reviewed-on: http://review.gluster.org/5892
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'tests/bugs/bug-808400-stripe.t')
0 files changed, 0 insertions, 0 deletions