Menu

Trac Commit Log


Commit Date  
[r6124] by cboos

While testing Trac for r6123, I didn't notice any difference with or without r4886, therefore I'm reverting that change.
It seems that the reason for #4465 was different anyway, but I can't reproduce that timeout problem anymore.

2007-11-06 10:08:29 Tree
[r6123] by cboos

Fix a race condition in the !RepositoryManager constructor.

The problem can be easily reproduced when starting a dozen simultaneous queries on a server which has just been initialized. This triggers the following errors related to the svn_fs vc backend:
{{{
'Pool' object has no attribute '_pool'
}}}
or:
{{{
AttributeError: 'SubversionConnector' object has no attribute 'has_subversion'
}}}

Actually, ''all'' the component constructors are subject to multi-threading issues, this one was just the one that presented some symptoms. There should actually be some kind of locking at the level of `maybe_init` in `trac.core`.

I'll try that as a second step, as for now that local fix in the `RepositoryManager.__init__` constructor is enough to get rid of the reported problems.

2007-11-06 07:49:38 Tree
[r6122] by cboos

Follow-up to r6120: the fix was not complete, as we need to activate the "preview" mode when creating a new error ticket with the semi-automatic error reporting. Related to #5025.

2007-11-02 16:58:18 Tree
[r6121] by cboos

Log a warning instead of an error when a dependency is not found.

Closes #5595.

2007-10-31 13:57:39 Tree
[r6120] by cboos

Fix the /newticket request handler so that simple named parameters (like ''version'', ''component'' etc.) can be added as query parameters. Fixes the #5025 regression.

2007-10-31 10:48:08 Tree
[r6119] by cboos

Enhance the ![[TracGuideToc]] macro so that it will support "scoped" guides, in support for #4716.

2007-10-31 10:38:49 Tree
[r6118] by cboos

context-refactoring: fix typo in wiki web_ui (wiki edit with templates)

2007-10-30 16:59:07 Tree
[r6117] by cboos

context-refactoring: rename trac.context to trac.resource (as there's no Context class anymore there, only resource related stuff)

2007-10-30 09:46:10 Tree
[r6116] by cboos

context-refactoring: move new Context class in trac.mimeview module.

2007-10-30 09:38:16 Tree
[r6115] by cboos

Fix typo in Genshi template. Closes #6269.

2007-10-30 08:51:01 Tree
Older >