Per-account locking

Sebastian Spaeth Sebastian at SSpaeth.de
Tue Sep 20 18:04:26 BST 2011


On Mon, 19 Sep 2011 23:05:08 +0300, Daniel Shahaf wrote:
> Have you considered stamping a format number somewhere in metadatadir,
> and have offlineimap check that number before writing anything into that
> dir?
> 
> At least that would prevent similar problems going forward (since old
> versions would see a too-new format number and abort).

Yeah, that would certainly be a solution, althought the really old
versions (that are stable in distros now) wouldn't know or care or check
something like this. But I like the approach and will think if we
shouldn't adopt it. A "minimum-version-required" field, so to
say. (actually the sqlite cache database has a db-format version field).

Sebastian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20110920/db05d236/attachment-0001.sig>


More information about the OfflineIMAP-project mailing list