Description of problem: During migration of fd after graph switch, if open(dir) fails, the fd is not marked as bad. Instead, future calls just pass through the new graph. With fdctx for protocol/client being NULL, the fd is treated as anonymous fd and the call fails/succeeds based on that treatment. However this behavior is not desired. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Thanks to Junaid for pointing this bug out.
CHANGE: http://review.gluster.com/3085 (fuse-bridge/fd-migration: document migration failures in fdctx.) merged in master by Anand Avati (avati)
*** Bug 810079 has been marked as a duplicate of this bug. ***