Skip to content

Commit 3a2de72

Browse files
committed
Fix race with watcher & stat
There is a window between when the stat is made and the result makes it back to the client where a file is created or deleted and it won't be a part of that stat. To fix it, I added a new property signaling that we got some changes since starting the stat and should run the stat again because we have no way of knowing whether the currently running stat will include the new changes or not.
1 parent ede1c39 commit 3a2de72

File tree

1 file changed

+101
-82
lines changed

1 file changed

+101
-82
lines changed

0 commit comments

Comments
 (0)