[bt-devel] [ bibletime-Bugs-2899173 ] Caches have no automatic invalidation.
SourceForge.net
noreply at sourceforge.net
Tue Nov 17 08:27:01 MST 2009
Bugs item #2899173, was opened at 2009-11-17 15:27
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100954&aid=2899173&group_id=954
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: General
Group: new bug
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Caches have no automatic invalidation.
Initial Comment:
As discussed in IRC: http://gist.github.com/236971
situations can arise that cause a cache entry to become invalid.
An invalid cache results in all entries not cached previously becoming inaccessible via the user interface, with only one exception, searches.
At present, based on my discoveries, there is no automatic way for the cache to become invalid, not even a place in the user interface to do it.
This means that once a given work is viewed, and the cache is generated, the cache is never regenerated, so if the cache is generated wrongly, or the source material changes, the user interface will be bound to the legacy version of it as cached.
For the seemingly low amount of benefit the cache gives, the negatives of the cache not being updated ( for me at least ) are overwhelming.
A good simple check would be mtime based checks so the cache is updated when the sword module is, or possibly, on startup when bibletime asks sword for the list of installed modules, it should implicitly flush metadata relating to entries that are no longer present. ( this would have solved the cache problem when I removed everything and started from scratch, however, instead I find that removing things leave all their indices intact :S )
All bugs aside, thanks for the great project. A good short term workaround for anyone experiencing the same symptoms as I is to flush ~/.bibletime/cache down the drain.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100954&aid=2899173&group_id=954
More information about the bt-devel
mailing list