sapling/eden/fs/prjfs
Zeyi (Rice) Fan 369861a9ee windows: invalidate negative path cache during start
Summary:
In certain situations, users may cause EdenFS to falsely return a path not exist result while the path is available. Windows will cache that and causing subsequent access to that file to automatically return a file not exist error.

We currently only invalidate this negative cache during checkout and rebooting the machine as the cache is even kept during EdenFS restarts. In this diff, we starts to invalidate the negative path cache at startup so if the user ever had issues an `eden restart` would be sufficient to fix.

Reviewed By: xavierd

Differential Revision: D30814059

fbshipit-source-id: 53283f471702762b2eed0c5d0f6a9cc49f4db739
2021-09-09 10:48:53 -07:00
..
CMakeLists.txt move strace logging into FuseChannel 2020-10-20 09:34:03 -07:00
Enumerator.cpp prjfs: make readdir asynchronous 2020-11-13 14:27:26 -08:00
Enumerator.h win: silence a handful of warnings. 2020-12-15 08:07:49 -08:00
PrjfsChannel.cpp windows: invalidate negative path cache during start 2021-09-09 10:48:53 -07:00
PrjfsChannel.h prjfs: refactor the dispatcher interface 2021-08-10 11:23:41 -07:00
PrjfsDispatcher.cpp inodes: move dispatchers around 2021-02-10 11:52:06 -08:00
PrjfsDispatcher.h prjfs: refactor the dispatcher interface 2021-08-10 11:23:41 -07:00
PrjfsRequestContext.cpp prjfs: only send a notification on future timeout 2020-12-15 18:13:01 -08:00
PrjfsRequestContext.h prjfs: replace Synchronized<shared_ptr> with RcuPtr 2021-01-05 12:17:32 -08:00