diff options
| author | Mohit Agrawal <moagrawal@redhat.com> | 2019-10-14 15:42:31 +0530 | 
|---|---|---|
| committer | Mohit Agrawal <moagrawal@redhat.com> | 2019-10-15 15:26:21 +0530 | 
| commit | 9314a9fbf487614c736cf6c4c1b93078d37bb9df (patch) | |
| tree | 3d0dec7274a6e943be47fe337dacc45a03a6a468 /tests/basic | |
| parent | e3c3a3bc8805930b11e890baa99fc6e752e733f5 (diff) | |
dht: Rebalance causing IO Error - File descriptor in bad state
Problem : When a file is migrated, dht attempts to re-open all open
          fds on the new cached subvol. Earlier, if dht had not opened the fd,
          the client xlator would be unable to find the remote fd and would
          fall back to using an anon fd for the fop. That behavior changed with
          https://review.gluster.org/#/c/glusterfs/+/15804, causing fops to fail
          with EBADFD if the fd was not available on the cached subvol.
          The client xlator returns EBADFD if the remote fd is not found but
          dht only checks for EBADF before re-opening fds on the new cached subvol.
Solution: Handle EBADFD at dht code path to avoid the issue
Change-Id: I43c51995cdd48d05b12e4b2889c8dbe2bb2a72d8
Fixes: bz#1758579
Diffstat (limited to 'tests/basic')
0 files changed, 0 insertions, 0 deletions
