This repository was archived by the owner on Feb 12, 2024. It is now read-only.
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
Error: ENOENT: no such file or directory #351
Closed
Description
As of 0.14.1 I'm seeing this fairly constantly:
Error: ENOENT: no such file or directory, open '/tmp/orbit-tests/blocks/1220a892/1220a89239577c1a6763066dd2ff7ed57078efcb951ad5f94fc7262ea673d3e938da.data'
This happens when I do ipfs.object.put
and then try to get it immediately after. Adding a timeout before .get seems to get rid of the problem, so my suspicion is that we're returning from put before the data has been written to "disk" (disk being wherever we write the data blocks).