hundreds-breakfast-49010
06/03/2020, 8:55 PMBytes
stderr
and stdout
fields from FallibleProcessResultWithPlatform
, I think we need to change the flow on the store
method in <http://cache.rs|cache.rs>
hundreds-breakfast-49010
06/03/2020, 8:56 PMstore()
does is read the bytes from the FallbileProcessResultWithPlatform
, create new digests by storing them in self.file_store
, and then puting those digests into self.process_execution_store
witty-crayon-22786
06/03/2020, 8:56 PMwitty-crayon-22786
06/03/2020, 8:56 PMwitty-crayon-22786
06/03/2020, 8:57 PMhundreds-breakfast-49010
06/03/2020, 8:57 PMwitty-crayon-22786
06/03/2020, 8:57 PMwitty-crayon-22786
06/03/2020, 8:57 PMwitty-crayon-22786
06/03/2020, 8:57 PMwitty-crayon-22786
06/03/2020, 8:58 PMwitty-crayon-22786
06/03/2020, 8:59 PMdoes is read the bytes from thepart of the reason this might be misleading is that these aren’t “new” digests, create new digests by storing them inFallbileProcessResultWithPlatform
self.file_store
witty-crayon-22786
06/03/2020, 8:59 PMwitty-crayon-22786
06/03/2020, 8:59 PMhundreds-breakfast-49010
06/03/2020, 8:59 PMwitty-crayon-22786
06/03/2020, 9:00 PMwitty-crayon-22786
06/03/2020, 9:00 PMhundreds-breakfast-49010
06/03/2020, 9:00 PMwitty-crayon-22786
06/03/2020, 9:00 PMwitty-crayon-22786
06/03/2020, 9:00 PMhundreds-breakfast-49010
06/03/2020, 9:00 PMhasing::Digest
type is being stored as just the 40 hex characters within the protobuf, right?witty-crayon-22786
06/03/2020, 9:01 PMwitty-crayon-22786
06/03/2020, 9:01 PMhundreds-breakfast-49010
06/03/2020, 9:02 PMFallibleProcessResultWithPlatform
in lookup()
, we'll just get back a Digest
that points at actual data stored in the store in the underlying CommandRunner, right?hundreds-breakfast-49010
06/03/2020, 9:02 PMself.file_store
anymore?witty-crayon-22786
06/03/2020, 9:03 PMwitty-crayon-22786
06/03/2020, 9:04 PMwitty-crayon-22786
06/03/2020, 9:04 PMwitty-crayon-22786
06/03/2020, 9:05 PMwitty-crayon-22786
06/03/2020, 9:05 PMwitty-crayon-22786
06/03/2020, 9:06 PMwitty-crayon-22786
06/03/2020, 9:06 PMhundreds-breakfast-49010
06/03/2020, 9:07 PMprocess_execution_store
is ShardedLmdb
, file_store
is Store
hundreds-breakfast-49010
06/03/2020, 9:07 PMfile_store
to exist anymorewitty-crayon-22786
06/03/2020, 9:07 PMwitty-crayon-22786
06/03/2020, 9:07 PMhundreds-breakfast-49010
06/03/2020, 9:07 PMStore
that contains the data that a given Digest
contains can be lost somehowwitty-crayon-22786
06/03/2020, 9:08 PMcrate::remote::populate_fallible_execution_result(
self.file_store.clone(),
execute_response,
vec![],
platform,
)
…doesn’t need to use the file store to load the content anymore?witty-crayon-22786
06/03/2020, 9:08 PMwitty-crayon-22786
06/03/2020, 9:09 PMhundreds-breakfast-49010
06/03/2020, 9:09 PMstore: Store
as an argument from populate_fallible_execution_result
hundreds-breakfast-49010
06/03/2020, 9:09 PMDigest
from the Store
that actually contains the data that Digest
fingerprintshundreds-breakfast-49010
06/03/2020, 9:10 PMDigest
we'll need to get the Bytes
for it out of a Store
, and if it's the wrong Store
that operation will just failwitty-crayon-22786
06/03/2020, 9:10 PMwitty-crayon-22786
06/03/2020, 9:11 PMdigest->content
… it’s digest->content_of_a_response
witty-crayon-22786
06/03/2020, 9:11 PM<http://cache.rs|cache.rs>
file should be almost the only thing using digests for processes.witty-crayon-22786
06/03/2020, 9:12 PM<http://cache.rs|cache.rs>
.hundreds-breakfast-49010
06/03/2020, 9:12 PMhundreds-breakfast-49010
06/03/2020, 9:13 PMpopulate_remote_execution_result
also needs to not have a store
argument anymorehundreds-breakfast-49010
06/03/2020, 9:13 PM<http://streaming.rs|streaming.rs>
witty-crayon-22786
06/03/2020, 9:13 PMwitty-crayon-22786
06/03/2020, 9:35 PMhundreds-breakfast-49010
06/03/2020, 9:35 PMhundreds-breakfast-49010
06/03/2020, 9:35 PM<http://remote.rs|remote.rs>
uses extract_output_files
🙂witty-crayon-22786
06/03/2020, 9:35 PMhundreds-breakfast-49010
06/03/2020, 9:36 PMwitty-crayon-22786
06/03/2020, 9:36 PMFalliablePRWP
witty-crayon-22786
06/03/2020, 9:36 PMwitty-crayon-22786
06/03/2020, 9:36 PMhundreds-breakfast-49010
06/03/2020, 9:36 PMwitty-crayon-22786
06/03/2020, 9:36 PMwitty-crayon-22786
06/03/2020, 9:37 PMwitty-crayon-22786
06/03/2020, 9:37 PMhundreds-breakfast-49010
06/03/2020, 10:38 PMStore
concerns is in <http://intrinsics.rs|intrinsics.rs>
in multi_platform_process_request_to_process_results
hundreds-breakfast-49010
06/03/2020, 10:39 PMCore
and Core
has a Store
. so maybe that's finewitty-crayon-22786
06/03/2020, 10:39 PMhundreds-breakfast-49010
06/03/2020, 10:39 PMwitty-crayon-22786
06/03/2020, 10:39 PMwitty-crayon-22786
06/03/2020, 10:39 PM