-
Notifications
You must be signed in to change notification settings - Fork 398
[WIP] cases: rewrite Shared Dev Server #1724
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
Conversation
And tell DVC to set group permissions on newly created or downloaded cache | ||
files: | ||
And configure DVC to set group permissions on cached assets, and to enable all | ||
[link types](/doc/user-guide/large-dataset-optimization#file-link-types-for-the-dvc-cache): | ||
|
||
```dvc | ||
$ dvc config cache.shared group | ||
$ dvc config cache.type 'reflink,symlink,hardlink,copy' | ||
``` | ||
|
||
> See `dvc cache dir` and `dvc config cache` for more information. | ||
⚠️ Note that you cam't manually modify tracked data with the above `cache.type` | ||
value. Soft/hard links are disabled by default for this reason, but are needed | ||
for a reliable shared cache. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here are the updates to address #429 (comment) @shcheklein — note that the manual protect setting is no longer required (it's now automatic with sym/hardlinks).
I'm just not sure I get why this is necessary so only wrote "symlink,hardlink... are needed for a reliable shared cache" for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, typo in cam't
🤦 - fixing...
add note about enabling all link types to close #429
c293470
to
02e42f4
Compare
1dd8ac4
to
d224c98
Compare
Stale but will retake this ASAP. |
Uh oh!
There was an error while loading. Please reload this page.