sapling/eden/fs/prjfs
Xavier Deguillard 9640f62409 prjfs: don't silently ignore invalidation errors
Summary:
For the longest time, invalidation errors were simply ignored, and while some
of them are valid to ignore, others just aren't and should be surfaced. One
exemple of a valid error is when a file is opened with no sharing, attempts to
invalidate the file would fail, but not inform the users, who would then be
surprised that the file wouldn't be updated on disk properly.

Instead of ignoring all errors, I've special cased the ones that we may be
expecting to receive, and will treat all the others as errors. A future diff
will attempt to properly not update the parent TreeInode so that a failed
invalidation would then be visible during an `hg update`.

Reviewed By: genevievehelsel

Differential Revision: D23980547

fbshipit-source-id: 2e67bfe817951fd0b497214a6474ff28b953b6e6
2020-09-30 12:28:31 -07:00
..
CMakeLists.txt inodes: move prjfs/EdenDispatcher to inodes/ 2020-09-23 09:43:34 -07:00
Dispatcher.cpp prjfs: add TARGETS file 2020-09-23 09:43:35 -07:00
Dispatcher.h prjfs: add TARGETS file 2020-09-23 09:43:35 -07:00
Enumerator.cpp prjfs: add TARGETS file 2020-09-23 09:43:35 -07:00
Enumerator.h prjfs: move win/mount into prjfs 2020-09-22 09:09:56 -07:00
PrjfsChannel.cpp prjfs: don't silently ignore invalidation errors 2020-09-30 12:28:31 -07:00
PrjfsChannel.h prjfs: remove FsChannel.h 2020-09-28 18:14:30 -07:00
PrjfsRequestContext.h prjfs: add TARGETS file 2020-09-23 09:43:35 -07:00