diff options
author | Ravishankar N <ravishankar@redhat.com> | 2014-07-09 23:19:06 +0000 |
---|---|---|
committer | Niels de Vos <ndevos@redhat.com> | 2014-07-14 02:22:14 -0700 |
commit | 9d68bd17adf45b158ba8dd89f583805ae1a9e706 (patch) | |
tree | 68b27a37dc9c3c42189292d249e956fe1e3846ea /libglusterfs/src/client_t.c | |
parent | a4369c456de4304ebdb252bc2783d634a56f8301 (diff) |
protocol/server: '/s/ESTALE/ENOENT' only in lookup path
Problem:
[1] modified the server resolver code to send ENOENT instead of
ESTALE to older clients for all FOPS. This caused dht_mkdir
to fail under certain conditions (see bug description).
Fix:
Since [1] is needed by AFR only in its lookup path, reverted the changes
introduced by [1] in resolve_entry_simple () an resolve_inode_simple () and
made the change instead in server_lookup_resume().
[1] http://review.gluster.org/#/c/8080
Change-Id: Idb2de25839fe712550486f2263a60c0531530d8f
BUG: 1118574
Signed-off-by: Ravishankar N <ravishankar@redhat.com>
Reviewed-on: http://review.gluster.org/8294
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
Reviewed-by: Niels de Vos <ndevos@redhat.com>
Diffstat (limited to 'libglusterfs/src/client_t.c')
0 files changed, 0 insertions, 0 deletions