Issue Details (XML | Word | Printable)

Key: FOR-732
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Tim Williams
Reporter: Ross Gardler
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Forrest

Changing the locationmap after a resource not found error has no effect

Created: 16/Nov/05 06:58 AM   Updated: 14/Nov/06 04:37 AM
Return to search
Component/s: Locationmap
Affects Version/s: 0.8
Fix Version/s: 0.8

Time Tracking:
Not Specified

Issue Links:
Dependants
 


 Description  « Hide
If a resource is requested and is not found, then a change is made to the locationmap to ensure the resource is found, Forrest requires a reboot for the change to be noted.

This may be as a result of in-progress work on FOR-711 or may be unrelated.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Tim Williams added a comment - 16/Nov/05 11:42 AM
I'm pretty sure it is a result of caching. We're caching the null results too right now, this is important because of having an exists selector. I think null's shouldn't be cached at the locationmap module level and should probably be done at a lower level so that it can be done more granularly.
--tim

Tim Williams added a comment - 06/Dec/05 02:58 PM
When it's detected that the locationmap is not valid, the cache needs to be flushed or the reload of the locationmap will have no effect. This is easy enough for the core locationmap but as a result of having caching at the module level, there's no way to flush the cache based on a mounted locationmap becoming invalid.

*These are more or less notes so that I have something to make me remember where I was at with this.
--tim

Tim Williams added a comment - 14/Nov/06 04:37 AM
I believe the simple TTL fix r474646 will suffice for now. Unfortunately, the commit message is linked to the parent issue and not this one.