Changes

Jump to navigation Jump to search
Line 131: Line 131:  
       value.baseB
 
       value.baseB
 
       value.DB
 
       value.DB
 +
index_updated
 +
version
    
'''1a''': directory holding entries, it's only function is to avoid having too many directories in a single directory, as this is considered specially harmful on jffs2.
 
'''1a''': directory holding entries, it's only function is to avoid having too many directories in a single directory, as this is considered specially harmful on jffs2.
Line 151: Line 153:     
'''index''': directory containing all files that belong to the search database. Can be deleted and recreated from the rest of the DS if needed without incurring in data loss.
 
'''index''': directory containing all files that belong to the search database. Can be deleted and recreated from the rest of the DS if needed without incurring in data loss.
 +
 +
'''index_updated''': When this file is not present, is because the xapian index is being rebuilt because it cannot be opened. Queries should fall back to display all the files on disk until the index is rebuilt.
 +
 +
'''version''': file that contains the version of the file layout. Currently we are at 1. Is updated when an earlier version is migrated to a newer one.
    
== Source code ==
 
== Source code ==
    
http://dev.laptop.org/git?p=users/tomeu/datastore;a=summary
 
http://dev.laptop.org/git?p=users/tomeu/datastore;a=summary
647

edits

Navigation menu