-
Notifications
You must be signed in to change notification settings - Fork 30.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow site wide configuration settings for all users #239873
Comments
Can you do a test by entirely disabling the file watcher via: "files.watcherExclude": {
"**": true
} |
That does seem to stop the crawl! And changing it back to
This happens regardless of whether I open the workspace as However, taking a step back, even if |
No, not to my knowledge. |
Okay, in that case I think this issue has 2 parts, a bug/question and a feature request. Bug/question: why doesn't Feature request: a way to deploy a |
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation. Happy Coding! |
Thanks! And just to confirm for anyone else since it wasn't immediately obvious to me: setting |
Occasionally users on our cluster will open a large directory tree (10s of millions of files) on a shared network filesystem (CephFS) as a workspace. This causes noticeable latency for all users of the filesystem, as unfortunately network filesystems have notoriously bad performance isolation. I believe this happens during the initial indexing of the files in the directory tree, since setting
doesn't help. I can watch the fileWatcher process indexing the directory tree via
strace
regardless of this setting. (Even if it did help, I don't think we have a way to deploy this as a site-wide setting.) For what it's worth, CephFS doesn't support inotify, but if I'm understanding what I'm seeing correctly, that doesn't really matter since the issue happens during the initial crawl.While we continue to identify these issues case-by-case and try to educate users about workspaces, I'm wondering if there could be a technical solution. I think the ideal behavior might be that we could set a site-wide "blacklist" of directories to never crawl preemptively. I realize this might affect the behavior of extensions that want to discover properties of the workspace, but in our case this would be acceptable -- the CephFS filesystem is for storing large data files, not code, so it doesn't need to function properly as a part of a workspace.
Is such a feature be possible? Or is there another approach that you would recommend for issues like this? Thanks!
The text was updated successfully, but these errors were encountered: