| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Anish Mangal <anish@sugarlabs.org>
|
|
|
|
|
| |
Signed-off-by: Andrés Ambrois <andresambrois@gmail.com>
Signed-off-by: Anish Mangal <anish@sugarlabs.org>
|
|
|
|
|
| |
Signed-off-by: Andrés Ambrois <andresambrois@gmail.com>
Signed-off-by: Anish Mangal <anish@sugarlabs.org>
|
|
|
|
|
| |
Signed-off-by: Andrés Ambrois <andresambrois@gmail.com>
Signed-off-by: Anish Mangal <anish@sugarlabs.org>
|
|
|
|
|
| |
Signed-off-by: Andrés Ambrois <andresambrois@gmail.com>
Signed-off-by: Anish Mangal <anish@sugarlabs.org>
|
|
|
|
|
|
|
| |
This will ensure it gets set when upgrading from older datastores.
Signed-off-by: Andrés Ambrois <andresambrois@gmail.com>
Signed-off-by: Anish Mangal <anish@sugarlabs.org>
|
|
|
|
|
| |
Signed-off-by: Andrés Ambrois <andresambrois@gmail.com>
Signed-off-by: Anish Mangal <anish@sugarlabs.org>
|
|
|
|
|
|
|
| |
Don't fail indexing if filesize is missing.
Signed-off-by: Andrés Ambrois <andresambrois@gmail.com>
Signed-off-by: Anish Mangal <anish@sugarlabs.org>
|
|
|
|
| |
Signed-off-by: Anish Mangal <anish@sugarlabs.org>
|
|
|
|
|
|
|
|
|
|
|
| |
This drastically reduces the chance of data loss in the journal on
crash or power failure.
The previous timeout was set to 60 seconds. It is not clear how much
time flushing the journal takes on an XO-1. Until we measure, 5 and 60
are equally unjustified random numbers.
Signed-off-by: Anish Mangal <anish@sugarlabs.org>
|
|
|
|
| |
Signed-off-by: Anish Mangal <anish@sugarlabs.org>
|
| |
|
|
|
|
|
|
|
|
|
| |
Upgrading directly from 0.82 to 0.86/0.88 didn't migrate the data store
contents because LayoutManager._is_empty() doesn't check for 0.82 data store
entries.
This patch fixes _is_empty() to recognize 0.82 data store contents.
Signed-off-by: Sascha Silbe <sascha-pgp@silbe.org>
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Currently we force an index rescan on migration, but not a rebuild.
Any entry that's already in the index will _not_ be updated.
This patch fixes the migration logic to do a full index rebuild,
thus actually migrating the index.
Signed-off-by: Sascha Silbe <sascha-pgp@silbe.org>
|
| |
|
| |
|