-
Notifications
You must be signed in to change notification settings - Fork 131
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
Document volatile Action Cache implications #667
Comments
Yes this is because for the "AC_MAIN_STORE": {
"memory": {
"eviction_policy": {
// 100mb.
"max_bytes": 100000000,
}
}
}, Try swapping it out for a "AC_MAIN_STORE": {
"filesystem": {
"content_path": "/tmp/nativelink/data-worker-test/content_path-ac",
"temp_path": "/tmp/nativelink/data-worker-test/tmp_path-ac",
"eviction_policy": {
// 1gb.
"max_bytes": 1000000000,
}
}
}, @MarcusSorealheis or @bclark8923, could either of you make a PR to either change the implementation of the |
Oh, that explains it. I naively thought of it as a run-time accelerated store that would still be persisted somehow. |
I'll take care of it. After thinking about it for a few minutes @allada, I think we need to move entirely away from the memory store. This issue sort of highlights why. We need to replace the memory store with an in-memory database that has some semblance of durability, among other factors. Targeting a system's internal memory without a database layer in-between can lead to lots of should be solved problems. Perhaps, replace is too strong. |
I have mixed feelings about moving to an out-of-process memory store. We should have this conversation in another thread though. |
Currently after I have build my project I can run
buck2 clean && buck2 build
and everything will be fetched from nativelink without redoing any build steps.But if I restart nativelink with basic_cas.json and without deleting any data on the subsequent
buck2 build
the ResultRequest is not found. Input to that action that were previously uploaded are reused. So for buck2 I only seere_execute
but nore_upload
.initial build:
buck2 clean && buck2 build
:restart nativelink:
tests were done with commit 2a89ce6 because of #665.
The text was updated successfully, but these errors were encountered: