Hi! Is it a good idea to use an NFS volume to shar...
# general
b
Hi! Is it a good idea to use an NFS volume to share the pants cache across CI runs ?
I guess not. It didn’t not work.
Copy code
Got hash collision reading from store - digest Digest { hash: Fingerprint<83110679b09ce09d8h565f141eaa6dd95b25b74e27ae1b150eee3dfba766f4b4>, size_bytes: 3845079 } was requested, but retrieved bytes with that fingerprint had length 8. Congratulations, you may have broken sha256! Underlying bytes: [77, 255, 89, 97, 0, 0, 0, 0]
đź‘€ 1
w
yikes. yea, I expect that LMDB’s locking does not work on NFS.
p
Apologies for “grave-digging” very old threads but just wanted to chime in that we’re also experiencing weirdness when pointing pants’ local cache to a network mount.
We couldn’t get
PANTS_NAMED_CACHES_DIR
cached on EFS. (
PANTS_LOCAL_STORE_DIR
had a different set of issues so we gave up that thinking that that dir is not meant to be shared)