Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return injected error when injecting empty result and corrupted bytes…
… read error (#13369) Summary: **Context/Summary:** archang19 found the place in code where no injected error status is returned on effectively injected error (empty result or corrupted bytes). I can't find a good argument for doing so. In these cases where such empty result and corrupted result is not expected, the file system should return error (< 0). Our fault injection framework should align with that to simulate fault returned by file system. Pull Request resolved: #13369 Test Plan: Monitor stress test Reviewed By: archang19 Differential Revision: D69136015 Pulled By: hx235 fbshipit-source-id: 6ee7a7bd5e0aa19837e4dfd73817d4a9d5af76f9
- Loading branch information