GNOME Bugzilla – Bug 750113
Corrupted metadata cache not fixed/removed
Last modified: 2018-09-21 17:49:21 UTC
I found this issue by setting my ~/Downloads folder’s ordering preferences. As it failed to get saved and asked around on #gnome I was told to try gvfs-info ~/Downloads | grep nautilus. The output was empty as of stdout, but a warning was printed on the screen: (gvfs-info:19215): GVFS-WARNING **: can't init metadata tree /home/polesz/.local/share/gvfs-metadata/home: wrong size The file was indeed 0 bytes long; removing it made gvfs to recreate it with the correct headers, and thus the nautilus ordering preferences could be saved. I suspect a filled hard drive caused the corruption back few months ago.
Thanks for your bug report. Maybe we should to apply same logic as in commit f7f18bb (Bug 598561). Backup the tree file in meta_tree_open if meta_tree_init fails...
Created attachment 304642 [details] [review] metadata: Backup tree if meta_tree_init failed Alex, what do you think?
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gvfs/issues/255.