Christopher Lenz wrote: > Am 13.03.2007 um 19:55 schrieb Christian Boos: > >> Christian Boos wrote: >> >>> I recently fixed two serious issues we had with 0.10.3 (and trunk). >>> One is completely fixed (the freeze under load issue, #4465), the >>> other >>> is being finalized ... >>> >> This other change is now finalized as well, and there's no issue left >> for 0.10.4, so I'm asking everybody to help test the 0.10-stable >> branch, >> in order to be able to produce a rock-solid release. >> > > I've tried 0.10.4-dev on our internal install, and have encountered > problems with changesets that clearly exist not being shown. The > behavior is not consistent between requests, some worker processes > (this is mpm-prefork) seem to be seeing the changesets, while others > aren't. > > Is there anything about the changes to repository syncing that would > break down like that when Trac is used in a multi-process > environment? Would definitely be a blocker. >
What you're seeing will happen if there is at the same time at least one process running the 0.10.3 code and others are running the 0.10.4dev one. The 0.10.4dev processes can't cope with a repository cache more recent than what the 'youngest_rev' metadata in the system table tells, because they think that in this situation, a sync is in progress and they will show a repository snapshot at 'youngest_rev'. To fix this, you can stop the server, do a resync (or simply do "update system set value='' where name = 'youngest_rev'"), restart and all should be fine. The problem is that I tried to make the upgrade as transparent as possible, without requiring an environment upgrade, not even a resync. But this convenience introduces the risk of running into situations like yours, so it would probably help to make an environment version bump, in order to ensure that no pre 0.10.4 release will get used by mistake. -- Christian --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Development" 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/trac-dev?hl=en -~----------~----~----~----~------~----~------~--~---
