I am not sure about the rest of the system.. The keys to it's manifestation are that different files inside the cache are generated at different times and the automaticCleaningFactor + lifeTime options are used on the entire directory tree containing the admin-generated files. Whenever adding a new file to the cache others might get deleted is "too old". And if they are not regenerated then you have an inconsistent cache state :(
In fact if we have such a situation elsewhere the same bug would potentially manifest itself. sfFileCache is used in many places I think. So finally yes, I would guess this bug might be connected to other cache related problems, but I think we should wait for Fabien or someone else involved deeper with the project to give us their opinions What do you cache in your app? I am not sure if it Ian P. Christian wrote: > Haris Zukanovic' wrote: >> Hi Ian, Fabien.. >> >> I have found the bug regarding cache inconsistency using admin >> generator. >> Let's think together about the right solution as I really do not >> think I know enough about the internals of symfony. >> As I see it, it might just be a misconfiguration of cache when >> instantiated for admin-generator or an unforeseen sideeffect of >> automaticCleaningFactor + lifeTime cache configuration options.. >> > > Its great that you've found this - but.... > Does this problem exist elsewhere in the cache system? I ask because > I've seen my cache corrupted many times, and I don't use the generator :) > -- Haris Zukanovic CEO Software development and research International Business Development, SOFTING ltd. office +387 36 318 339 GSM +387 61 839 069 http://www.eu-softing.com CONFIDENTIALITY NOTICE This e-mail and any attached files, sent by a company e - mail system, contains company confidential and/or privileged information and is intended only for the person or entity to which it is addressed and only for the purposes therein set forth. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure, distribution or other use of, or taking of any action in reliance upon, the material in this e-mail by persons or entities other than the intended recipient is strictly forbidden. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
