[Sugar-devel] [PATCH 7/7] datastore: handle low-disk and ENOSPC conditions gracefully

2012-09-21 Thread Martin Langhoff
With this commit, the datastore comes up even on ENOSPC and very tight disk conditions, and allows entry deletions even when at ENOSPC. - Be conservative - ds or index flags are dirty -> rebuild - less than 5MB available -> rebuild - migrated or upgraded -> rebuild - Only skip an index

[Sugar-devel] [PATCH 7/7] datastore: handle low-disk and ENOSPC conditions gracefully

2012-09-20 Thread Martin Langhoff
With this commit, the datastore comes up even on ENOSPC and very tight disk conditions, and allows entry deletions even when at ENOSPC. - Be conservative - ds or index flags are dirty -> rebuild - less than 5MB available -> rebuild - migrated or upgraded -> rebuild - Only skip an index