-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
TestFilePersistence and TestMultipleDirs fuse tests fail #2214
Comments
For TestFilePersistence, reading the file right after writing alleviates the problem most of the time. But, that could be completely unrelated or just chance. Maybe someone with more fuse experience like @whyrusleeping or @tv42 can enlighten.
|
Sounds like the Lookup doesn't find that file, regardless of whatever earlier success was reported for the file write. FUSE debug log might be useful to confirm that. Sounds like a bug in IPFS directory data structure management. |
The nodes aren't being closed correctly, therefore, the data is not always written to the datastore when unmounting. The solution involves using https://godoc.org/bazil.org/fuse/fs#HandleFlusher and https://godoc.org/bazil.org/fuse/fs#HandleReleaser instead of Forget, https://github.com/ipfs/go-ipfs/blob/master/fuse/ipns/ipns_unix.go#L216, and Close, , https://github.com/ipfs/go-ipfs/blob/master/fuse/ipns/ipns_unix.go#L204. Thanks @tv42 for the insight. I am out of town until next Friday and probably won't be able to put too much work into this until then. |
@thelinuxkid has something be done about this? |
This issue is no longer showing up. |
Closing following @thelinuxkid's comment above. |
Really closing now :-) |
Moving ipfs/ipfs#153.
@thelinuxkid said:
The text was updated successfully, but these errors were encountered: